Starting to add a lua component.
This commit is contained in:
parent
4aefbc031e
commit
ecb5101077
|
|
@ -1 +1 @@
|
||||||
Subproject commit 60b58036a98698ddf63bb2b2baa384d780c1b3d3
|
Subproject commit bc3f9b4726b7a5cb9522bc959f6086095d5f4301
|
||||||
2
TODO.md
2
TODO.md
|
|
@ -24,6 +24,8 @@
|
||||||
|
|
||||||
### In progress
|
### In progress
|
||||||
|
|
||||||
|
- [ ] Create lua component
|
||||||
|
|
||||||
### Done
|
### Done
|
||||||
|
|
||||||
- [x] Make camera center on map
|
- [x] Make camera center on map
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@ SOURCES := \
|
||||||
components/animation_system.c \
|
components/animation_system.c \
|
||||||
components/player_system.c \
|
components/player_system.c \
|
||||||
components/lever_component.c \
|
components/lever_component.c \
|
||||||
components/door_component.c
|
components/door_component.c \
|
||||||
|
components/lua_component.c
|
||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
SRC_CC = gcc
|
SRC_CC = gcc
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ COMPONENT(ANIMATION_SYSTEM, animation_system, NO_DRAW)
|
||||||
COMPONENT(PLAYER_SYSTEM, player_system, NO_DRAW)
|
COMPONENT(PLAYER_SYSTEM, player_system, NO_DRAW)
|
||||||
COMPONENT(LEVER_COMPONENT, lever_component, NO_DRAW)
|
COMPONENT(LEVER_COMPONENT, lever_component, NO_DRAW)
|
||||||
COMPONENT(DOOR_COMPONENT, door_component, NO_DRAW)
|
COMPONENT(DOOR_COMPONENT, door_component, NO_DRAW)
|
||||||
|
COMPONENT(LUA_COMPONENT, lua_component, NO_DRAW)
|
||||||
// Add new components definition here
|
// Add new components definition here
|
||||||
|
|
||||||
#undef COMPONENT
|
#undef COMPONENT
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
#include "player_system.h"
|
#include "player_system.h"
|
||||||
#include "lever_component.h"
|
#include "lever_component.h"
|
||||||
#include "door_component.h"
|
#include "door_component.h"
|
||||||
|
#include "lua_component.h"
|
||||||
// Add new components header file here
|
// Add new components header file here
|
||||||
|
|
||||||
#endif // COMPONENTS_H
|
#endif // COMPONENTS_H
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef LUA_COMPONENT_H
|
||||||
|
#define LUA_COMPONENT_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif // LUA_COMPONENT_H
|
||||||
Loading…
Reference in New Issue