Commit graph

107 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
3daa3c714f pass pointer to data structure to/from gamestates functions 2012-12-26 13:24:34 +01:00
Sebastian Krzyszkowiak
232cc6a204 initial support of run-time loading gamestates as dynamic libraries 2012-12-26 02:25:56 +01:00
Sebastian Krzyszkowiak
b36c5e8ed4 basic implementation of gamestates handling 2012-12-25 00:22:03 +01:00
Sebastian Krzyszkowiak
e29382b5dc Remove everything!
Engine should be now clean from gamestate dependences.
The next thing will be implementing dynamic gamestate loading.
2012-12-24 19:41:12 +01:00
Sebastian Krzyszkowiak
5baf800f34 Remove all gamestates except Menu and Loading.
Those two are a starting point for refactoring.
Others will be restored later.
2012-12-24 01:48:36 +01:00
Sebastian Krzyszkowiak
d98817ecbd globals are evul 2012-12-23 14:29:54 +01:00
Sebastian Krzyszkowiak
b0e3a09e6a disable letterbox by default and implement rotation of the screen if height > width (enabled by default) 2012-12-14 23:30:49 +01:00
Sebastian Krzyszkowiak
f17b7bf100 initial full HD support 2012-12-10 12:44:22 +01:00
Sebastian Krzyszkowiak
1d1c62432e return -1 instead of 0 on one of error conditions 2012-11-14 22:13:25 +01:00
Sebastian Krzyszkowiak
8ced946622 various Mac OS X fixes 2012-09-30 10:02:07 +02:00
Sebastian Krzyszkowiak
d62be104e8 general reorganization. again. levels have now another abstraction layer, yay! :D 2012-09-28 02:30:48 +02:00
Sebastian Krzyszkowiak
74bf535c07 show console when using speed cheats 2012-09-27 20:39:37 +02:00
Sebastian Krzyszkowiak
c5e37bf9d5 refactor Level gamestate and introduce level modules 2012-09-27 02:48:45 +02:00
Sebastian Krzyszkowiak
0eacf9a67d fix blinking on fading out occuring sometimes 2012-09-26 22:57:47 +02:00
Sebastian Krzyszkowiak
d0cadad936 implement timescaling cheats 2012-09-26 20:11:35 +02:00
Sebastian Krzyszkowiak
b2b95857cd take advantage from recent refactoring in frame skipping cheat 2012-09-26 20:00:24 +02:00
Sebastian Krzyszkowiak
1ba89400d6 revamp pause functionality 2012-09-26 20:00:11 +02:00
Sebastian Krzyszkowiak
d6b68a3740 refactor first level and timeline 2012-09-26 18:48:36 +02:00
Sebastian Krzyszkowiak
cae92f0272 fix FPS being limited sometimes to 60 2012-09-26 03:19:10 +02:00
Sebastian Krzyszkowiak
e6fa44514e refactored every gamestate for logic spearation except first level 2012-09-26 03:08:58 +02:00
Sebastian Krzyszkowiak
042d29aff4 fix setting level number in command line 2012-09-21 14:47:14 +02:00
Sebastian Krzyszkowiak
3d60bac467 provide .desktop file and application icon 2012-09-19 01:20:24 +02:00
Sebastian Krzyszkowiak
d6d6038daa update default config options 2012-09-03 02:36:08 +02:00
Sebastian Krzyszkowiak
4bbbd1958f indentation fixes 2012-09-03 02:25:32 +02:00
Sebastian Krzyszkowiak
8420a5ca92 use correct paths for data files when game is installed 2012-09-03 02:08:12 +02:00
Sebastian Krzyszkowiak
c7a3f3d007 add SIGSEGV signal handler... because ponies. 2012-08-04 21:58:31 +02:00
Sebastian Krzyszkowiak
0ec111c197 letterbox implementation is now complete and enabled by default 2012-08-04 20:58:24 +02:00
Sebastian Krzyszkowiak
219fc714db add code for letterboxing. this option is configurable and disabled by default for now, as it doesn't work correctly yet 2012-08-04 13:57:29 +02:00
Sebastian Krzyszkowiak
2078f2da29 fix displaying random first frame from memory left-overs right after game start on newer versions of Allegro 2012-08-04 12:56:24 +02:00
Sebastian Krzyszkowiak
471f33b720 add command line option for selecting initial gamestate 2012-07-08 23:08:23 +02:00
Sebastian Krzyszkowiak
7667473206 don't allow loading GAMESTATE_PAUSE as primary game state 2012-07-08 16:21:08 +02:00
Sebastian Krzyszkowiak
da13fcb41c add disclaimer screen about early development preview 2012-07-08 15:52:56 +02:00
Sebastian Krzyszkowiak
46c4ae08ed implement screenshot taking 2012-07-04 00:15:49 +02:00
Sebastian Krzyszkowiak
2a174898a8 glass performance tweaks 2012-07-03 23:44:03 +02:00
Sebastian Krzyszkowiak
d0f2ab8575 rotating muffins 2012-05-21 14:00:42 +02:00
Sebastian Krzyszkowiak
87dd644be6 moar documentation 2012-05-21 10:25:22 +02:00
Sebastian Krzyszkowiak
0a17a95383 implement progress bar on loading screen 2012-05-18 18:34:07 +02:00
Sebastian Krzyszkowiak
3f16d776cf some work on health meter 2012-05-17 00:18:19 +02:00
Sebastian Krzyszkowiak
5bba098c82 flush stdout on PrintConsole 2012-05-16 20:23:51 +02:00
Sebastian Krzyszkowiak
a74403bfbf Discord-rock animation in intro, Qt Creator project files, better vsync
handling
2012-05-16 18:18:52 +02:00
Sebastian Krzyszkowiak
05a96a36b7 enable multisampled display - it may help to draw prettier primitives in future 2012-05-10 20:02:22 +02:00
Sebastian Krzyszkowiak
389c4c27aa add "power meter" 2012-05-09 10:58:45 +02:00
Sebastian Krzyszkowiak
27ab9eaad8 fix compilation 2012-05-07 23:52:16 +02:00
Sebastian Krzyszkowiak
bfc3ee61e7 add new Derpy run cycle by Yudhaikeledai 2012-05-07 22:44:39 +02:00
Sebastian Krzyszkowiak
66da4d18e9 add posibility to completely disable fps limiting, for testing purposes 2012-05-04 03:03:10 +02:00
Sebastian Krzyszkowiak
bd37d1dbcd add vsync and opengl config options 2012-05-04 02:45:53 +02:00
Sebastian Krzyszkowiak
9d633fca0d add config option, just for Patan ;3 2012-05-04 02:38:29 +02:00
Sebastian Krzyszkowiak
d4cee47073 default to display refresh rate if there's no fps limit set 2012-05-04 02:15:51 +02:00
Sebastian Krzyszkowiak
78475c456d some other performance tweaks 2012-05-04 02:13:46 +02:00
Sebastian Krzyszkowiak
a4756eaeb0 implement fps counter 2012-05-04 00:26:24 +02:00