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:
Kayne Ruse
2015-02-21 23:46:50 +11:00
parent ddedc06e47
commit 46df0f17b7
7 changed files with 155 additions and 117 deletions
+3 -1
View File
@@ -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