Commit Graph

125 Commits

Author SHA1 Message Date
simon.kagstrom
a5618a93d7 Redesign the network setup. Untested of course. 2010-02-12 06:35:24 +00:00
simon.kagstrom
fcae69e09e Add and create network user view 2010-02-11 18:57:08 +00:00
simon.kagstrom
46d0980f50 Add a info box for the network peers. Completely untested, of course. 2010-02-11 06:37:01 +00:00
simon.kagstrom
c5053b8c61 Add a network user selection menu (unfinished, untested) 2010-02-10 18:16:55 +00:00
simon.kagstrom
f710bacf73 Add helper in utils to create a SDL_Surface from data 2010-02-10 18:10:31 +00:00
simon.kagstrom
5841aa35a3 Zero number of entries as well to avoid crashes on free 2010-02-10 08:50:25 +00:00
simon.kagstrom
bf0d8c5e90 Handle selection of None correctly 2010-02-09 19:08:16 +00:00
simon.kagstrom
171e274b9a Fix memleak 2010-02-09 14:20:08 +00:00
simon.kagstrom
5bc596f617 Make menu_messages a C file to avoid various C++ problems 2010-02-09 11:33:30 +00:00
simon.kagstrom
e550985aef Correct string allocations (sigh, C++ doesn't behave like an old C
programmer like me expects it to. I'll adapt)
2010-02-09 10:02:05 +00:00
simon.kagstrom
853bed122e Make it build for the Wii again. No, it won't run. 2010-02-06 16:10:09 +00:00
simon.kagstrom
1068d40eca Add functionality to setup joystick defaults (for Wii only now) 2010-01-31 08:42:40 +00:00
simon.kagstrom
450260dd59 Add year to the game info 2010-01-31 07:58:48 +00:00
simon.kagstrom
0e441a5ea7 Add flags and bump version of the game info stuff. This is mostly for
testing, but will be good to have in the future.
2010-01-30 20:03:17 +00:00
simon.kagstrom
b8c8b8673c The wii doesn't have network.h 2010-01-30 19:22:04 +00:00
simon.kagstrom
f810670388 Store score in the dump 2010-01-30 19:21:01 +00:00
simon.kagstrom
0f6cc25ae5 Add a score associated with updating the game info 2010-01-30 19:06:18 +00:00
simon.kagstrom
b3a33134aa Set screenshot through a setter 2010-01-30 19:03:10 +00:00
simon.kagstrom
54e41df785 Return to the first selection when reentering the menu 2010-01-30 18:57:24 +00:00
simon.kagstrom
3d072f63c8 Less irrelevant printouts 2010-01-30 18:55:02 +00:00
simon.kagstrom
78da43f300 Switch insert/start (start is most common) 2010-01-30 18:54:41 +00:00
simon.kagstrom
6ff06c0d1f Default to filename for name if name isn't set 2010-01-30 18:52:14 +00:00
simon.kagstrom
d3e4552174 Implement keyboard input handling 2010-01-30 17:59:32 +00:00
simon.kagstrom
c7023f1210 Remove some unneeded printouts 2010-01-30 17:32:07 +00:00
simon.kagstrom
8c5894b7ac select -> escape 2010-01-30 17:31:51 +00:00
simon.kagstrom
54115df233 Debug message: tell us when we save 2010-01-30 16:55:34 +00:00
simon.kagstrom
01084938ba Exit menu on quit 2010-01-30 16:55:21 +00:00
simon.kagstrom
a94a198424 Add timeout where the game screenshot is saved 2010-01-30 16:49:37 +00:00
simon.kagstrom
5be5211578 Fix free-of-non-alloc 2010-01-30 16:36:02 +00:00
simon.kagstrom
39d2196021 Key binding should be shift-off 2010-01-30 16:31:39 +00:00
simon.kagstrom
f445f4e739 Fix use-warning (and potential bug) 2010-01-30 16:13:39 +00:00
simon.kagstrom
8febd41980 Support page up/down 2010-01-30 16:12:25 +00:00
simon.kagstrom
11e6b3cd54 Longer timeout on hover 2010-01-30 16:12:15 +00:00
simon.kagstrom
3bf759727e Correct storing of filenames as well 2010-01-30 16:04:42 +00:00
simon.kagstrom
187eb13245 Implement backspace support 2010-01-30 15:52:35 +00:00
simon.kagstrom
b7064f58f0 Keyboard fixes: Allow switching shift state via the keyboard, add a
keyboard background image, use flags instead. Shift is default on for
all non-typing stuff.
2010-01-30 15:38:19 +00:00
simon.kagstrom
aaf74e28d8 Don't save unknown 2010-01-30 14:47:22 +00:00
simon.kagstrom
89cb44386a Default is unknown 2010-01-30 14:47:14 +00:00
simon.kagstrom
6ad852e2b9 Add file extension 2010-01-30 14:34:24 +00:00
simon.kagstrom
55b605b146 Fix double free 2010-01-30 14:34:04 +00:00
simon.kagstrom
79acb2e1e9 Too small allocation 2010-01-30 14:30:56 +00:00
simon.kagstrom
205a1d8821 Correct size and saving 2010-01-30 13:03:53 +00:00
simon.kagstrom
d884351ba8 author/filename/name should always be set to something 2010-01-30 12:48:47 +00:00
simon.kagstrom
7ff83399c1 Save game info on menu exit 2010-01-30 11:48:57 +00:00
simon.kagstrom
4bcf907f4e Capture screenshots 2010-01-30 11:31:05 +00:00
simon.kagstrom
c718e1aead Store screenshot when game info is edited 2010-01-30 09:34:14 +00:00
simon.kagstrom
8577acdc0c Quit 2010-01-30 09:19:41 +00:00
simon.kagstrom
15023a3649 Init is_active 2010-01-30 08:37:57 +00:00
simon.kagstrom
16eb63dfcd Fix saving of game info 2010-01-30 08:35:29 +00:00
simon.kagstrom
00ee6da738 Dynamic buffers for filenames 2010-01-30 08:17:42 +00:00
simon.kagstrom
fecfac664f Also allow directories for save games 2010-01-30 08:08:11 +00:00
simon.kagstrom
a664d7c884 Refactor the filebrowser to allow nested directories 2010-01-30 08:06:32 +00:00
simon.kagstrom
9d1d6190c8 Rearrange the files a bit: Move timer/utils to Src and fix a few small
issues
2010-01-29 06:35:40 +00:00
simon.kagstrom
7619e36910 Implement joystick swapping 2010-01-25 16:31:20 +00:00
simon.kagstrom
0c5570e64a Correct setting of prefs 2010-01-25 16:31:05 +00:00
simon.kagstrom
40809b7238 Correct gui timing and show status bar messages longer 2010-01-25 15:50:05 +00:00
simon.kagstrom
6016806bd9 Correct CPU reset 2010-01-25 15:46:00 +00:00
simon.kagstrom
e6b297c573 Correct snapshot loading 2010-01-25 15:28:39 +00:00
simon.kagstrom
756ae88990 Remove dead code 2010-01-25 15:25:01 +00:00
simon.kagstrom
57a47a036d Make it possible to load files 2010-01-25 15:23:00 +00:00
simon.kagstrom
3eca51218f Update prefs on gui pop 2010-01-25 15:11:26 +00:00
simon.kagstrom
dd957bcbff Fix prefs to the new style 2010-01-25 14:25:19 +00:00
simon.kagstrom
db72041d91 Convert images to the display format 2010-01-25 13:49:48 +00:00
simon.kagstrom
d9a1ce3de9 No deactivation, push main view on activation 2010-01-25 13:28:03 +00:00
simon.kagstrom
0ae643c77e Moved 2010-01-25 13:19:39 +00:00
simon.kagstrom
bd062dfe70 Mocks are no longer needed 2010-01-25 13:12:27 +00:00
simon.kagstrom
328c6db22e Copy in the new GUI code. Builds but will not work now. 2010-01-25 13:01:22 +00:00
simon.kagstrom
4e70ae6205 Removed the first gui try (will never become anything) 2010-01-25 12:08:57 +00:00
simon.kagstrom
f02c428969 More fixes (tmp tmp) 2009-11-16 19:00:22 +00:00
simon.kagstrom
b0ca5f88bd ListBox 2009-11-15 15:39:17 +00:00
simon.kagstrom
2cb604b095 List (will this even work???) 2009-11-15 15:31:07 +00:00
simon.kagstrom
59365e831f More gui work. 2009-11-15 15:12:53 +00:00
simon.kagstrom
c483dc63bb Cleanup round 1 2009-11-15 12:31:06 +00:00
simon.kagstrom
8c01747859 Add some (unused / unfinished) gui stuff 2009-11-15 11:17:26 +00:00
simon.kagstrom
744ab16862 Add gui code (not used yet but builds) 2009-11-10 06:12:10 +00:00