ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
core.h
Go to the documentation of this file.
1
8
9#ifndef ASW_CORE_H
10#define ASW_CORE_H
11
12namespace asw::core {
13
16void update();
17
24void init(int width, int height, int scale = 1);
25
28void print_info();
29
33void exit();
34
37bool is_exiting();
38
41void cleanup();
42
43} // namespace asw::core
44
45#endif // ASW_CORE_H
void exit()
Exit the application. Sets exiting flag to true, which will cause the main loop to exit on the next u...
Definition core.cpp:195
void print_info()
Prints information about the core module.
Definition core.cpp:180
void init(int width, int height, int scale=1)
Initializes the core module.
Definition core.cpp:150
void cleanup()
Cleanup resources used by the core module. Should be called on application exit.
Definition core.cpp:200
void update()
Updates core module functionality.
Definition core.cpp:20
bool is_exiting()
Return exiting status.
Definition core.cpp:217