23 #ifndef __ADONTHELL_H__ 24 #define __ADONTHELL_H__ 26 #include "win_mapview.h" 67 void main (
win_base *wnd = NULL,
const string name =
"");
138 return control_active_;
195 view.mapview::draw (x, y, da_opt, target);
203 view.mapview::set_schedule (s, args);
219 bool control_active_;
241 #endif // __ADONTHELL_H__
void main(win_base *wnd=NULL, const string name="")
Starts the main loop.
Class to write data from a Gzip compressed file.
void fade_in()
Fades in from a black screen.
Class to read data from a Gzip compressed file.
void fade_out()
Fades the screen to black.
void draw(s_int16 x, s_int16 y, drawing_area *da_opt=NULL, surface *target=NULL)
Class where drawables can actually be drawn to.
void main_quit()
Quit the main loop.
Allows you to display a landmap on a specified area of a surface.
adonthell()
Standard constructor.
Implements "drawing zones" for drawing operations.
s_int8 get_state(igzstream &file)
Restore the engine's state.
void set_control_active(bool c)
Set whether the control script should be executed or not.
#define s_int16
16 bits long signed integer
Map where the world takes place.
void main_loop()
The actual main loop.
void set_update_map(bool u)
void set_mapview_schedule(string s, PyObject *args=NULL)
s_int8 put_state(ogzstream &file)
Save the engine's state.
Common properties for each win_base's object.
#define s_int8
8 bits long signed integer
This is the heart of the Adonthell engine.
bool control_active()
Returns whether the control script is active or not.