Minor TODO tweaks
This commit is contained in:
@@ -108,6 +108,7 @@ void LobbyMenu::Render(SDL_Surface* const screen) {
|
|||||||
back.DrawTo(screen);
|
back.DrawTo(screen);
|
||||||
|
|
||||||
//TODO: (1) draw headers for the server list
|
//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++) {
|
for (int i = 0; i < serverInfo.size(); i++) {
|
||||||
//draw the selected server's highlight
|
//draw the selected server's highlight
|
||||||
if (selection == &serverInfo[i]) {
|
if (selection == &serverInfo[i]) {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ struct ClientPacket : SerialPacketBase {
|
|||||||
int clientIndex;
|
int clientIndex;
|
||||||
int accountIndex;
|
int accountIndex;
|
||||||
char username[PACKET_STRING_SIZE];
|
char username[PACKET_STRING_SIZE];
|
||||||
//TODO: (9) password, auth token
|
//TODO: (3) password, auth token
|
||||||
};
|
};
|
||||||
|
|
||||||
void serializeClient(void* buffer, ClientPacket* packet);
|
void serializeClient(void* buffer, ClientPacket* packet);
|
||||||
|
|||||||
@@ -11,5 +11,5 @@ function mapSaver.Save(r)
|
|||||||
io.write("map_saver:Save(", Region.GetX(r), ", ", Region.GetY(r), ")\n")
|
io.write("map_saver:Save(", Region.GetX(r), ", ", Region.GetY(r), ")\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
--TODO: (9) create a flexible saving & loading system
|
--TODO: (3) create a flexible saving & loading system
|
||||||
return mapSaver
|
return mapSaver
|
||||||
@@ -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 (
|
CREATE TABLE IF NOT EXISTS Accounts (
|
||||||
uid INTEGER PRIMARY KEY AUTOINCREMENT,
|
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
|
--server-client security
|
||||||
-- passhash varchar(100),
|
-- passhash varchar(100),
|
||||||
|
|||||||
@@ -85,5 +85,5 @@ void ServerApplication::hAdminShutdownRequest(ClientPacket* const argPacket) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ServerApplication::SaveServerState() {
|
void ServerApplication::SaveServerState() {
|
||||||
//TODO: (9) ServerApplication::SaveServerState()
|
//TODO: (2) Periodic mass server saves
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
//TODO: (1) rename this system to the "trigger" system
|
||||||
class WaypointManager {
|
class WaypointManager {
|
||||||
public:
|
public:
|
||||||
WaypointManager();
|
WaypointManager();
|
||||||
|
|||||||
@@ -1,21 +1,18 @@
|
|||||||
TODO: upgrade to lua 5.3
|
TODO: upgrade to lua 5.3
|
||||||
TODO: Split config.cfg in two, one for the server and the client
|
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)
|
TODO: Account passwords (list)
|
||||||
* backbone account server OR
|
* backbone account server OR
|
||||||
* social network login OR
|
* social network login OR
|
||||||
* ...
|
* ...
|
||||||
* salts & hashes
|
* salts & hashes
|
||||||
|
* login screen prompting for username & password
|
||||||
|
|
||||||
TODO: Features
|
TODO: Features
|
||||||
* Make sure login errors are sent to the client
|
* Make sure login errors are sent to the client
|
||||||
* Add the "home" parameter to the server's config file
|
* 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
|
* Fix shoddy movement
|
||||||
* Periodic mass server saves
|
|
||||||
* Remove the big "Shut Down" button (currently broken...)
|
* Remove the big "Shut Down" button (currently broken...)
|
||||||
* Make a way for the server owner to control the server directly
|
* Make a way for the server owner to control the server directly
|
||||||
* The TileSheet class should implement the surface itself
|
* The TileSheet class should implement the surface itself
|
||||||
@@ -25,5 +22,3 @@ TODO: Features
|
|||||||
* Add a screenshot of the game to README.md
|
* Add a screenshot of the game to README.md
|
||||||
* joystick/gamepad support
|
* joystick/gamepad support
|
||||||
* add the tilesheet to the map system
|
* add the tilesheet to the map system
|
||||||
* ping/delay displayed in the lobby
|
|
||||||
* login screen prompting for username & password
|
|
||||||
Reference in New Issue
Block a user