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 |
|
simon.kagstrom
|
a9fffcce87
|
Fix some protocol errors (there are more)
|
2010-02-15 18:20:37 +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
|
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
|
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 |
|
simon.kagstrom
|
7ab4f8f443
|
Separate server and peer addresses
|
2010-02-14 08:57:55 +00:00 |
|
simon.kagstrom
|
f2a9185cc0
|
Rename connection_addr -> peer_addr (thanks again eclipse)
|
2010-02-14 08:28:40 +00:00 |
|
simon.kagstrom
|
a0fb08b79f
|
Rename peer->network (thank you, eclipse!)
|
2010-02-14 08:10:11 +00:00 |
|
simon.kagstrom
|
7b3cd3555a
|
Implement peer selection properly (though still untested)
|
2010-02-14 08:05:08 +00:00 |
|
simon.kagstrom
|
eff65f446c
|
Don't include CmdPipe.h
|
2010-02-13 07:43:13 +00:00 |
|
simon.kagstrom
|
580a876773
|
Cleanup
|
2010-02-13 07:36:11 +00:00 |
|
simon.kagstrom
|
5ae81fc5bf
|
Forgot network user menu header file
|
2010-02-13 07:34:03 +00:00 |
|
simon.kagstrom
|
a5618a93d7
|
Redesign the network setup. Untested of course.
|
2010-02-12 06:35:24 +00:00 |
|
simon.kagstrom
|
530f10f842
|
Restore arrow key handling
|
2010-02-11 18:59:48 +00:00 |
|
simon.kagstrom
|
23a2a239ac
|
Delete
|
2010-02-11 18:57:40 +00:00 |
|
simon.kagstrom
|
fcae69e09e
|
Add and create network user view
|
2010-02-11 18:57:08 +00:00 |
|
simon.kagstrom
|
1f33a6511f
|
Also remove the define
|
2010-02-11 18:56:45 +00:00 |
|
simon.kagstrom
|
9513dc9849
|
Remove GLOBAL_VARS micro optimization
|
2010-02-11 18:56:10 +00:00 |
|
simon.kagstrom
|
46d0980f50
|
Add a info box for the network peers. Completely untested, of course.
|
2010-02-11 06:37:01 +00:00 |
|
simon.kagstrom
|
c5053b8c61
|
Add a network user selection menu (unfinished, untested)
|
2010-02-10 18:16:55 +00:00 |
|
simon.kagstrom
|
65de419c34
|
Remove some unneeded code and gekko stuff
|
2010-02-10 18:16:31 +00:00 |
|
simon.kagstrom
|
f710bacf73
|
Add helper in utils to create a SDL_Surface from data
|
2010-02-10 18:10:31 +00:00 |
|
simon.kagstrom
|
5841aa35a3
|
Zero number of entries as well to avoid crashes on free
|
2010-02-10 08:50:25 +00:00 |
|
simon.kagstrom
|
55064b61cf
|
Fix wii build and remove Wii-specific joystick handling
|
2010-02-10 06:30:08 +00:00 |
|
simon.kagstrom
|
11bb978e49
|
Move SDL stuff to Display.cpp
|
2010-02-10 06:15:03 +00:00 |
|
simon.kagstrom
|
bf0d8c5e90
|
Handle selection of None correctly
|
2010-02-09 19:08:16 +00:00 |
|
simon.kagstrom
|
171e274b9a
|
Fix memleak
|
2010-02-09 14:20:08 +00:00 |
|
simon.kagstrom
|
401b93baa9
|
Init to fix valgrind use-of-uninitialized problem
|
2010-02-09 12:16:58 +00:00 |
|
simon.kagstrom
|
9b7517fde5
|
Fix valgrind errors
|
2010-02-09 11:41:30 +00:00 |
|
simon.kagstrom
|
5bc596f617
|
Make menu_messages a C file to avoid various C++ problems
|
2010-02-09 11:33:30 +00:00 |
|
simon.kagstrom
|
e550985aef
|
Correct string allocations (sigh, C++ doesn't behave like an old C
programmer like me expects it to. I'll adapt)
|
2010-02-09 10:02:05 +00:00 |
|
simon.kagstrom
|
25b25d413c
|
Fix 1541job warnings
|
2010-02-09 06:16:07 +00:00 |
|
simon.kagstrom
|
6e29c502a4
|
Tape warning fixes...
|
2010-02-08 18:53:20 +00:00 |
|
simon.kagstrom
|
bd26a17da3
|
C64 warning fixes
|
2010-02-08 18:44:58 +00:00 |
|
simon.kagstrom
|
108de6db83
|
Fix warnings in 1541 code
|
2010-02-08 18:40:04 +00:00 |
|
simon.kagstrom
|
5ec3b0ecd0
|
Fix regression in r659
|
2010-02-08 18:36:28 +00:00 |
|
simon.kagstrom
|
23a2511e54
|
VIC_SC.cpp: Warning fix
|
2010-02-08 18:25:38 +00:00 |
|
simon.kagstrom
|
51aa03ce04
|
Fix warnings and remove SAM
|
2010-02-08 18:24:00 +00:00 |
|
simon.kagstrom
|
c5b7b8e539
|
Warning fixes in CPU emulation
|
2010-02-08 18:16:38 +00:00 |
|
simon.kagstrom
|
33ac22c693
|
Remove RiscOS compatibility and fix warnings
|
2010-02-08 18:02:27 +00:00 |
|
simon.kagstrom
|
e2dcd7475a
|
Don't bail out if the prefs isn't found
|
2010-02-08 17:56:32 +00:00 |
|
simon.kagstrom
|
80239a0b5d
|
Add warning_if
|
2010-02-08 17:55:23 +00:00 |
|
simon.kagstrom
|
9e3796d44d
|
Fix sound warnings and remove catweasel support
|
2010-02-07 17:20:47 +00:00 |
|
simon.kagstrom
|
318a5fcd0d
|
Fix stat check, reorder paths and add . (CWD)
|
2010-02-07 17:04:27 +00:00 |
|
simon.kagstrom
|
ffe18cf372
|
Look for frodorc in different paths
|
2010-02-07 16:15:36 +00:00 |
|
simon.kagstrom
|
1500513de6
|
Simplify a bit more: Remove main_x/main_wii
|
2010-02-07 15:14:52 +00:00 |
|
simon.kagstrom
|
25463e5adf
|
Delete unused stuff (not needed for the C64 network)
|
2010-02-07 14:48:39 +00:00 |
|
simon.kagstrom
|
5dbee35e1c
|
Remove dead platforms
|
2010-02-07 14:39:43 +00:00 |
|
simon.kagstrom
|
804c7c44c5
|
More cleanup
|
2010-02-07 14:36:20 +00:00 |
|
simon.kagstrom
|
89dcf0318d
|
Dead code - remove
|
2010-02-07 14:34:45 +00:00 |
|
simon.kagstrom
|
b9880faf01
|
Constify Load/Save
|
2010-02-07 14:31:24 +00:00 |
|
simon.kagstrom
|
3a83b3f66a
|
0...1000 is the key range
|
2010-02-07 14:24:50 +00:00 |
|
simon.kagstrom
|
56c4742f75
|
Simplifly data registry and reserve 0...1000 as client range
|
2010-02-07 09:52:36 +00:00 |
|
simon.kagstrom
|
6b4014dfca
|
Handle register data in marshal/demarshal and packet reception
|
2010-02-07 09:37:21 +00:00 |
|
simon.kagstrom
|
6e3a5d74e0
|
Rename data packets
|
2010-02-07 09:22:37 +00:00 |
|
simon.kagstrom
|
1e50aa3c28
|
Move network broker
|
2010-02-06 16:25:11 +00:00 |
|
simon.kagstrom
|
c8c231ebb2
|
New type
|
2010-02-06 16:22:52 +00:00 |
|
simon.kagstrom
|
43070ad2d9
|
Remove sysconfig.h dependency for the host as well, and skip it on wii clean
|
2010-02-06 16:16:43 +00:00 |
|
simon.kagstrom
|
853bed122e
|
Make it build for the Wii again. No, it won't run.
|
2010-02-06 16:10:09 +00:00 |
|
simon.kagstrom
|
c1a7977ba3
|
Temporarily new network port
|
2010-02-06 14:01:22 +00:00 |
|
simon.kagstrom
|
332264abcb
|
Add screenshot to network connect messages (not tested)
|
2010-02-06 14:00:12 +00:00 |
|
simon.kagstrom
|
3983fbb7d2
|
Bail out if surf is NULL
|
2010-02-06 07:37:00 +00:00 |
|
simon.kagstrom
|
fc4eec3d64
|
Add data store implementation (not used yet)
|
2010-02-06 07:33:56 +00:00 |
|
simon.kagstrom
|
959483352c
|
CIA_SC.cpp: Fix warnings
|
2010-01-31 09:01:17 +00:00 |
|
simon.kagstrom
|
1068d40eca
|
Add functionality to setup joystick defaults (for Wii only now)
|
2010-01-31 08:42:40 +00:00 |
|
simon.kagstrom
|
3ce9066309
|
Open joystick also for Wii
|
2010-01-31 08:00:15 +00:00 |
|
simon.kagstrom
|
450260dd59
|
Add year to the game info
|
2010-01-31 07:58:48 +00:00 |
|
simon.kagstrom
|
0e441a5ea7
|
Add flags and bump version of the game info stuff. This is mostly for
testing, but will be good to have in the future.
|
2010-01-30 20:03:17 +00:00 |
|
simon.kagstrom
|
b8c8b8673c
|
The wii doesn't have network.h
|
2010-01-30 19:22:04 +00:00 |
|
simon.kagstrom
|
f810670388
|
Store score in the dump
|
2010-01-30 19:21:01 +00:00 |
|
simon.kagstrom
|
0f6cc25ae5
|
Add a score associated with updating the game info
|
2010-01-30 19:06:18 +00:00 |
|
simon.kagstrom
|
b3a33134aa
|
Set screenshot through a setter
|
2010-01-30 19:03:10 +00:00 |
|
simon.kagstrom
|
54e41df785
|
Return to the first selection when reentering the menu
|
2010-01-30 18:57:24 +00:00 |
|
simon.kagstrom
|
3d072f63c8
|
Less irrelevant printouts
|
2010-01-30 18:55:02 +00:00 |
|
simon.kagstrom
|
78da43f300
|
Switch insert/start (start is most common)
|
2010-01-30 18:54:41 +00:00 |
|
simon.kagstrom
|
6ff06c0d1f
|
Default to filename for name if name isn't set
|
2010-01-30 18:52:14 +00:00 |
|
simon.kagstrom
|
94c53ceb22
|
Timed out objects must be disarmed
|
2010-01-30 18:43:33 +00:00 |
|