Basic inventory system working and can pick up items but needs to be reflected in the UI next.
This commit is contained in:
parent
d7353a02df
commit
135d9a128b
14 changed files with 212 additions and 48 deletions
|
@ -11,8 +11,7 @@ sfml = dependency('sfml')
|
|||
freetype2 = dependency('freetype2')
|
||||
|
||||
dependencies = [
|
||||
catch2, fmt,
|
||||
ftxui_screen, ftxui_dom,
|
||||
fmt, ftxui_screen, ftxui_dom,
|
||||
ftxui_component, json,
|
||||
sfml, freetype2
|
||||
]
|
||||
|
@ -36,6 +35,7 @@ runtests = executable('runtests', [
|
|||
'systems.cpp',
|
||||
'gui.cpp',
|
||||
'worldbuilder.cpp',
|
||||
'inventory.cpp',
|
||||
'tests/tilemap.cpp',
|
||||
'tests/matrix.cpp',
|
||||
'tests/fsm.cpp',
|
||||
|
@ -54,8 +54,9 @@ runtests = executable('runtests', [
|
|||
'tests/lighting.cpp',
|
||||
'tests/gui.cpp',
|
||||
'tests/worldbuilder.cpp',
|
||||
'tests/inventory.cpp',
|
||||
],
|
||||
dependencies: dependencies)
|
||||
dependencies: dependencies + catch2)
|
||||
|
||||
roguish = executable('roguish', [
|
||||
'dbc.cpp',
|
||||
|
@ -77,6 +78,7 @@ roguish = executable('roguish', [
|
|||
'pathing.cpp',
|
||||
'lights.cpp',
|
||||
'worldbuilder.cpp',
|
||||
'inventory.cpp',
|
||||
],
|
||||
dependencies: dependencies)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue