Commit graph

386 commits

Author SHA1 Message Date
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
b0b26461be Fix vaporizing Owlicious 2012-12-15 02:06:43 +01:00
Sebastian Krzyszkowiak
aba6cc3a0f Aspect ratio tweaks for About screen 2012-12-15 01:58:48 +01:00
Sebastian Krzyszkowiak
6a8d7d0d8a Aspect ratio teaks in levels 2012-12-15 01:45:14 +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
f2f66ff1e3 Aspect ratio fixes for Map 2012-12-14 23:10:09 +01:00
Sebastian Krzyszkowiak
0dbaf9c679 Updated a bit graphics and sprite positions in Intro 2012-12-14 21:01:59 +01:00
Sebastian Krzyszkowiak
6ddf347f8f aspect ratio tweaks 2012-12-11 02:04:31 +01:00
Sebastian Krzyszkowiak
4792af13ec fix segfault on resuming from letter screen 2012-12-10 13:09:33 +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
194a81fa55 correctly define functions that take no arguments 2012-11-13 16:49:18 +01:00
Sebastian Krzyszkowiak
32207926f3 fix dangerous use of pointer as value keeper in Obst_MoveUpDown 2012-10-02 14:03:10 +02:00
Sebastian Krzyszkowiak
8ced946622 various Mac OS X fixes 2012-09-30 10:02:07 +02:00
Sebastian Krzyszkowiak
bedba9deb5 cosmetics and docs 2012-09-29 03:44:36 +02:00
Sebastian Krzyszkowiak
986378ec53 add start event to timeline manager 2012-09-29 02:34:42 +02:00
Sebastian Krzyszkowiak
85ae970597 moonwalk is now timeline based 2012-09-29 01:58:34 +02:00
Sebastian Krzyszkowiak
c863dfe58c load proper resources for each level, and add dummy resources for each level :D 2012-09-28 20:05:13 +02:00
Sebastian Krzyszkowiak
5083033a4b more reorganization 2012-09-28 16:43:13 +02:00
Sebastian Krzyszkowiak
1f3f99936e split each level to separate file 2012-09-28 03:53:43 +02:00
Sebastian Krzyszkowiak
8c24ebd982 implement progress bar on fulscreen toggling 2012-09-28 03:11:45 +02:00
Sebastian Krzyszkowiak
e67ffb821c fix double fade out on failing level 2012-09-28 02:57:43 +02:00
Sebastian Krzyszkowiak
79ac41a085 fix restarting level background music on toggling fullscreen mode 2012-09-28 02:50:43 +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
cd3fbbccf0 more level modularity 2012-09-27 15:06:33 +02:00
Sebastian Krzyszkowiak
8fa37d619c cosmetics, TODOs and FIXMEs, docs 2012-09-27 02:59:56 +02:00
Sebastian Krzyszkowiak
c5e37bf9d5 refactor Level gamestate and introduce level modules 2012-09-27 02:48:45 +02:00
Sebastian Krzyszkowiak
2a80a3382f fix Derpy being one pixel too high in pause screen :D 2012-09-26 23:38:54 +02:00
Sebastian Krzyszkowiak
03ba62b34e make use from latest pausing functionality in TM to pause letter from Twilight 2012-09-26 23:34:27 +02:00
Sebastian Krzyszkowiak
533d53e535 fixup for last commit (pause, resume and draw events were always sent as draw) 2012-09-26 23:34:00 +02:00
Sebastian Krzyszkowiak
4ec5686aac fix pausing timers in timeline manager 2012-09-26 23:28:16 +02:00
Sebastian Krzyszkowiak
0eacf9a67d fix blinking on fading out occuring sometimes 2012-09-26 22:57:47 +02:00
Sebastian Krzyszkowiak
1caeb03ab4 fix infinite loop in about screen 2012-09-26 21:16:20 +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
e99f1e5936 timeline: call destroy callback *after* item has been removed from main queue 2012-09-26 19:49:27 +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
a6a02ba0c2 implement spritesheet successors 2012-09-21 14:47:34 +02:00
Sebastian Krzyszkowiak
042d29aff4 fix setting level number in command line 2012-09-21 14:47:14 +02:00
Sebastian Krzyszkowiak
ca94680674 implement input data convention for gamestates 2012-09-21 13:55:21 +02:00
Sebastian Krzyszkowiak
3b75879a1d fix cmake warnings 2012-09-20 02:03:56 +02:00
Sebastian Krzyszkowiak
2a2f22750c proper dependency handling support, for Windows and GNU/Linux for now 2012-09-20 01:46:29 +02:00
Sebastian Krzyszkowiak
ee023098d1 fix including application icon into windows executable 2012-09-19 01:37:00 +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
8d99205e50 fixes for build system to work correctly on MinGW 2012-08-20 02:35:37 +02:00
Sebastian Krzyszkowiak
2d898363ef switch to cmake 2012-08-19 03:04:55 +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
533410baee This is Super Derpy: Muffin Attack 0.1a 2012-07-13 14:16:25 +02:00
Sebastian Krzyszkowiak
3d9fb8c66a fix crash on displaying letter from Twilight 2012-07-13 10:57:17 +02:00
Sebastian Krzyszkowiak
9a8264802a add recording of Twilight's letter by Emichwan88 2012-07-12 18:54:32 +02:00
Sebastian Krzyszkowiak
4448776890 fix laggy glass effect on some shitty platforms 2012-07-10 19:08:12 +02:00
Sebastian Krzyszkowiak
aba469c174 preparing for release 2012-07-09 21:47:18 +02:00
Sebastian Krzyszkowiak
471f33b720 add command line option for selecting initial gamestate 2012-07-08 23:08:23 +02:00
Sebastian Krzyszkowiak
85056130ac prepare for first release 2012-07-08 22:11:31 +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
7842385b27 reset Derpy's angle when returning to running 2012-07-08 14:14:34 +02:00
Sebastian Krzyszkowiak
59fd82b9e3 add "Press enter to continue..." text to letter screen 2012-07-08 02:47:45 +02:00
Sebastian Krzyszkowiak
820a1fbe15 letter from Twilight: add proper text 2012-07-08 00:23:40 +02:00
Sebastian Krzyszkowiak
d75591af6b add last animation from Anna Karlik to intro 2012-07-06 22:35:17 +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
77ef62b413 add logo to main menu, with glass effect 2012-07-03 16:27:57 +02:00
Sebastian Krzyszkowiak
64d0e30135 fix uninitialized angle value of owl in intro 2012-06-19 17:27:05 +02:00
Sebastian Krzyszkowiak
86f9a3f819 make Derpy more controllable 2012-06-19 17:18:33 +02:00
Sebastian Krzyszkowiak
6fd0af0605 add jumping Derpy animation for intro from Anna Karlik 2012-05-27 00:58:15 +02:00
Sebastian Krzyszkowiak
5065f49b5a update intro animations from Anna Karlik 2012-05-25 22:44:04 +02:00
Sebastian Krzyszkowiak
15e1822833 add cherries 2012-05-23 10:34:36 +02:00
Sebastian Krzyszkowiak
47b2903935 make loading progress bar on first level more accurate 2012-05-23 10:21:14 +02:00
Sebastian Krzyszkowiak
1d0ce78cb4 fix position of "Letter from Twilight" text 2012-05-22 21:46:51 +02:00
Sebastian Krzyszkowiak
06689721f0 lots of cosmetic things 2012-05-22 21:29:55 +02:00
Sebastian Krzyszkowiak
95e869baea small tweaks for gameplay 2012-05-21 22:38:41 +02:00
Sebastian Krzyszkowiak
918877c472 add bitmap for a letter from Twilight 2012-05-21 22:27:49 +02:00
Sebastian Krzyszkowiak
484d227b3a fix collision handling not working for some cases 2012-05-21 21:17:58 +02:00
Sebastian Krzyszkowiak
42c8473436 little animation at the end of the level 2012-05-21 20:56:16 +02:00
Sebastian Krzyszkowiak
db0ebca42d some tweaks for obstacles 2012-05-21 19:50:42 +02:00
Sebastian Krzyszkowiak
bd2e62f651 more obstacles 2012-05-21 18:47:17 +02:00
Sebastian Krzyszkowiak
d0f2ab8575 rotating muffins 2012-05-21 14:00:42 +02:00
Sebastian Krzyszkowiak
2fc3ac1a9a typo 2012-05-21 10:27:32 +02:00
Sebastian Krzyszkowiak
87dd644be6 moar documentation 2012-05-21 10:25:22 +02:00
Sebastian Krzyszkowiak
50e9bb8815 moar docs 2012-05-21 10:14:49 +02:00
Sebastian Krzyszkowiak
cd65b1d8e5 implement owl :D 2012-05-20 23:17:52 +02:00
Sebastian Krzyszkowiak
836eaedc41 hide muffin when eated, tweaks for level length and hardness 2012-05-20 20:05:03 +02:00
Sebastian Krzyszkowiak
fe8fbcb425 move timeline actions and obstacle callbacks to separate files 2012-05-20 18:07:24 +02:00
Sebastian Krzyszkowiak
c1aceaa473 fix possible cropping issues with animations in intro 2012-05-20 14:42:58 +02:00
Sebastian Krzyszkowiak
c62079d9d9 fix possible cropping issues with pigs 2012-05-20 14:41:49 +02:00
Sebastian Krzyszkowiak
7dc4dc7a73 PIGS!!! 2012-05-20 14:40:49 +02:00
Sebastian Krzyszkowiak
d98dcca2e4 log HP to console at the end of level (lol) 2012-05-20 00:16:55 +02:00
Sebastian Krzyszkowiak
5a846cea24 allow player to change Derpy speed with arrows 2012-05-19 22:38:13 +02:00
Sebastian Krzyszkowiak
e33c460896 fix spritesheet animations being off on some resolutions 2012-05-19 21:50:01 +02:00
Sebastian Krzyszkowiak
465e60dfa0 fix text in About screen 2012-05-19 20:00:27 +02:00
Sebastian Krzyszkowiak
160761e899 fine tune of collision handling 2012-05-19 18:48:29 +02:00
Sebastian Krzyszkowiak
c6e3707ab4 moar documentation 2012-05-19 18:28:19 +02:00
Sebastian Krzyszkowiak
5a6687e28b moar documentation 2012-05-19 18:09:20 +02:00
Sebastian Krzyszkowiak
7b1893f9ad s/obstracle/obstacle/ :D 2012-05-19 15:31:41 +02:00
Sebastian Krzyszkowiak
262d41925c fix for uninitialized variable 2012-05-19 01:20:52 +02:00
Sebastian Krzyszkowiak
1fe1187085 add muffins :D (for now as obstracles) 2012-05-18 23:40:02 +02:00
Sebastian Krzyszkowiak
10a786c431 introducing: brand-new ability to FAIL LEVEL! :) also, debug mode cheats and fine-tuning of HP meter 2012-05-18 22:07:35 +02:00
Sebastian Krzyszkowiak
0a17a95383 implement progress bar on loading screen 2012-05-18 18:34:07 +02:00
Sebastian Krzyszkowiak
a13ef8d88d some work on playability 2012-05-18 13:12:58 +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
3e36e0c264 fix bug with spritesheets derped when toggling fullscreen 2012-05-10 12:21:53 +02:00
Sebastian Krzyszkowiak
8b1b60ebde add some basic HUD 2012-05-09 12:40:21 +02:00
Sebastian Krzyszkowiak
389c4c27aa add "power meter" 2012-05-09 10:58:45 +02:00
Sebastian Krzyszkowiak
896b9d57aa add fly animation by Yudhaikeledai 2012-05-08 13:22:56 +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
5969971fbc fix compiler warning 2012-05-07 20:17:35 +02:00
Sebastian Krzyszkowiak
4c8311d9fa fixes for fps vs. speed handling in level code 2012-05-07 14:56:32 +02:00
Sebastian Krzyszkowiak
a5a93ab871 fix "nigger derpy" 2012-05-04 03:43:42 +02:00
Sebastian Krzyszkowiak
472f3f0aa7 another attempt to fix animation in intro 2012-05-04 03:27:14 +02:00
Sebastian Krzyszkowiak
b4b45886be fix page switching with big fps 2012-05-04 03:22:45 +02:00
Sebastian Krzyszkowiak
763fd3e2f8 fix rest fadeloops 2012-05-04 03:17:18 +02:00
Sebastian Krzyszkowiak
339b8a9be8 fix stuck loading screen when there's too many fps 2012-05-04 03:14:28 +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
bbf0198669 performance fixes for intro gamestate 2012-05-04 01:12:19 +02:00
Sebastian Krzyszkowiak
a4756eaeb0 implement fps counter 2012-05-04 00:26:24 +02:00
Sebastian Krzyszkowiak
7c6b0a0044 fix missing file in intro, few tweaks for animation speed in spritesheets 2012-05-03 19:59:53 +02:00
Sebastian Krzyszkowiak
8abc4a6763 implement spritesheet managament 2012-05-03 19:42:23 +02:00
Sebastian Krzyszkowiak
9959c1c6fe fix fullscreen switching with obstracles rendered 2012-05-03 13:20:25 +02:00
Sebastian Krzyszkowiak
62c7a3cd98 detect colisions, remove obstracles from queue 2012-05-03 02:49:08 +02:00
Sebastian Krzyszkowiak
b6d8136609 implement obstracles callbacks 2012-05-03 02:19:55 +02:00
Sebastian Krzyszkowiak
d4c5028216 workaround for allegro bug in tilde handling on Mac OS X 2012-05-01 23:36:11 +02:00
Sebastian Krzyszkowiak
81e13b8d34 debug keycode mode 2012-05-01 23:19:34 +02:00
Sebastian Krzyszkowiak
b57f20ac7d fix compilation on Mac OS X 2012-05-01 23:13:45 +02:00
Sebastian Krzyszkowiak
07ac5294d5 some work on levels 2012-05-01 22:52:30 +02:00
Sebastian Krzyszkowiak
a5e0be5434 add book frame to intro story 2012-05-01 16:55:39 +02:00
Sebastian Krzyszkowiak
1ffe2f8ce5 update map and other graphics 2012-04-30 22:52:46 +02:00
Sebastian Krzyszkowiak
928735faab respect voice volume settings 2012-04-30 20:39:40 +02:00
Sebastian Krzyszkowiak
0ed5b9495c cleaning up mess in data directory 2012-04-30 00:55:27 +02:00
Sebastian Krzyszkowiak
68a14b943f fix tilde key being handled by gamestate keydown function 2012-04-21 00:18:42 +02:00