Commit Graph

688 Commits

Author SHA1 Message Date
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
15876d1ba3 Use UL/LI 2010-02-28 08:56:45 +00:00
simon.kagstrom
839972cabc Write out server messages on the stats page 2010-02-28 08:52:34 +00:00
simon.kagstrom
ae23c0c4c2 Log message deletion 2010-02-28 08:31:06 +00:00
simon.kagstrom
8f5c351af7 Caption 2010-02-28 08:27:42 +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
76c82882ad Update HTML on moving peers 2010-02-27 07:26:54 +00:00
simon.kagstrom
2327d91ed2 Remove debug printout 2010-02-27 07:22:58 +00:00
simon.kagstrom
3a0b3ee15a Regenerate stats page when someone is removed, remove gibberish 2010-02-27 07:22:28 +00:00
simon.kagstrom
4e9d876750 Always reset acitve and waiting on reloading 2010-02-27 07:19:09 +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
115a12b958 Generate statistics on current number of active and waiting players 2010-02-25 11:57:25 +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
695f3b9471 More broken printouts removed 2010-02-24 15:49:15 +00:00
simon.kagstrom
6239aa9d3b No gibberish 2010-02-24 15:47:29 +00:00
simon.kagstrom
84266ee93e Maintain two lists of peers
One pending (peers that can be connected to) and one active (peers
that are playing). Peers are pinged until they disconnect so that we
can maintain the number of active peers.
2010-02-24 15:43:56 +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
2bff881744 Randomize at start, then use an index 2010-02-24 06:43:48 +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
341c31bfd1 Reset port 2010-02-23 20:44:55 +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