Commit Graph

431 Commits

Author SHA1 Message Date
simon.kagstrom
3272171245 Don't allocate more than needed 2010-01-24 08:38:37 +00:00
simon.kagstrom
b7c9a8c4df Fix some memory leaks 2010-01-23 16:34:58 +00:00
simon.kagstrom
17e7d64804 To call the destructor 2010-01-23 16:13:13 +00:00
simon.kagstrom
a98cf4ddd8 Do SDL quit and free surfaces 2010-01-23 15:16:52 +00:00
simon.kagstrom
112154d17a Delete everything on exit 2010-01-23 14:55:15 +00:00
simon.kagstrom
cd1768a140 Add code to save the current game info (not tested) 2010-01-23 14:47:01 +00:00
simon.kagstrom
baa43d1cab Add a game info menu, only halfly implemented as of now 2010-01-16 14:08:39 +00:00
simon.kagstrom
f1e9694bb3 No need to forward-declare 2010-01-16 12:43:46 +00:00
simon.kagstrom
7420b26939 Refactor game info: Move the box out 2010-01-16 12:42:28 +00:00
simon.kagstrom
fe57609c81 Add game info and move resetting to options 2010-01-16 12:18:06 +00:00
simon.kagstrom
1745a49933 Display message on pause 2010-01-16 09:17:09 +00:00
simon.kagstrom
93ce6f7292 Remove text when no message is active 2010-01-16 09:16:56 +00:00
simon.kagstrom
117d652737 Set message on reset 2010-01-16 09:09:44 +00:00
simon.kagstrom
0996768ec9 Handle real ms in the timer 2010-01-16 09:09:32 +00:00
simon.kagstrom
3803de7d88 Build status bar 2010-01-16 09:09:07 +00:00
simon.kagstrom
5ec545ff11 Implement status bar 2010-01-16 09:08:54 +00:00
simon.kagstrom
0eae47a65f Add status bar image 2010-01-16 09:08:04 +00:00
simon.kagstrom
f5e1ad6aa5 Same delay as Frodo 2010-01-16 08:56:15 +00:00
simon.kagstrom
9b138afacc Create views when the theme is loaded 2010-01-16 07:11:17 +00:00
simon.kagstrom
108f069478 Correct menu heko 2010-01-11 06:46:48 +00:00
simon.kagstrom
4b1c10c7be Add pause/unpause to the menu 2010-01-10 19:57:45 +00:00
simon.kagstrom
197e7aadb6 Select analogue joysticks through a dialogue interface (only
horizontal/vertical or none available). Also align the axis
and button defs with the real Frodo.
2010-01-10 18:50:58 +00:00
simon.kagstrom
7ecf5d655e Move key bindings 2010-01-07 17:50:06 +00:00
simon.kagstrom
1b4566fbd5 Add breaks where they should be 2010-01-07 17:42:38 +00:00
simon.kagstrom
8d0c566c28 Add key binding code 2010-01-06 16:42:55 +00:00
simon.kagstrom
da1885406b Correct some of the messages 2010-01-06 07:49:00 +00:00
simon.kagstrom
5c366bce09 Remove unneeded locals 2010-01-06 07:48:42 +00:00
simon.kagstrom
473114c210 Add hats 2010-01-06 07:48:10 +00:00
simon.kagstrom
d3ed78078c Don't exit on font load failure, add ARRAY_SIZE 2010-01-06 07:47:51 +00:00
simon.kagstrom
a286b4b355 Add theme selection menu 2010-01-05 15:23:19 +00:00
simon.kagstrom
3bce2ac0a0 Setup default exts 2010-01-05 14:56:21 +00:00
simon.kagstrom
5f11ca70fa Forgot these 2010-01-02 16:04:50 +00:00
simon.kagstrom
292d107d72 Finish the options menu implementation (hooray!) 2010-01-02 16:00:00 +00:00
simon.kagstrom
8aaeee4327 Add C64 mock and implement network connecting 2010-01-02 12:41:50 +00:00
simon.kagstrom
c9c6b0f365 Refactor handling of the virtual keyboard to have it on top of the
current view. Makes things a bit nicer but unfortunately makes the
keyboard a special case.
2010-01-02 12:28:18 +00:00
simon.kagstrom
e903594921 Implement connection checking (setup name!) 2010-01-02 12:16:35 +00:00
simon.kagstrom
70b0064575 Add network configuration (including message!) and auto-delete
dialogues by default
2010-01-02 12:07:35 +00:00
simon.kagstrom
822f76b11b Fix view popping and pushing 2010-01-02 08:41:08 +00:00
simon.kagstrom
28aea581e7 Get the network preferences from the mock prefs implementation 2010-01-01 09:30:05 +00:00
simon.kagstrom
16d306bae4 Rename 2010-01-01 09:10:17 +00:00
simon.kagstrom
d830751ddb Add prefs mock-up 2010-01-01 09:10:03 +00:00
simon.kagstrom
5f916a0dfd Refactor dialogues: Simplify a lot and remove the tie-in to the main
menu class.
2009-12-31 13:25:46 +00:00
simon.kagstrom
ed831048ce Add network menu 2009-12-29 13:23:01 +00:00
simon.kagstrom
d022302f96 Make help better 2009-12-29 07:50:36 +00:00
simon.kagstrom
d09475245f Add key images 2009-12-28 12:39:05 +00:00
simon.kagstrom
0757bdd4f3 Add options menu 2009-12-28 12:38:41 +00:00
simon.kagstrom
817dea003d Ifdeffery 2009-12-28 09:47:12 +00:00
simon.kagstrom
aad20592ec Simplifiy the implementation of some things (no parent pointer,
all resources in the Gui singleton)
2009-12-28 08:46:18 +00:00
simon.kagstrom
224ec1dbe7 Handle real keyboard input for the virtual keyboard 2009-12-26 13:43:42 +00:00
simon.kagstrom
2c359032c2 Encode keys higher up 2009-12-26 12:19:35 +00:00