Comment tweaks, updated network version

This commit is contained in:
Kayne Ruse
2015-02-14 23:54:18 +11:00
parent 18b144fa46
commit 87af4f1a1e
13 changed files with 32 additions and 27 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ protected:
LocalCharacter* localCharacter = nullptr;
//heartbeat
//TODO: (9) Heartbeat needs it's own utility
//TODO: (2) Heartbeat needs it's own utility
typedef std::chrono::steady_clock Clock;
Clock::time_point lastBeat = Clock::now();
int attemptedBeats = 0;
+4 -4
View File
@@ -128,11 +128,11 @@ void World::hQueryCharacterExists(CharacterPacket* const argPacket) {
}
void World::hQueryCharacterStats(CharacterPacket* const argPacket) {
//TODO: empty
//TODO: (9) empty
}
void World::hQueryCharacterLocation(CharacterPacket* const argPacket) {
//TODO: empty
//TODO: (9) empty
}
void World::hCharacterMovement(CharacterPacket* const argPacket) {
@@ -152,11 +152,11 @@ void World::hCharacterMovement(CharacterPacket* const argPacket) {
}
void World::hCharacterAttack(CharacterPacket* const argPacket) {
//TODO: (1) attack animation
//TODO: (9) empty
}
void World::hCharacterDamage(CharacterPacket* const argPacket) {
//TODO: (1) attack animation
//TODO: (9) empty
}
//-------------------------
+3 -3
View File
@@ -26,14 +26,14 @@
//-------------------------
void World::hTextBroadcast(TextPacket* const argPacket) {
//TODO: (1) empty
//TODO: (9) empty
}
void World::hTextSpeech(TextPacket* const argPacket) {
//TODO: (1) empty
//TODO: (9) empty
}
void World::hTextWhisper(TextPacket* const argPacket) {
//TODO: (1) empty
//TODO: (9) empty
}
+1 -1
View File
@@ -91,7 +91,7 @@ void World::SendDisconnectRequest() {
}
void World::SendAdminDisconnectForced() {
//TODO: empty
//TODO: (9) empty
}
+2 -2
View File
@@ -60,7 +60,7 @@ World::World(int* const argClientIndex, int* const argAccountIndex):
shutDownButton.SetText("Shut Down");
//load the tilesheet
//TODO: (9) Tile size and tile sheet should be loaded elsewhere
//TODO: (1) Tile size and tile sheet should be loaded elsewhere
tileSheet.Load(config["dir.tilesets"] + "overworld.bmp", 32, 32);
//Send the character data
@@ -221,7 +221,7 @@ void World::KeyDown(SDL_KeyboardEvent const& key) {
//hotkeys
switch(key.keysym.sym) {
case SDLK_ESCAPE:
//TODO: (9) the escape key should actually control menus and stuff
//TODO: (1) the escape key should actually control menus and stuff
SendLogoutRequest();
return;
}
+4 -4
View File
@@ -99,11 +99,11 @@ void World::hQueryMonsterExists(MonsterPacket* const argPacket) {
}
void World::hQueryMonsterStats(MonsterPacket* const argPacket) {
//TODO: empty
//TODO: (9) empty
}
void World::hQueryMonsterLocation(MonsterPacket* const argPacket) {
//TODO: empty
//TODO: (9) empty
}
void World::hMonsterMovement(MonsterPacket* const argPacket) {
@@ -118,9 +118,9 @@ void World::hMonsterMovement(MonsterPacket* const argPacket) {
}
void World::hMonsterAttack(MonsterPacket* const argPacket) {
//TODO: (1) HandleMonsterAttack
//TODO: (9) empty
}
void World::hMonsterDamage(MonsterPacket* const argPacket) {
//TODO: (1) empty
//TODO: (9) empty
}