Mercurial > molko
comparison examples/CMakeLists.txt @ 192:4ad7420ab678
rpg: add minimalist battle system, continue #2477 @60h
- Implement battle as states,
- Add basic support for spells (no calculation yet),
- Add won/lost state,
- Add animations and messages,
- Add order.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 07 Nov 2020 16:00:39 +0100 |
parents | 604fad63bd9c |
children | d3ef968745f5 |
comparison
equal
deleted
inserted
replaced
191:633a25df450e | 192:4ad7420ab678 |
---|---|
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 # | 17 # |
18 | 18 |
19 project(examples) | 19 project(examples) |
20 | |
21 molko_define_executable( | |
22 TARGET example-battle | |
23 SOURCES | |
24 ${examples_SOURCE_DIR}/example-battle.c | |
25 ${examples_SOURCE_DIR}/battle/spell-fire.c | |
26 ${examples_SOURCE_DIR}/battle/spell-fire.h | |
27 ${examples_SOURCE_DIR}/battle/registry.c | |
28 ${examples_SOURCE_DIR}/battle/registry.h | |
29 FOLDER examples | |
30 ASSETS | |
31 ${examples_SOURCE_DIR}/assets/images/haunted-wood.png | |
32 ${examples_SOURCE_DIR}/assets/images/black-cat.png | |
33 ${examples_SOURCE_DIR}/assets/sprites/cursor.png | |
34 ${examples_SOURCE_DIR}/assets/sprites/explosion.png | |
35 ${examples_SOURCE_DIR}/assets/sounds/fire.wav | |
36 LIBRARIES librpg libadventure | |
37 ) | |
20 | 38 |
21 molko_define_executable( | 39 molko_define_executable( |
22 TARGET example-action | 40 TARGET example-action |
23 SOURCES example-action.c | 41 SOURCES example-action.c |
24 FOLDER examples | 42 FOLDER examples |