Commit Graph

19 Commits (62ecf2c58a5473c60fe1a7e152f85109eea22cf2)

Author SHA1 Message Date
MysterD 96c19d3c4c Synchronized save files
Now when a client joins, it will request the entire 512 byte EEPROM from
the server and refuse to continue until the server replies with the
contents. Then the client will override all reads and writes to the
EEPROM/save file. Thus, a client will never overwrite their local save.

Fixes #21
2020-09-04 15:07:32 -07:00
MysterD 9e7d7b03ea Removed 'int' from most of networking code
moved -Werror over to 'STRICT'
2020-09-04 11:43:12 -07:00
MysterD 28d6a6fb07 Synchronized Big Boo's Haunt + major changes
Synchronized currentRoom per-player
Synchronized haunted bookshelf, and the bookshelf manager
Synchronized haunted chairs
Synchronized mad piano
Synchronized BBH's tilting trap, and made the physics multiple-player-aware
Synchronized scuttlebugs
Synchronized every variety of Boo
Synchronized elevators
Synchronized flamethrowers
Synchronized the various types of enemy books
Synchronized the book switches
Synchronized jumping box
Made coffins multiple-player-aware

Fixed everything that used gMarioState as an array instead of gMarioStates
Prevented some NPC-dialog softlocks
Prevented the remote player from messing up the local's camera settings
Possibly fixed the relatively rare chain chomp softlock
Possibly fixed the relatively rare chain hoot softlock
Fixed the first-person-camera softlock
Forced camera code to use the correct mario struct
2020-08-26 23:29:40 -07:00
MysterD 3a321fd8dc Fixed visual bug when both players are sliding 2020-08-12 19:14:35 -07:00
MysterD 1994b2711e Various synchronization enhancements 2020-08-11 23:00:13 -07:00
MysterD 2eae2e9f22 Synchronize area changes 2020-08-10 12:08:40 -07:00
MysterD 4584b8b8f2 Gave each BehaviorScript an ID
Created functions to trivially translate an ID to a Behavior and vice
versa. Sent ID over packets instead of Behavior pointer. This should
allow Linux and Windows to play together.
2020-08-09 16:21:12 -07:00
MysterD 6928e39861 Added checksums to packets 2020-08-09 10:44:21 -07:00
MysterD 4257d7ad94 Synchronized 3 types of star spawning, adjusted star interactions 2020-08-08 18:57:04 -07:00
MysterD f77ed51258 Synchronized King Bobomb
Tried to synchronize dialog stuff, it's way too much of a mess to do
2020-08-08 17:13:11 -07:00
MysterD a76dbaeb5c Synchronized coin collection
Reimplemented how randomness is synchronized
2020-08-07 18:01:58 -07:00
MysterD 3eb1269e47 Fixed max sync distance issue, synced Koopas 2020-08-05 20:25:52 -07:00
MysterD 4e37eba8dd Synchronized inside-painting state 2020-08-04 20:49:53 -07:00
MysterD 6e38a80888 Force synchronizing of level changes 2020-08-02 23:02:29 -07:00
MysterD d56d5256f0 Synchronized held objects, made respawners keep their sync ID 2020-08-02 14:18:34 -07:00
MysterD ae1f5bf892 Started synchronizing objects, refactored networking 2020-08-02 01:43:12 -07:00
MysterD ba265e9738 Started adding networking 2020-08-01 20:22:24 -07:00
MysterD 6a96a045c1 Add Luigi's geo file to MSVC 2020-07-30 18:44:31 -07:00
MysterD e759aa603e Added Visual Studio project (code-editing only, no build/debug) 2020-07-30 18:12:05 -07:00