Commit Graph

  • 94cb9bb1df correct spelling simon.kagstrom 2009-04-02 18:21:43 +00:00
  • ac1796e168 Count the total number of connections simon.kagstrom 2009-03-31 17:27:47 +00:00
  • b23dbc74ab Oops, removed echo again... simon.kagstrom 2009-03-31 17:17:30 +00:00
  • d5e5d740fd Produce HTML output from the server simon.kagstrom 2009-03-31 17:16:10 +00:00
  • 7d0453cd5c Dead code from NetworkUnix.h simon.kagstrom 2009-03-29 17:42:31 +00:00
  • c730b2b185 No need to call net_init simon.kagstrom 2009-03-29 17:42:12 +00:00
  • 2cc9a827c3 Even more dead code simon.kagstrom 2009-03-29 17:31:48 +00:00
  • 70ad18ab1d Remove some dead code simon.kagstrom 2009-03-29 17:31:04 +00:00
  • d7b06cdbef Forgot to use define :-) simon.kagstrom 2009-03-29 17:23:27 +00:00
  • 98b6ad2e55 No need to use net_bind simon.kagstrom 2009-03-29 16:46:55 +00:00
  • 2e429f2418 Better wording simon.kagstrom 2009-03-29 14:26:34 +00:00
  • 731faf709c Skip the country code simon.kagstrom 2009-03-29 13:02:25 +00:00
  • 794a8abf03 ... Correct ip->country again... simon.kagstrom 2009-03-29 13:00:44 +00:00
  • 6388778cfb Correct addr simon.kagstrom 2009-03-29 12:57:44 +00:00
  • 67b3abc248 Oops, correct ip lookup simon.kagstrom 2009-03-29 12:49:18 +00:00
  • a3c862b08a Updated simon.kagstrom 2009-03-29 12:45:53 +00:00
  • f56252c045 On the Wii, don't map arrow keys to the joystick simon.kagstrom 2009-03-29 12:45:12 +00:00
  • 2881a4111a Do country lookup and improve logging. And don't echo always! simon.kagstrom 2009-03-29 12:44:35 +00:00
  • 5c4e39cae7 Add hash-bang simon.kagstrom 2009-03-29 08:10:45 +00:00
  • eb8344fe5b Rename to a bit more logical name... simon.kagstrom 2009-03-29 08:09:54 +00:00
  • 240994427e Make executable simon.kagstrom 2009-03-29 08:09:21 +00:00
  • 9965a8de82 Add explaining message simon.kagstrom 2009-03-29 08:07:07 +00:00
  • 1c3d1a45cc No debug output simon.kagstrom 2009-03-28 16:49:27 +00:00
  • 93b7c1eb4b Translate packet numbers to names simon.kagstrom 2009-03-28 15:23:54 +00:00
  • bc6bc61cf0 Implemented ping / ack between the broker and the peers. Every 5 seconds the broker will try to ping the peers, and if the peer hasn't replied within 15 seconds, it is removed lazily when a client connects. simon.kagstrom 2009-03-28 15:18:50 +00:00
  • c79f6195ad Small corrections of refreshing + byte ordering simon.kagstrom 2009-03-28 13:03:50 +00:00
  • 55cbd752c6 Also fix network byte order on the broker side simon.kagstrom 2009-03-28 13:02:24 +00:00
  • f5f6f20113 More fixing of network byte ordering problems simon.kagstrom 2009-03-28 12:55:11 +00:00
  • bd757f9479 Periodically refresh the screen if bandwidth allows simon.kagstrom 2009-03-28 12:37:06 +00:00
  • 61108c59a0 Correct marshalling of peers simon.kagstrom 2009-03-28 11:32:59 +00:00
  • 2536022038 Correct quit when the wii is using networking, move network init to Network.cpp simon.kagstrom 2009-03-28 09:34:31 +00:00
  • d18dd25eb6 Use poll instead of select simon.kagstrom 2009-03-28 07:59:20 +00:00
  • 0916f0025d Send at most 4096 bytes so that wii networking *can* work. The Wii can now connect at least, but the connection (through the broker) still doesn't work. Well, well, might be some other problem. simon.kagstrom 2009-03-16 20:56:04 +00:00
  • 0becbb20e4 libpng is not used - skip simon.kagstrom 2009-03-14 13:13:20 +00:00
  • 0deefd40e3 Added release simon.kagstrom 2009-03-14 07:06:14 +00:00
  • 7ab7e97502 Some cleanup and refactoring simon.kagstrom 2009-03-09 19:28:20 +00:00
  • 835d481221 Correct some key binding issues simon.kagstrom 2009-03-09 18:54:43 +00:00
  • cc9e8dc583 Release date simon.kagstrom 2009-03-08 19:04:31 +00:00
  • 0298df2061 Lots of wii network fixes, updated changelog simon.kagstrom 2009-03-08 19:02:19 +00:00
  • ca77dcfb1d Handle classic analogue parts, refactoring simon.kagstrom 2009-03-08 09:46:20 +00:00
  • 470d14d24a Nunchuk fire, some cleanup simon.kagstrom 2009-03-08 09:03:45 +00:00
  • b634d52637 Python 2.4 support simon.kagstrom 2009-03-08 09:00:13 +00:00
  • f42186e0ef Add nunchuk support (Aaron Morris) simon.kagstrom 2009-03-08 08:59:29 +00:00
  • 2bbbe035ff Make the stuff compile for Wii, removed some cruft and correct the network key simon.kagstrom 2009-03-01 15:47:50 +00:00
  • ae2a0a2fb2 Network cleanup (merge some stuff into the wii part) simon.kagstrom 2009-03-01 14:41:18 +00:00
  • a81356aee7 Allow setting host on local connections simon.kagstrom 2009-03-01 14:27:17 +00:00
  • cca6c03c00 Handle errors, better logging of sent messages simon.kagstrom 2009-03-01 14:26:40 +00:00
  • 34359ec7bb Implement the user interface for the network support. You can now connect from the menu as well and also abort connections. simon.kagstrom 2009-03-01 11:04:47 +00:00
  • 4e2de3ac50 Whitespace simon.kagstrom 2009-03-01 11:03:29 +00:00
  • e65ac515f7 Handle network settings in the menu simon.kagstrom 2009-03-01 08:27:53 +00:00
  • fa543ac596 Log from the daemon simon.kagstrom 2009-03-01 07:47:22 +00:00
  • b6010f9508 Classic + and - reversed simon.kagstrom 2009-03-01 07:15:53 +00:00
  • efb8cbd0a1 Removed some printouts simon.kagstrom 2009-02-28 19:52:41 +00:00
  • 20d7d7cb87 Correct handling of server id to allow multiple connects simon.kagstrom 2009-02-28 19:42:11 +00:00
  • ee84f8f727 First working version of the network broker + UDP hole punching. Well, at least locally on the machine :-) simon.kagstrom 2009-02-28 18:45:26 +00:00
  • aa7c41770b Correct shifted key bindings simon.kagstrom 2009-02-28 11:26:57 +00:00
  • 049a3846b4 Fix binding bug simon.kagstrom 2009-02-28 11:13:00 +00:00
  • 7ac3932818 Prepare for next release simon.kagstrom 2009-02-23 18:52:40 +00:00
  • b4a1e7f865 Release simon.kagstrom 2009-02-23 18:30:43 +00:00
  • 5c890597f0 New prefs simon.kagstrom 2009-02-23 18:29:34 +00:00
  • 4c4c43991e Exit to the menu (for Wads) simon.kagstrom 2009-02-23 18:24:36 +00:00
  • e92e166f77 Speed changes - AGAIN simon.kagstrom 2009-02-21 13:05:29 +00:00
  • 54c033bc61 Correct key bindings for directions simon.kagstrom 2009-02-21 09:49:20 +00:00
  • f02a2d7055 Fix case when multiple buttons are bound to the same key simon.kagstrom 2009-02-21 09:01:33 +00:00
  • ed13ce7073 Re-fix Wii compile simon.kagstrom 2009-02-21 07:59:45 +00:00
  • 4e90dad903 The network stuff should be finsihed now. But it's untested still simon.kagstrom 2009-02-16 19:20:00 +00:00
  • 18b0f333f5 Even more menu simplification simon.kagstrom 2009-02-13 07:58:33 +00:00
  • b2ca587041 Implemented broker communication (untested, might not compile) simon.kagstrom 2009-02-13 07:57:40 +00:00
  • debf526c38 Implement binding of keys to any wiimote direction or button. If it works? Who knows :-) simon.kagstrom 2009-02-11 20:07:28 +00:00
  • 331320c6e5 Don't wait forever simon.kagstrom 2009-02-08 11:52:09 +00:00
  • 09bca43d1c Yet another refactoring of the network stuff. When will this end? Who knows? simon.kagstrom 2009-02-08 11:27:56 +00:00
  • 63e7cab880 Naming simon.kagstrom 2009-02-08 08:22:15 +00:00
  • 1daa74debe Remove some gibberish and german simon.kagstrom 2009-02-07 18:50:01 +00:00
  • 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 :-) simon.kagstrom 2009-02-07 18:24:50 +00:00
  • e5ca00de87 No need to link the unused SDL_image simon.kagstrom 2009-02-07 12:12:55 +00:00
  • 1f1c7da4ef Unbreak Wii again simon.kagstrom 2009-02-07 11:28:29 +00:00
  • b714e699fb lots of very broken network stuff simon.kagstrom 2009-02-07 11:08:50 +00:00
  • 138854cc88 Moved network data structures out of the union, added some future defines simon.kagstrom 2009-02-03 18:10:09 +00:00
  • 568e6eb5b7 Sound network stuff (not working yet) simon.kagstrom 2009-02-02 19:51:58 +00:00
  • a0a3097dec Throttle before encoding display, otherwise updates can be missed simon.kagstrom 2009-02-02 18:36:51 +00:00
  • 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. simon.kagstrom 2009-02-01 19:47:21 +00:00
  • 2ab9d452dc Prepare for the future... simon.kagstrom 2009-02-01 10:52:32 +00:00
  • c593cd43dd Allow setting hostname simon.kagstrom 2009-02-01 09:04:46 +00:00
  • 1a29531f81 Added binding of joystick directions, add throttling info to the traffic meter simon.kagstrom 2009-01-31 07:51:23 +00:00
  • f317afd4e8 Implemented traffic throttling (skipping frames if needed). There is probably some work to do to get a steady transfer state working well. simon.kagstrom 2009-01-30 17:49:47 +00:00
  • 47f73f2b83 Minor refactoring, only send joystick data on changes simon.kagstrom 2009-01-30 15:37:15 +00:00
  • 5a0941ff7e Send joystick data over the network as well, games are mostly playable now simon.kagstrom 2009-01-29 21:11:04 +00:00
  • 3c3d364190 Actually receive disconnects, allow server updates simon.kagstrom 2009-01-29 20:48:58 +00:00
  • 1fc28d9bbf Small bug fix, close socket simon.kagstrom 2009-01-29 20:35:06 +00:00
  • 978f0ce537 Do network vblank last, correct spelling simon.kagstrom 2009-01-29 20:26:40 +00:00
  • f8f469ddaa Disconnection code, some refactoring, sock opts (broken) simon.kagstrom 2009-01-29 18:04:31 +00:00
  • 0a40441b46 This is now dead code. Bye bye simon.kagstrom 2009-01-28 20:59:37 +00:00
  • bdcad56361 Merged the display encoding simon.kagstrom 2009-01-28 20:57:48 +00:00
  • 5eca531105 Corrected the diff implementation, refactored the networking implementation simon.kagstrom 2009-01-26 21:00:23 +00:00
  • f693404434 New icon simon.kagstrom 2009-01-26 06:20:46 +00:00
  • 404dfdc409 Added diff update as well, more frequent kb/s updates simon.kagstrom 2009-01-25 10:07:51 +00:00
  • c2a49cde0f Add display string for the transfer speed simon.kagstrom 2009-01-25 07:22:44 +00:00
  • 8b6f14dcaa Replaced icon with that from wilsoff instead simon.kagstrom 2009-01-25 07:03:26 +00:00
  • 83d797ede3 Somewhat working networking (hey - hardcoding!) simon.kagstrom 2009-01-24 20:57:23 +00:00
  • f31320b774 Various networking stuff simon.kagstrom 2009-01-24 15:48:43 +00:00