Commit Graph

485 Commits

Author SHA1 Message Date
simon.kagstrom
1bc324c982 Just save the png data as-is (maybe fix later) 2010-02-22 11:43:32 +00:00
simon.kagstrom
6fc380d2c8 Fix message dequeueing 2010-02-22 06:22:54 +00:00
simon.kagstrom
cf043c2fa5 Client network message fixes 2010-02-21 18:42:56 +00:00
simon.kagstrom
401784e95e Handle network messages 2010-02-21 18:42:42 +00:00
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
d24063b1a6 More joystick handling: Make the analogue part post messages to the gui,
don't rely on old value for gui
2010-02-21 16:10:12 +00:00
simon.kagstrom
d1bcec688b Don't install non-existing files 2010-02-21 16:05:17 +00:00
simon.kagstrom
d2e0208510 Push joystick events to the GUI. Not tested yet. 2010-02-21 15:58:28 +00:00
simon.kagstrom
7a35a744ec Add user name to network messages 2010-02-21 15:40:15 +00:00
simon.kagstrom
47f6f6d174 Receive and handle text messages at the server end 2010-02-21 15:36:30 +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
1b8b98a394 Don't look for frodorc.default (no conf is fine) 2010-02-21 13:04:31 +00:00
simon.kagstrom
6cf7140e2c Restore netw. port 2010-02-21 10:58:35 +00:00
simon.kagstrom
3b29f7d52c Help messages 2010-02-21 10:55:54 +00:00
simon.kagstrom
2a492b70b6 Handle disconnects at the broker side as well 2010-02-21 10:52:30 +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
37ca5e562b Fix network disconnect and handle send failures 2010-02-21 09:50:30 +00:00
simon.kagstrom
64b200cafd Don't exit on marshall error 2010-02-21 09:25:19 +00:00
simon.kagstrom
1dca5880c9 Remove debug output 2010-02-21 08:02:55 +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
63b7d45688 Cleanup some unused stuff and redesign text message sending (not
quite done yet, has bugs, but in theory functional)
2010-02-21 07:58:53 +00:00
simon.kagstrom
5d6c55d4c7 Cleanup old unused stuff and use GUI status string 2010-02-21 07:31:28 +00:00
simon.kagstrom
71a2042205 Remove the macro 2010-02-21 06:54:37 +00:00
simon.kagstrom
25605859e4 Really fix the networking joystick issue, networking seems to work well
now
2010-02-21 06:52:43 +00:00
simon.kagstrom
bbc30c590d Partially fix joystick handling, more to come 2010-02-20 15:02:34 +00:00
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