More assertions.
This commit is contained in:
1 parent
4258de29b5
commit
f902345e6b
18 files changed
+81
-50
No files matched your search
@@ -17,6 +17,7 @@ bool onEventTriggered(void *user, event_t event, void *args[], int32_t argc) {
|
||||
}
|
||||
|
||||
bool gameInit(game_t *game) {
|
||||
ASSERT_NOT_NULL(game);
|
||||
|
||||
eventManagerInit(&eventManager);
|
||||
eventManagerSubscribe(&eventManager, EVENT_TEST, NULL, onEventTriggered);
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "../../libs.h"
|
||||
#include "../../assert/assert.h"
|
||||
#include "../../engine/engine.h"
|
||||
#include "../../engine/event.h"
|
||||
#include "../../display/primitive/primitive.h"
|
||||
|
||||
Reference in new issue
Block a user