Commit graph

14 commits

Author SHA1 Message Date
a819fe0b81 Add OGK_DISPLAY_POSITION_DEFAULT. 2012-08-26 16:21:16 +02:00
217a493a8d .gitignore: Add extra.mk. 2012-08-26 16:04:40 +02:00
0460fc7d5f Rename -[handleNextEvent] -> -[handleEvents]. 2012-08-26 15:42:00 +02:00
b88e005477 Reexport allegro_main on OS X. 2012-08-26 14:34:16 +02:00
0ba7bef243 Add ObjGameKit.h. 2012-08-26 14:25:51 +02:00
df4199e336 Add .gitignore. 2012-08-26 14:22:01 +02:00
9d65cc690e Add a proper build system. 2012-08-26 14:21:57 +02:00
167158b541 Remove ogk_event_type_t, which was unused anyway. 2012-08-26 14:17:53 +02:00
f32ef7ee28 Only call al_*_destroy if Allegro is initialized.
Otherwise, it would crash if al_uinstall_system() has already been
called. Handling it this way eliminates the need to dealloc all objects
before calling al_uninstall_system(), which meant that it was the users
repsonsibility to call al_uninstall_system() after the user made sure
all objects are deallocated. Now the user does not get to see any
al_*() function.
2012-08-26 14:17:53 +02:00
c2baff8cd6 Use flags for -[OGKDisplay init...]. 2012-08-26 12:09:26 +02:00
b72b6c8ac7 Pass the display on events. 2012-08-20 03:18:05 +02:00
7e755a78c9 New OGKDisplay methods. 2012-08-20 01:08:42 +02:00
96c5a44ae0 Add OGKBitmap. 2012-08-20 00:49:57 +02:00
7953872267 Initial import. 2012-08-19 23:53:47 +02:00