Did a full code coverage review and improved many of the tests and a bunch of code. I'll do one more final walk through all the code before getting back to work on the new combat system.

This commit is contained in:
Zed A. Shaw 2025-03-17 15:23:47 -04:00
parent 113a4a3b3e
commit d3158291f7
29 changed files with 119 additions and 1218 deletions

View file

@ -68,22 +68,17 @@ sfml_system = dependency('sfml_system')
sfml_window = dependency('sfml_window',
default_options: ['default_library=shared'])
ftxui_screen = dependency('ftxui-screen')
ftxui_dom = dependency('ftxui-dom')
ftxui_component = dependency('ftxui-component')
dependencies += [
fmt, json, freetype2,
flac, ogg, vorbis, vorbisfile, vorbisenc,
sfml_audio, sfml_graphics,
sfml_network, sfml_system,
sfml_window, ftxui_screen, ftxui_dom, ftxui_component
sfml_window
]
sources = [
'ai.cpp',
'ai_debug.cpp',
'ansi_parser.cpp',
'autowalker.cpp',
'boss_fight_ui.cpp',
'camera.cpp',
@ -106,11 +101,9 @@ sources = [
'matrix.cpp',
'matrix.cpp',
'overlay_ui.cpp',
'panel.cpp',
'pathing.cpp',
'rand.cpp',
'raycaster.cpp',
'render.cpp',
'rituals.cpp',
'save.cpp',
'shiterator.hpp',
@ -125,15 +118,14 @@ sources = [
]
executable('runtests', sources + [
'tests/ansi_parser.cpp',
'tests/ai.cpp',
'tests/base.cpp',
'tests/rituals.cpp',
'tests/components.cpp',
'tests/config.cpp',
'tests/dbc.cpp',
'tests/dinkyecs.cpp',
'tests/easings.cpp',
'tests/fsm.cpp',
'tests/ai.cpp',
'tests/guecs.cpp',
'tests/inventory.cpp',
'tests/lel.cpp',
@ -142,6 +134,7 @@ executable('runtests', sources + [
'tests/map.cpp',
'tests/matrix.cpp',
'tests/pathing.cpp',
'tests/rituals.cpp',
'tests/sound.cpp',
'tests/spatialmap.cpp',
'tests/textures.cpp',