Commit Graph

92 Commits

Author SHA1 Message Date
simon.kagstrom
e41dcc3c2b Added network server messages (well, it's broken right now but anyway) 2010-02-21 16:33:25 +00:00
simon.kagstrom
d2e0208510 Push joystick events to the GUI. Not tested yet. 2010-02-21 15:58:28 +00:00
simon.kagstrom
2fa2832bc3 Helpful dialogues and error messages 2010-02-21 13:16:04 +00:00
simon.kagstrom
3610fc19f5 Add stub for sending message to your friend 2010-02-21 13:05:01 +00:00
simon.kagstrom
3b29f7d52c Help messages 2010-02-21 10:55:54 +00:00
simon.kagstrom
8af1a6c773 Add region handling for the network as well 2010-02-21 10:43:54 +00:00
simon.kagstrom
65f0844cae Implement network region setting (but still not on the network end) 2010-02-21 10:25:39 +00:00
simon.kagstrom
4c9590e65d Make a copy of the passed argument (will otherwise give undef references) 2010-02-21 08:02:06 +00:00
simon.kagstrom
71a2042205 Remove the macro 2010-02-21 06:54:37 +00:00
simon.kagstrom
a610759cd0 Move ip to str helper to utils, exit menu when selected + various fixes 2010-02-20 14:03:14 +00:00
simon.kagstrom
240c89f783 First round of network refactoring: The network connection will be
stateless. Currently only getting the list of peers will work, but
more is on the way.
2010-02-20 13:01:23 +00:00
simon.kagstrom
bef194c90e Check for no peers (shouldn't happen, but we never know) 2010-02-14 10:09:31 +00:00
simon.kagstrom
384968da50 Create network 2010-02-14 09:41:14 +00:00
simon.kagstrom
9375b1bb5f Use quit 2010-02-14 09:38:28 +00:00
simon.kagstrom
a0fb08b79f Rename peer->network (thank you, eclipse!) 2010-02-14 08:10:11 +00:00
simon.kagstrom
7b3cd3555a Implement peer selection properly (though still untested) 2010-02-14 08:05:08 +00:00
simon.kagstrom
5ae81fc5bf Forgot network user menu header file 2010-02-13 07:34:03 +00:00
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