Commit graph

316 commits

Author SHA1 Message Date
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
Sebastian Krzyszkowiak
d252e87092 replace intro lines with Princess Celestia voice recorded by MEMJ0123 2012-04-21 00:06:56 +02:00
Sebastian Krzyszkowiak
555cc0b9e0 use ANSI C gcc mode 2012-04-14 22:26:33 +02:00
Sebastian Krzyszkowiak
35a6a328bf tweaks in Derpy animation speed 2012-04-10 14:07:36 +02:00
Sebastian Krzyszkowiak
3eef9495d4 fix compilation on windows 2012-04-09 18:41:46 +02:00
Sebastian Krzyszkowiak
502e9a8ea2 fix end of the sky :D 2012-04-09 18:11:09 +02:00
Sebastian Krzyszkowiak
9d747a459c prefix name of all actions provided by TM with "TM_" 2012-04-09 17:18:41 +02:00
Sebastian Krzyszkowiak
cd6e5a0ff9 support action names in timeline manager 2012-04-09 17:17:16 +02:00
Sebastian Krzyszkowiak
6e27c1e3b5 implement frame skipping as debug feature 2012-04-09 16:49:47 +02:00
Sebastian Krzyszkowiak
1db3134175 support "-l NR" commandline argument 2012-04-09 16:41:10 +02:00
Sebastian Krzyszkowiak
3c3fc64d80 level 1: add action for letter from Twilight Sparkle 2012-04-09 16:21:45 +02:00
Sebastian Krzyszkowiak
e9ffdf5465 limit derpy moves in Y axis 2012-04-09 16:14:10 +02:00
Sebastian Krzyszkowiak
61b862b858 better keyboard handling in level 2012-04-09 15:58:01 +02:00
Sebastian Krzyszkowiak
73edf91b6d fix sound in moonwalk 2012-04-09 15:35:06 +02:00
Sebastian Krzyszkowiak
7ac12920bb add music to level 1 2012-04-09 15:25:56 +02:00
Sebastian Krzyszkowiak
754f88facf some work on spritesheed speed 2012-04-09 13:31:14 +02:00
Sebastian Krzyszkowiak
cf2bc20b68 implement and use TM_AddQueuedBackgroundAction 2012-04-09 12:55:04 +02:00
Sebastian Krzyszkowiak
270e137ee5 level: fix animation when sheet_speed==1 2012-04-08 23:56:13 +02:00
Sebastian Krzyszkowiak
cceecdfd54 add some very basic keyboard handling in level 2012-04-08 23:41:22 +02:00
Sebastian Krzyszkowiak
4c039847a0 more work on first level 2012-04-08 23:25:14 +02:00
Sebastian Krzyszkowiak
676d2d8900 some first demo sidescrolling level 2012-04-08 19:01:30 +02:00
Sebastian Krzyszkowiak
8eab7da8f1 fix segfault when ini file does not exist 2012-04-08 11:39:27 +02:00
Sebastian Krzyszkowiak
efaa1803ea implement delays in timeline manager 2012-04-07 23:03:34 +02:00
Sebastian Krzyszkowiak
db056c3a2a implement TM_AddToArgs 2012-04-07 20:32:47 +02:00
Sebastian Krzyszkowiak
314429a2fe moar destroyin! 2012-04-07 18:41:39 +02:00
Sebastian Krzyszkowiak
cff6de73c3 implement timeline destroying 2012-04-07 18:32:47 +02:00
Sebastian Krzyszkowiak
4674c298bb implement fadein and fadeout actions 2012-04-07 13:33:04 +02:00
Sebastian Krzyszkowiak
27ddfaafc9 revamp argument handling of timeline actions 2012-04-07 13:04:55 +02:00
Sebastian Krzyszkowiak
f1e26219c4 moar work on timeline 2012-04-06 23:32:15 +02:00
Sebastian Krzyszkowiak
3e17070298 better structure of level-moonwalk relationship 2012-04-06 18:25:04 +02:00
Sebastian Krzyszkowiak
90c20b0c1c introduce timeline manager, split moonwalk code from level code 2012-04-06 17:28:38 +02:00
Sebastian Krzyszkowiak
c4ca72d875 implement continuity of levels 2012-04-05 12:57:11 +02:00
Sebastian Krzyszkowiak
1c825fbd14 fix segfaults with FLAC decoder in intro 2012-04-05 12:56:58 +02:00
Sebastian Krzyszkowiak
6583662d9f implement animations in intro state 2012-04-04 00:06:47 +02:00
Sebastian Krzyszkowiak
89c4d4096d fix sudden fadeout in about screen when it wasn't faded in yet 2012-04-03 23:17:18 +02:00
Sebastian Krzyszkowiak
26ecdcb532 update about screen 2012-04-03 21:17:56 +02:00
Sebastian Krzyszkowiak
37f879c297 little cleanup in menu handling code 2012-03-13 12:52:57 +01:00
Sebastian Krzyszkowiak
13aa555481 sound volume settings 2012-03-13 12:42:28 +01:00
Sebastian Krzyszkowiak
9b33a0af12 display "Loading" when switching to new resolution 2012-03-10 16:32:45 +01:00
Sebastian Krzyszkowiak
00f4c409e6 implement fullscreen setting from pause menu 2012-03-08 22:21:02 +01:00
Sebastian Krzyszkowiak
7f4c4f9fb5 replace "Critical Error" with "Not implemented yet" 2012-03-08 21:09:50 +01:00
Sebastian Krzyszkowiak
8e2e55e416 link to release version of allegro 2012-03-08 20:55:18 +01:00
Sebastian Krzyszkowiak
185ac75bbe inhibit screensaver 2012-03-08 20:55:11 +01:00
Sebastian Krzyszkowiak
662dbf3c89 play missing click sounds in pause menu 2012-03-08 19:26:30 +01:00
Sebastian Krzyszkowiak
2a16055a6b don't restart the game if video settings are changed during game 2012-03-08 17:38:40 +01:00
Sebastian Krzyszkowiak
e874678081 use mixer gain to enable/disable music/fx 2012-03-08 12:49:58 +01:00
Sebastian Krzyszkowiak
d8a6106157 add video options, implement fullscreen switching 2012-03-08 12:34:47 +01:00
Sebastian Krzyszkowiak
1f43af56f0 clean up of menu keydown handling (pause now shares code with menu) 2012-03-07 23:23:39 +01:00
Sebastian Krzyszkowiak
b0a4369678 introduce menustates 2012-03-07 22:06:19 +01:00
Sebastian Krzyszkowiak
f6e4b0625c update click sound, play it in few more places 2012-03-07 15:20:16 +01:00
Sebastian Krzyszkowiak
572d147e0c fix loading menu when starting with other gamestate 2012-03-07 15:03:56 +01:00
Sebastian Krzyszkowiak
e4e848b175 use mixers for audio 2012-03-05 21:07:42 +01:00
Sebastian Krzyszkowiak
2f118db351 create separate mixers for music and fx 2012-03-05 11:13:08 +01:00
Sebastian Krzyszkowiak
5627ddecaf rewrite config handling using allegro routines 2012-03-05 10:35:25 +01:00
Sebastian Krzyszkowiak
e5a9f12358 implement voice reading intro 2012-03-04 22:02:23 +01:00
Sebastian Krzyszkowiak
4b8bd024d7 better moonwalk synchronization :D 2012-03-04 17:37:44 +01:00
Sebastian Krzyszkowiak
cb33ac763d fix segfaults in pause 2012-03-04 16:52:05 +01:00
Sebastian Krzyszkowiak
87dbd1f04b remove image cache, cleanup 2012-03-04 15:57:23 +01:00
Sebastian Krzyszkowiak
b0b3fbc59e fix cutted text in about screen 2012-03-04 14:20:04 +01:00
Sebastian Krzyszkowiak
5b5bd21ffe add license information 2012-03-04 13:32:42 +01:00
Sebastian Krzyszkowiak
0d7edb94e3 add Derpy to pause screen :D 2012-03-04 13:24:35 +01:00
Sebastian Krzyszkowiak
9dcab1af04 check if fonts were actually loaded 2012-03-03 23:20:47 +01:00
Sebastian Krzyszkowiak
bf83ae80a0 fix memory leak in pause state 2012-03-03 23:13:35 +01:00
Sebastian Krzyszkowiak
0bc45ea1af implement menu while paused 2012-03-03 21:58:14 +01:00
Sebastian Krzyszkowiak
163efc05e8 little cleanup 2012-03-03 21:23:25 +01:00
Sebastian Krzyszkowiak
35e3ad3738 fix fade outs from menu... again :p 2012-03-03 21:12:11 +01:00
Sebastian Krzyszkowiak
5ac48ffc08 fix fade outs from menu 2012-03-03 21:10:08 +01:00
Sebastian Krzyszkowiak
3828f4136b use proper linear filtering for image scaling 2012-03-03 21:09:49 +01:00
Sebastian Krzyszkowiak
d9dd10d063 fix intro on some resolutions 2012-03-03 00:02:34 +01:00
Sebastian Krzyszkowiak
44c5c06ff4 attempt to fix uninitialized level number happening sometimes... 2012-03-02 23:08:22 +01:00
Sebastian Krzyszkowiak
bad5c07f7f pause music on pause :D 2012-03-02 17:47:02 +01:00
Sebastian Krzyszkowiak
78172b6c32 implement pause 2012-03-02 16:52:13 +01:00
Sebastian Krzyszkowiak
4cba98f8bc fix map drawing 2012-03-02 00:22:14 +01:00
Sebastian Krzyszkowiak
b96edbfbce performance fixes on menu fades 2012-03-02 00:00:31 +01:00
Sebastian Krzyszkowiak
329e867714 map: don't load background twice 2012-03-01 23:52:35 +01:00
Sebastian Krzyszkowiak
3d2b60b6a6 cache derpy spritesheet 2012-03-01 23:03:07 +01:00
Sebastian Krzyszkowiak
5fd6b4b912 fix infinite loop with config handling 2012-03-01 22:46:54 +01:00
Sebastian Krzyszkowiak
334adcf9c0 fixes for scaling performance 2012-03-01 22:34:19 +01:00
Sebastian Krzyszkowiak
535f5abc94 fix bitmap leakage in intro view 2012-03-01 22:07:48 +01:00
Sebastian Krzyszkowiak
075934337d :o 2012-03-01 13:32:44 +01:00
Sebastian Krzyszkowiak
3752bc948d don't force opengl on windows 2012-03-01 13:18:56 +01:00
Sebastian Krzyszkowiak
256c21c0f2 fill bitmaps as needed in intro view, as opposed to filling big bitmap at loading time 2012-03-01 13:15:20 +01:00
Sebastian Krzyszkowiak
72ab5cf3cb scale letter bitmap with linear filtering in about screen 2012-03-01 10:54:56 +01:00
Sebastian Krzyszkowiak
b7b19b1a8c FPS independent timings 2012-03-01 10:49:20 +01:00
Sebastian Krzyszkowiak
f2adc2aff4 small fixes 2012-03-01 01:46:45 +01:00
Sebastian Krzyszkowiak
d9d78969dc cleanup 2012-03-01 01:25:27 +01:00
Sebastian Krzyszkowiak
68376cb4dd ;3 2012-03-01 01:17:24 +01:00
Sebastian Krzyszkowiak
ee67f89116 moar caching 2012-03-01 01:14:24 +01:00
Sebastian Krzyszkowiak
cbdb68382c moar memory bitmaps 2012-03-01 00:37:16 +01:00
Sebastian Krzyszkowiak
7de296ae93 reset menu state on each load 2012-02-29 23:29:40 +01:00
Sebastian Krzyszkowiak
5895e206dc use pregenerated bitmap in loading screen 2012-02-29 23:17:32 +01:00
Sebastian Krzyszkowiak
e5dda46b31 memory bitmaps, linear filtering, menu stopping instead of unloading and other stuff... 2012-02-29 23:00:59 +01:00
Sebastian Krzyszkowiak
576a206f00 don't require C99 standard 2012-02-29 12:16:11 +01:00
Sebastian Krzyszkowiak
7e4b6e7a14 moar docs 2012-02-28 23:16:55 +01:00
Sebastian Krzyszkowiak
e0e34e71ce add menu_draw_while_fading option for weak PCs 2012-02-28 15:14:07 +01:00
Sebastian Krzyszkowiak
e943fa986a draw Derpy on level unload 2012-02-28 14:43:47 +01:00
Sebastian Krzyszkowiak
a02f0a361b moonwalk :D 2012-02-28 14:13:49 +01:00
Sebastian Krzyszkowiak
cf2f82f5f9 first batch of documentation 2012-02-28 13:09:12 +01:00
Sebastian Krzyszkowiak
654472f79a allocate string buffer when appending new config option at runtime 2012-02-27 22:50:05 +01:00
Sebastian Krzyszkowiak
6b877d10a2 fix uninitialized pointer at the end of list when creating list of config options 2012-02-27 22:39:48 +01:00
Sebastian Krzyszkowiak
631e3bc940 little fixes 2012-02-26 15:04:12 +01:00
Sebastian Krzyszkowiak
69ded985b9 options menu reorganization; music and fx config now works 2012-02-26 14:57:45 +01:00
Sebastian Krzyszkowiak
728caef2a7 fixes for different screen aspects 2012-02-26 13:00:03 +01:00
Sebastian Krzyszkowiak
2c102d01fa read and respect first batch of config options 2012-02-26 12:59:45 +01:00
Sebastian Krzyszkowiak
a88099b9d5 more work on config 2012-02-26 00:47:41 +01:00
Sebastian Krzyszkowiak
537dac3cfb info about config manager 2012-02-25 23:22:47 +01:00
Sebastian Krzyszkowiak
ba1dd05a95 header wrap-up, header wrap-uuuuup! 2012-02-25 22:32:46 +01:00
Sebastian Krzyszkowiak
cb2d44d3e5 code wrap-up, code wrap-uuuuup! 2012-02-25 22:26:31 +01:00
Sebastian Krzyszkowiak
c215af797d moar macros 2012-02-25 22:19:12 +01:00
Sebastian Krzyszkowiak
3d50b5d3a4 use preprocessor macros in gamestate management to get rid of lots of duplicated code 2012-02-25 21:53:33 +01:00
Sebastian Krzyszkowiak
7b30cd7b45 enable vsync 2012-02-25 20:20:32 +01:00
Sebastian Krzyszkowiak
386275b7a7 completely unnecessary fix for drawing console at quitting :D 2012-02-25 19:28:47 +01:00
Sebastian Krzyszkowiak
f488b7ffaf add Derpy to "level not implemented" screen :D 2012-02-25 16:46:25 +01:00
Sebastian Krzyszkowiak
37341f9c4f fix a derp 2012-02-25 00:01:39 +01:00
Sebastian Krzyszkowiak
bc56b0a006 few textures replaced, added shadows to texts 2012-02-24 23:58:18 +01:00
Sebastian Krzyszkowiak
c1cdde9f92 a little reorganization of config manager structure 2012-02-24 13:08:44 +01:00
Sebastian Krzyszkowiak
52aa7c3f1e add config manager 2012-02-24 13:03:30 +01:00
Sebastian Krzyszkowiak
626d5bb884 fix wording in intro 2012-02-23 23:30:37 +01:00
Sebastian Krzyszkowiak
7a1ae3a7ee add proper text to intro 2012-02-23 12:23:19 +01:00
Sebastian Krzyszkowiak
c69017efad fix wording in about state 2012-02-23 12:04:51 +01:00
Sebastian Krzyszkowiak
1487ce0c30 unload GAMESTATE_LOADING state on quit 2012-02-22 15:33:05 +01:00
Sebastian Krzyszkowiak
30fcc82d85 fix garbage behind text in about screen 2012-02-22 15:30:17 +01:00
Sebastian Krzyszkowiak
8c2ea46086 fix compiler warnings 2012-02-22 15:21:28 +01:00
Sebastian Krzyszkowiak
5b19d2bfbf add proper text in about view (and optimize png images) 2012-02-22 14:55:21 +01:00
Sebastian Krzyszkowiak
5ce44c0e4e work on about screen 2012-02-22 13:38:56 +01:00
Sebastian Krzyszkowiak
add0c3d3ba add level gamestate 2012-02-22 12:43:14 +01:00
Sebastian Krzyszkowiak
a715d37be9 don't load map state again when reaching last page of intro 2012-02-22 11:53:26 +01:00
Sebastian Krzyszkowiak
b5326270db add fifth slide to intro 2012-02-22 10:22:48 +01:00
Sebastian Krzyszkowiak
362bfabca5 chainload GAMESTATE_MAP with GAMESTATE_INTRO 2012-02-22 10:19:02 +01:00
Sebastian Krzyszkowiak
dd822e5b9d work on map state 2012-02-21 23:33:02 +01:00
Sebastian Krzyszkowiak
0bdfb8bb79 small console adjustments 2012-02-21 00:00:41 +01:00
Sebastian Krzyszkowiak
8a21478fd2 pause timer while loading new state 2012-02-20 20:37:14 +01:00
Sebastian Krzyszkowiak
e27d20dd6a fix text placing in intro state 2012-02-19 23:21:27 +01:00
Sebastian Krzyszkowiak
0ca06e3acb use linear filtering when rescaling bitmaps 2012-02-19 23:19:57 +01:00
Sebastian Krzyszkowiak
edd4d79eb9 make string formatting in PrintConsole possible and use it 2012-02-19 22:54:33 +01:00
Sebastian Krzyszkowiak
b3a3898bb1 fix console blinking on loading states 2012-02-19 22:20:05 +01:00
Sebastian Krzyszkowiak
4a3160b3b8 move source files to src dir 2012-02-19 20:40:22 +01:00