Commit Graph

549 Commits

Author SHA1 Message Date
simon.kagstrom
9035645c33 Fix pause 2010-03-10 16:57:48 +00:00
simon.kagstrom
6c5f57d628 Fix Wii speed 2010-03-10 16:51:46 +00:00
simon.kagstrom
f4a57499fc Workaround joystick problems for now 2010-03-10 16:51:36 +00:00
simon.kagstrom
ce1a2e78fb Fix memory leak in exit dialogue listener 2010-03-10 11:20:47 +00:00
simon.kagstrom
6fdceb0a26 Connect/disconnect from the menu 2010-03-10 06:37:25 +00:00
nobody
b5392e248b Correct handling of joysticks 2010-03-09 17:34:47 +00:00
simon.kagstrom
ac89e421e6 Fix memcpy size 2010-03-09 06:32:23 +00:00
simon.kagstrom
3193548985 Stack-allocate the table 2010-03-07 14:12:31 +00:00
simon.kagstrom
ec924bafeb Fix joystick handling for multiple joysticks (well, partly at least) 2010-03-07 09:26:54 +00:00
simon.kagstrom
fa3e08bee8 Joystick fixes 2010-03-07 07:38:35 +00:00
simon.kagstrom
9fc781c55e Only try once 2010-03-06 15:58:38 +00:00
simon.kagstrom
775227f24c Some network handling optimization 2010-03-06 15:34:44 +00:00
simon.kagstrom
ac2cf3d847 Messages for network 2010-03-06 15:21:44 +00:00
simon.kagstrom
44625b2daa Always select the active joystick on network clients 2010-03-06 14:55:21 +00:00
simon.kagstrom
5b21dc3a8f A->B 2010-03-06 14:05:45 +00:00
simon.kagstrom
1a484802b6 OK, the wiimote is plain 2010-03-06 09:11:21 +00:00
simon.kagstrom
c326c552e1 Better handling of joysticks for the menus and an unused network fsm 2010-03-06 07:25:12 +00:00
simon.kagstrom
143458890f Correct hat nr 2010-03-04 06:33:47 +00:00
simon.kagstrom
cc26c0ad70 New Wii defaults 2010-03-04 06:33:22 +00:00
simon.kagstrom
683fea0461 Wii-specific paths 2010-03-04 06:15:53 +00:00
simon.kagstrom
f06cb64b53 Remove unneded stuff 2010-03-03 19:28:22 +00:00
simon.kagstrom
eaa82b3e00 Fixup help messages 2010-03-02 19:59:11 +00:00
simon.kagstrom
c8e4a68ec6 Handle quit in the menu 2010-03-01 11:36:46 +00:00
simon.kagstrom
f45f77bedc discs -> images 2010-03-01 11:25:47 +00:00
simon.kagstrom
c8111361d6 No warning for missing frodorc 2010-03-01 11:13:49 +00:00
simon.kagstrom
a167829510 Joystick and keyboard should be the same 2010-02-28 18:51:57 +00:00
simon.kagstrom
83ce81145e Oops 2010-02-28 18:50:52 +00:00
simon.kagstrom
bf100cef0f Cleanup 2010-02-28 18:49:41 +00:00
simon.kagstrom
af79896457 Empty space 2010-02-28 18:46:07 +00:00
simon.kagstrom
af6a3192cf Some advertisement 2010-02-28 18:31:30 +00:00
simon.kagstrom
068bbd1ef1 Add help 2010-02-28 18:16:41 +00:00
simon.kagstrom
a8e5921841 Correct virtual keyboard events 2010-02-28 17:33:42 +00:00
simon.kagstrom
6a79ffb4f4 Delete network 2010-02-28 17:29:41 +00:00
simon.kagstrom
6e43635fa8 Remove DisplayOption and set fullscreen 2010-02-28 14:09:31 +00:00
simon.kagstrom
d498b09530 Handle joystick swap for controllers as well 2010-02-28 10:23:38 +00:00
simon.kagstrom
61521affd1 Add key delay (joysticks now work in the menu as well) 2010-02-28 10:13:23 +00:00
simon.kagstrom
f790813023 Step one for joystick handling: Centralize handling of SDL_Keys 2010-02-28 10:06:59 +00:00
simon.kagstrom
e352fa10cf Add special image for bind keys 2010-02-28 08:25:59 +00:00
simon.kagstrom
7ef8109788 Refactoring: Rename network_message_box 2010-02-28 08:02:45 +00:00
simon.kagstrom
75385f566b Add server message box support 2010-02-28 07:59:36 +00:00
simon.kagstrom
fa26ae2980 Passing NULL GameInfo is OK 2010-02-27 08:08:26 +00:00
simon.kagstrom
89b8fc07d9 Load game info on restoring saves 2010-02-27 08:07:00 +00:00
simon.kagstrom
99e906239e Valgrind fixes 2010-02-26 11:15:50 +00:00
simon.kagstrom
69a6eae9cf Don't need to be static 2010-02-26 06:34:50 +00:00
simon.kagstrom
192bd8c7a7 Always rearm the timer, evven if we have a message 2010-02-26 06:33:00 +00:00
simon.kagstrom
619fcc1be5 Hack to avoid div-by-zero 2010-02-25 12:24:10 +00:00
simon.kagstrom
eef344a740 Use xmalloc 2010-02-25 11:47:16 +00:00
simon.kagstrom
407107d1a9 Fix valgrind errors (use of uninitialized values) 2010-02-25 10:10:07 +00:00
simon.kagstrom
534e07213c Add status messages during connect 2010-02-25 06:43:33 +00:00
simon.kagstrom
f539e98f96 Disconnect on ... disconnect 2010-02-25 06:38:33 +00:00
simon.kagstrom
eb2e935128 Setup key codes 2010-02-25 06:35:51 +00:00
simon.kagstrom
dc10b6d1a6 Dialogue when saving 2010-02-24 20:33:19 +00:00
simon.kagstrom
42ef9f67c6 Printout-- 2010-02-24 20:28:55 +00:00
simon.kagstrom
6b53a490f8 NULL the game info on view push 2010-02-24 20:25:34 +00:00
simon.kagstrom
913e94fb90 Handle game info from save games 2010-02-24 20:19:37 +00:00
simon.kagstrom
dcf255f1e2 Split send and receive buffers to be able to answer pings 2010-02-24 18:53:07 +00:00
simon.kagstrom
c753e22aa5 Fix bug with unset name (don't exit the menu then) 2010-02-24 12:10:56 +00:00
simon.kagstrom
dd51b51248 Write out configuration deltas (what has changed) instead of the entire
configuration. Makes many things much nicer :-)
2010-02-24 11:34:56 +00:00
simon.kagstrom
a227a19703 Remove printout 2010-02-24 06:54:21 +00:00
simon.kagstrom
514c929e3d Fix save games (only include the actual disc name, not the path) 2010-02-24 06:52:31 +00:00
simon.kagstrom
6e32f8eaef Fixme is fixed 2010-02-24 06:40:10 +00:00
simon.kagstrom
76e8e210ae Handle hat rotation 2010-02-24 06:32:46 +00:00
simon.kagstrom
56f1d9c22d Joystick handling for the menu and the wii. Untested and unfinished. 2010-02-23 20:45:29 +00:00
simon.kagstrom
8e77843d81 Redesign the network and game info menus 2010-02-23 20:10:45 +00:00
simon.kagstrom
a3a9e1ce0d Unused var 2010-02-23 18:25:14 +00:00
simon.kagstrom
80d952aeb1 Fix various joystick issues 2010-02-23 18:24:30 +00:00
simon.kagstrom
326deec9e0 Setup Saitek P380 2010-02-23 18:23:44 +00:00
simon.kagstrom
b2e04e878d Workaround joy init 2010-02-23 18:23:04 +00:00
simon.kagstrom
b972e6f71b Init joysticks 2010-02-23 17:30:57 +00:00
simon.kagstrom
4322df80bf Abort theme selection on escape 2010-02-23 06:48:27 +00:00
simon.kagstrom
edf4499741 Make joysticks default open 2010-02-23 06:47:40 +00:00
simon.kagstrom
a6a05b650e Remove huge chunks of dead code, simplify ping handling (although a
hack is still needed there).
2010-02-22 19:17:49 +00:00
simon.kagstrom
cf043c2fa5 Client network message fixes 2010-02-21 18:42:56 +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
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
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
5895e06a29 More network stuff. 2010-02-15 19:24:52 +00:00