Updated Toy to the beta tag
This commit is contained in:
+1
-1
Submodule Toy updated: 750ebd1f99...b0387edeb0
@@ -32,4 +32,3 @@ fn onFrame() {
|
|||||||
initScreen(1280, 720, "Oh no, Zombies!");
|
initScreen(1280, 720, "Oh no, Zombies!");
|
||||||
initLoop(onReady, null, null);
|
initLoop(onReady, null, null);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -218,7 +218,7 @@ int main() {
|
|||||||
//process the actors (if possible)
|
//process the actors (if possible)
|
||||||
processActors(&vm);
|
processActors(&vm);
|
||||||
|
|
||||||
//run the onStep function
|
//run the onFrame function
|
||||||
Toy_runVM(&vm); //no check needed, empty VMs are skipped
|
Toy_runVM(&vm); //no check needed, empty VMs are skipped
|
||||||
|
|
||||||
//drawing
|
//drawing
|
||||||
@@ -229,7 +229,7 @@ int main() {
|
|||||||
EndDrawing();
|
EndDrawing();
|
||||||
}
|
}
|
||||||
|
|
||||||
//clear onStep
|
//clear after the final frame
|
||||||
if (onFrame != NULL) {
|
if (onFrame != NULL) {
|
||||||
Toy_resetVM(&vm, false, false);
|
Toy_resetVM(&vm, false, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user