Changed a massive swap statement for bounds checks
Instead of using a massive block of case statements in serial_utility.cpp, I've added FORMAT_* tags to SerialPacketType as a way to destinguish between type values, at least internally. I can't believe I missed this for so long. I've also added a placeholder for the network API, as I was working on that when I ran into this problem.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
TODO: upgrade to lua 5.3
|
||||
TODO: Split config.cfg in two, one for the server and the client
|
||||
|
||||
TODO: In need of script APIs (list)
|
||||
* Characters
|
||||
|
||||
@@ -9,7 +12,6 @@ TODO: Account passwords (list)
|
||||
|
||||
TODO: Features
|
||||
* Make sure login errors are sent to the client
|
||||
* Split config.cfg in two, one for the server and the client
|
||||
* Add the "home" parameter to the server's config file
|
||||
* Waypoints, with positions and trigger zones (collision areas) for doors, monster spawns, etc.
|
||||
* Fix shoddy movement
|
||||
|
||||
Reference in New Issue
Block a user