Allow script arrays to hold any value type, add script engine tests, archive old rpg code
Remove the per-array type category so arrays can mix types like structs. Add 13 passing and 125 expected-failure duskscript test fixtures with a table-driven runner. Also includes the in-progress entity/physics and archive moves from the working tree. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
5c259e46e2
commit
f6b884bf7f
710 files changed
+6172
-27594
No files matched your search
@@ -13,6 +13,7 @@ dusktest(test_duskscript.c)
|
||||
# game's own dusk.dsk - this exercises the real compiler -> pack -> asset ->
|
||||
# runtime -> consolePrint pipeline rather than a shortcut around it.
|
||||
set(DUSKSCRIPT_TEST_ASSETS_DIR ${CMAKE_CURRENT_LIST_DIR}/assets)
|
||||
file(GLOB DUSKSCRIPT_TEST_FIXTURES CONFIGURE_DEPENDS ${DUSKSCRIPT_TEST_ASSETS_DIR}/*.ds)
|
||||
set(DUSKSCRIPT_TEST_DSK ${CMAKE_CURRENT_BINARY_DIR}/test.dsk)
|
||||
|
||||
add_custom_command(
|
||||
@@ -24,8 +25,7 @@ add_custom_command(
|
||||
WORKING_DIRECTORY ${DUSK_ROOT_DIR}
|
||||
DEPENDS
|
||||
duskscriptcc
|
||||
${DUSKSCRIPT_TEST_ASSETS_DIR}/fixture.ds
|
||||
${DUSKSCRIPT_TEST_ASSETS_DIR}/fixture_numbers.ds
|
||||
${DUSKSCRIPT_TEST_FIXTURES}
|
||||
COMMENT "Packing duskscript test fixtures"
|
||||
)
|
||||
add_custom_target(duskscript_test_fixture DEPENDS ${DUSKSCRIPT_TEST_DSK})
|
||||
|
||||
Reference in new issue
Block a user