Commit Graph

402 Commits

Author SHA1 Message Date
simon.kagstrom
f42186e0ef Add nunchuk support (Aaron Morris) 2009-03-08 08:59:29 +00:00
simon.kagstrom
2bbbe035ff Make the stuff compile for Wii, removed some cruft and correct the network key 2009-03-01 15:47:50 +00:00
simon.kagstrom
ae2a0a2fb2 Network cleanup (merge some stuff into the wii part) 2009-03-01 14:41:18 +00:00
simon.kagstrom
a81356aee7 Allow setting host on local connections 2009-03-01 14:27:17 +00:00
simon.kagstrom
cca6c03c00 Handle errors, better logging of sent messages 2009-03-01 14:26:40 +00:00
simon.kagstrom
34359ec7bb Implement the user interface for the network support. You can now
connect from the menu as well and also abort connections.
2009-03-01 11:04:47 +00:00
simon.kagstrom
4e2de3ac50 Whitespace 2009-03-01 11:03:29 +00:00
simon.kagstrom
e65ac515f7 Handle network settings in the menu 2009-03-01 08:27:53 +00:00
simon.kagstrom
fa543ac596 Log from the daemon 2009-03-01 07:47:22 +00:00
simon.kagstrom
b6010f9508 Classic + and - reversed 2009-03-01 07:15:53 +00:00
simon.kagstrom
efb8cbd0a1 Removed some printouts 2009-02-28 19:52:41 +00:00
simon.kagstrom
20d7d7cb87 Correct handling of server id to allow multiple connects 2009-02-28 19:42:11 +00:00
simon.kagstrom
ee84f8f727 First working version of the network broker + UDP hole punching. Well, at
least locally on the machine :-)
2009-02-28 18:45:26 +00:00
simon.kagstrom
aa7c41770b Correct shifted key bindings 2009-02-28 11:26:57 +00:00
simon.kagstrom
049a3846b4 Fix binding bug 2009-02-28 11:13:00 +00:00
simon.kagstrom
7ac3932818 Prepare for next release 2009-02-23 18:52:40 +00:00
simon.kagstrom
b4a1e7f865 Release 2009-02-23 18:30:43 +00:00
simon.kagstrom
5c890597f0 New prefs 2009-02-23 18:29:34 +00:00
simon.kagstrom
4c4c43991e Exit to the menu (for Wads) 2009-02-23 18:24:36 +00:00
simon.kagstrom
e92e166f77 Speed changes - AGAIN 2009-02-21 13:05:29 +00:00
simon.kagstrom
54c033bc61 Correct key bindings for directions 2009-02-21 09:49:20 +00:00
simon.kagstrom
f02a2d7055 Fix case when multiple buttons are bound to the same key 2009-02-21 09:01:33 +00:00
simon.kagstrom
ed13ce7073 Re-fix Wii compile 2009-02-21 07:59:45 +00:00
simon.kagstrom
4e90dad903 The network stuff should be finsihed now. But it's untested still 2009-02-16 19:20:00 +00:00
simon.kagstrom
18b0f333f5 Even more menu simplification 2009-02-13 07:58:33 +00:00
simon.kagstrom
b2ca587041 Implemented broker communication (untested, might not compile) 2009-02-13 07:57:40 +00:00
simon.kagstrom
debf526c38 Implement binding of keys to any wiimote direction or button. If it
works? Who knows :-)

Also some comments about what network should do.
2009-02-11 20:07:28 +00:00
simon.kagstrom
331320c6e5 Don't wait forever 2009-02-08 11:52:09 +00:00
simon.kagstrom
09bca43d1c Yet another refactoring of the network stuff. When will this end? Who knows? 2009-02-08 11:27:56 +00:00
simon.kagstrom
63e7cab880 Naming 2009-02-08 08:22:15 +00:00
simon.kagstrom
1daa74debe Remove some gibberish and german 2009-02-07 18:50:01 +00:00
simon.kagstrom
ef79dac020 Fixed network communication with UDP now. Connection is still ad-hoc so this
isn't really finished yet. Well, well. We'll see about that :-)
2009-02-07 18:24:50 +00:00
simon.kagstrom
e5ca00de87 No need to link the unused SDL_image 2009-02-07 12:12:55 +00:00
simon.kagstrom
1f1c7da4ef Unbreak Wii again 2009-02-07 11:28:29 +00:00
simon.kagstrom
b714e699fb lots of very broken network stuff 2009-02-07 11:08:50 +00:00
simon.kagstrom
138854cc88 Moved network data structures out of the union, added some future defines 2009-02-03 18:10:09 +00:00
simon.kagstrom
568e6eb5b7 Sound network stuff (not working yet) 2009-02-02 19:51:58 +00:00
simon.kagstrom
a0a3097dec Throttle before encoding display, otherwise updates can be missed 2009-02-02 18:36:51 +00:00
simon.kagstrom
8c73c900df Refactored the network implementation. It's now based on a
singleton/factory pattern where peers are equal (almost!). This has
simplified the code a bit and also in theory allows clients to
"re-export" connections to third/fourth/... parties.
2009-02-01 19:47:21 +00:00
simon.kagstrom
2ab9d452dc Prepare for the future... 2009-02-01 10:52:32 +00:00
simon.kagstrom
c593cd43dd Allow setting hostname 2009-02-01 09:04:46 +00:00
simon.kagstrom
1a29531f81 Added binding of joystick directions, add throttling info to the traffic meter 2009-01-31 07:51:23 +00:00
simon.kagstrom
f317afd4e8 Implemented traffic throttling (skipping frames if needed). There is
probably some work to do to get a steady transfer state working well.
2009-01-30 17:49:47 +00:00
simon.kagstrom
47f73f2b83 Minor refactoring, only send joystick data on changes 2009-01-30 15:37:15 +00:00
simon.kagstrom
5a0941ff7e Send joystick data over the network as well, games are mostly playable now 2009-01-29 21:11:04 +00:00
simon.kagstrom
3c3d364190 Actually receive disconnects, allow server updates 2009-01-29 20:48:58 +00:00
simon.kagstrom
1fc28d9bbf Small bug fix, close socket 2009-01-29 20:35:06 +00:00
simon.kagstrom
978f0ce537 Do network vblank last, correct spelling 2009-01-29 20:26:40 +00:00
simon.kagstrom
f8f469ddaa Disconnection code, some refactoring, sock opts (broken) 2009-01-29 18:04:31 +00:00
simon.kagstrom
0a40441b46 This is now dead code. Bye bye 2009-01-28 20:59:37 +00:00