comparison librpg/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 ce789473567e
children 852d0b7817ce
comparison
equal deleted inserted replaced
191:633a25df450e 192:4ad7420ab678
18 18
19 project(librpg) 19 project(librpg)
20 20
21 set( 21 set(
22 SOURCES 22 SOURCES
23 ${librpg_SOURCE_DIR}/rpg/battle.c
24 ${librpg_SOURCE_DIR}/rpg/battle.h
25 ${librpg_SOURCE_DIR}/rpg/battle-indicator.c
26 ${librpg_SOURCE_DIR}/rpg/battle-indicator.h
27 ${librpg_SOURCE_DIR}/rpg/battle-bar.c
28 ${librpg_SOURCE_DIR}/rpg/battle-bar.h
29 ${librpg_SOURCE_DIR}/rpg/battle-state.c
30 ${librpg_SOURCE_DIR}/rpg/battle-state.h
31 ${librpg_SOURCE_DIR}/rpg/battle-state-ai.c
32 ${librpg_SOURCE_DIR}/rpg/battle-state-ai.h
33 ${librpg_SOURCE_DIR}/rpg/battle-state-check.c
34 ${librpg_SOURCE_DIR}/rpg/battle-state-check.h
35 ${librpg_SOURCE_DIR}/rpg/battle-state-closing.c
36 ${librpg_SOURCE_DIR}/rpg/battle-state-closing.h
37 ${librpg_SOURCE_DIR}/rpg/battle-state-menu.c
38 ${librpg_SOURCE_DIR}/rpg/battle-state-menu.h
39 ${librpg_SOURCE_DIR}/rpg/battle-state-lost.c
40 ${librpg_SOURCE_DIR}/rpg/battle-state-lost.h
41 ${librpg_SOURCE_DIR}/rpg/battle-state-opening.c
42 ${librpg_SOURCE_DIR}/rpg/battle-state-opening.h
43 ${librpg_SOURCE_DIR}/rpg/battle-state-selection.c
44 ${librpg_SOURCE_DIR}/rpg/battle-state-selection.h
45 ${librpg_SOURCE_DIR}/rpg/battle-state-sub.c
46 ${librpg_SOURCE_DIR}/rpg/battle-state-sub.h
47 ${librpg_SOURCE_DIR}/rpg/battle-state-victory.c
48 ${librpg_SOURCE_DIR}/rpg/battle-state-victory.h
49 ${librpg_SOURCE_DIR}/rpg/character.c
50 ${librpg_SOURCE_DIR}/rpg/character.h
23 ${librpg_SOURCE_DIR}/rpg/inventory.c 51 ${librpg_SOURCE_DIR}/rpg/inventory.c
24 ${librpg_SOURCE_DIR}/rpg/inventory.h 52 ${librpg_SOURCE_DIR}/rpg/inventory.h
25 ${librpg_SOURCE_DIR}/rpg/item.c 53 ${librpg_SOURCE_DIR}/rpg/item.c
26 ${librpg_SOURCE_DIR}/rpg/item.h 54 ${librpg_SOURCE_DIR}/rpg/item.h
27 ${librpg_SOURCE_DIR}/rpg/map.c 55 ${librpg_SOURCE_DIR}/rpg/map.c
30 ${librpg_SOURCE_DIR}/rpg/map_state.h 58 ${librpg_SOURCE_DIR}/rpg/map_state.h
31 ${librpg_SOURCE_DIR}/rpg/message.c 59 ${librpg_SOURCE_DIR}/rpg/message.c
32 ${librpg_SOURCE_DIR}/rpg/message.h 60 ${librpg_SOURCE_DIR}/rpg/message.h
33 ${librpg_SOURCE_DIR}/rpg/rpg.c 61 ${librpg_SOURCE_DIR}/rpg/rpg.c
34 ${librpg_SOURCE_DIR}/rpg/rpg.h 62 ${librpg_SOURCE_DIR}/rpg/rpg.h
63 ${librpg_SOURCE_DIR}/rpg/selection.h
64 ${librpg_SOURCE_DIR}/rpg/spell.c
65 ${librpg_SOURCE_DIR}/rpg/spell.h
35 ${librpg_SOURCE_DIR}/rpg/walksprite.c 66 ${librpg_SOURCE_DIR}/rpg/walksprite.c
36 ${librpg_SOURCE_DIR}/rpg/walksprite.h 67 ${librpg_SOURCE_DIR}/rpg/walksprite.h
37 ) 68 )
38 69
39 molko_define_library( 70 molko_define_library(