Commit Graph

458 Commits

Author SHA1 Message Date
simon.kagstrom
b3f89c8f5d Aargh. The reason network display updates arent drawn on the client is that
32 bit screen updates always used the local screen. Fixed.
2010-02-20 14:52:20 +00:00
simon.kagstrom
845b3f4311 Network connections work now, although there is no display updates being sent 2010-02-20 14:30:27 +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
129bfe26e9 Handle select peer packets, log sent packets 2010-02-20 13:19:13 +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
52952df100 Correct register data size 2010-02-20 12:46:46 +00:00
simon.kagstrom
1c3b576bba Various broker fixes 2010-02-16 06:20:40 +00:00
simon.kagstrom
5895e06a29 More network stuff. 2010-02-15 19:24:52 +00:00
simon.kagstrom
a9fffcce87 Fix some protocol errors (there are more) 2010-02-15 18:20:37 +00:00
simon.kagstrom
ee7843b80f -fno-exceptions 2010-02-15 10:13:59 +00:00
simon.kagstrom
fae666980c Handle multiple data packets in a packet for the broker 2010-02-15 06:22:11 +00:00
simon.kagstrom
c97ab6801b Correct a few connection bugs 2010-02-14 10:09:46 +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
fce8fc3a65 Move 2010-02-14 09:49:12 +00:00
simon.kagstrom
384968da50 Create network 2010-02-14 09:41:14 +00:00
simon.kagstrom
f2d59103a5 Let frodorc be a file 2010-02-14 09:41:01 +00:00
simon.kagstrom
d7c318af18 Use total name as prefs 2010-02-14 09:40:42 +00:00
simon.kagstrom
a72ade683b Update 2010-02-14 09:40:14 +00:00
simon.kagstrom
9375b1bb5f Use quit 2010-02-14 09:38:28 +00:00
simon.kagstrom
0135421daa Export quit function 2010-02-14 09:37:57 +00:00
simon.kagstrom
230208358f Save before quitting and use the prefs path 2010-02-14 09:37:46 +00:00
simon.kagstrom
484b8cc685 Create the data store singleton 2010-02-14 09:30:16 +00:00
simon.kagstrom
a28575b7ce Use status bar messages 2010-02-14 09:24:49 +00:00
simon.kagstrom
b7cf3c9aff Tmp port 2010-02-14 09:19:04 +00:00
simon.kagstrom
bc966b36ad def -> class 2010-02-14 09:17:41 +00:00
simon.kagstrom
7ab4f8f443 Separate server and peer addresses 2010-02-14 08:57:55 +00:00
simon.kagstrom
f2a9185cc0 Rename connection_addr -> peer_addr (thanks again eclipse) 2010-02-14 08:28:40 +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
eff65f446c Don't include CmdPipe.h 2010-02-13 07:43:13 +00:00
simon.kagstrom
580a876773 Cleanup 2010-02-13 07:36:11 +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
530f10f842 Restore arrow key handling 2010-02-11 18:59:48 +00:00
simon.kagstrom
23a2a239ac Delete 2010-02-11 18:57:40 +00:00
simon.kagstrom
fcae69e09e Add and create network user view 2010-02-11 18:57:08 +00:00
simon.kagstrom
1f33a6511f Also remove the define 2010-02-11 18:56:45 +00:00
simon.kagstrom
9513dc9849 Remove GLOBAL_VARS micro optimization 2010-02-11 18:56:10 +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
65de419c34 Remove some unneeded code and gekko stuff 2010-02-10 18:16:31 +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
55064b61cf Fix wii build and remove Wii-specific joystick handling 2010-02-10 06:30:08 +00:00
simon.kagstrom
11bb978e49 Move SDL stuff to Display.cpp 2010-02-10 06:15:03 +00:00
simon.kagstrom
3f6b3b9643 Fix wii build (menu_messages.cpp->.c) 2010-02-09 19:26:08 +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
401b93baa9 Init to fix valgrind use-of-uninitialized problem 2010-02-09 12:16:58 +00:00
simon.kagstrom
9b7517fde5 Fix valgrind errors 2010-02-09 11:41:30 +00:00