Minor TODO tweaks

This commit is contained in:
Kayne Ruse
2015-02-27 03:36:47 +11:00
parent c45bda645b
commit 3e6a05307e
7 changed files with 10 additions and 13 deletions
+1
View File
@@ -108,6 +108,7 @@ void LobbyMenu::Render(SDL_Surface* const screen) {
back.DrawTo(screen);
//TODO: (1) draw headers for the server list
//TODO: (1) ping/delay displayed in the server list
for (int i = 0; i < serverInfo.size(); i++) {
//draw the selected server's highlight
if (selection == &serverInfo[i]) {
@@ -28,7 +28,7 @@ struct ClientPacket : SerialPacketBase {
int clientIndex;
int accountIndex;
char username[PACKET_STRING_SIZE];
//TODO: (9) password, auth token
//TODO: (3) password, auth token
};
void serializeClient(void* buffer, ClientPacket* packet);
+1 -1
View File
@@ -11,5 +11,5 @@ function mapSaver.Save(r)
io.write("map_saver:Save(", Region.GetX(r), ", ", Region.GetY(r), ")\n")
end
--TODO: (9) create a flexible saving & loading system
--TODO: (3) create a flexible saving & loading system
return mapSaver
+2 -2
View File
@@ -1,8 +1,8 @@
--TODO: (9) An archive table of all dead characters
--TODO: (3) An archive table of all dead characters
CREATE TABLE IF NOT EXISTS Accounts (
uid INTEGER PRIMARY KEY AUTOINCREMENT,
username varchar(100) UNIQUE, --TODO: (9) Swap username for email address
username varchar(100) UNIQUE, --TODO: (3) Swap username for email address
--server-client security
-- passhash varchar(100),
+1 -1
View File
@@ -85,5 +85,5 @@ void ServerApplication::hAdminShutdownRequest(ClientPacket* const argPacket) {
}
void ServerApplication::SaveServerState() {
//TODO: (9) ServerApplication::SaveServerState()
//TODO: (2) Periodic mass server saves
}
+1
View File
@@ -32,6 +32,7 @@
#include <map>
#include <string>
//TODO: (1) rename this system to the "trigger" system
class WaypointManager {
public:
WaypointManager();
+3 -8
View File
@@ -1,21 +1,18 @@
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
TODO: Account passwords (list)
* backbone account server OR
* social network login OR
* ...
* salts & hashes
* login screen prompting for username & password
TODO: Features
* Make sure login errors are sent to 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.
* Waypoints, with positions and trigger zones (collision areas) for doors, monster spawns, etc. (trigger system)
* Fix shoddy movement
* Periodic mass server saves
* Remove the big "Shut Down" button (currently broken...)
* Make a way for the server owner to control the server directly
* The TileSheet class should implement the surface itself
@@ -24,6 +21,4 @@ TODO: Features
* Fix the const-ness of accessors
* Add a screenshot of the game to README.md
* joystick/gamepad support
* add the tilesheet to the map system
* ping/delay displayed in the lobby
* login screen prompting for username & password
* add the tilesheet to the map system