Commit graph

425 commits

Author SHA1 Message Date
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