WIP converting to separate states. Don't think I want this.

This commit is contained in:
2025-01-03 20:21:36 -05:00
parent 717f29fcb3
commit 4be582a7a4
7 changed files with 56 additions and 48 deletions

View File

@@ -33,9 +33,14 @@
"value":"testcharacter"
},
{
"name":"state",
"name":"logicstate",
"type":"int",
"value":6
"value":16
},
{
"name":"visualstate",
"type":"int",
"value":2
}],
"rotation":0,
"type":"actor",

View File

@@ -157,7 +157,7 @@ ErrorContext *test_tilemap_load_layer_objects(void)
);
if ( (testactor->basechar != SDL_GetPointerProperty(REGISTRY_CHARACTER, "testcharacter", NULL)) ||
(testactor->layer != 1) ||
(testactor->state != 6) ||
(testactor->logicstate != 6) ||
(testactor->visible != true) ||
(testactor->x != 16) ||
(testactor->y != 16) ) {