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
15 extern bool exit;
16
19 void update();
20
27 void init(int width, int height, int scale = 1);
28
31 void print_info();
32
33} // namespace asw::core
34
35#endif // ASW_CORE_H
bool exit
When set to true, exits the main loop.
Definition core.cpp:13
void print_info()
Prints information about the core module.
Definition core.cpp:216
void init(int width, int height, int scale=1)
Initializes the core module.
Definition core.cpp:180
void update()
Updates core module functionality.
Definition core.cpp:15