Skip to content

Commit

Permalink
split up mapfile, started doxygen documentation, add loaderclasses fo…
Browse files Browse the repository at this point in the history
…r accounts, minor fixes

git-svn-id: https://opentibia.svn.sourceforge.net/svnroot/opentibia/otserv/trunk@257 c77455bc-2124-0410-8220-ac9e7aafbb94
  • Loading branch information
ricochet_03 committed Jan 10, 2005
1 parent 369cf74 commit 3094d8f
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ Game::Game()
OTSYS_THREAD_SIGNALVARINIT(eventSignal);

OTSYS_CREATE_THREAD(eventThread, this);

max_players = atoi(g_config.getGlobalString("maxplayers").c_str());
}


Expand Down
2 changes: 1 addition & 1 deletion ioaccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ IOAccount* IOAccount::instance(){
Account IOAccount::loadAccount(int accno){
Account acc;
return acc;
}
}
2 changes: 1 addition & 1 deletion ioaccount.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ class IOAccount {
static IOAccount* _instance;
};

#endif
#endif
2 changes: 1 addition & 1 deletion ioaccountxml.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ class IOAccountXML : protected IOAccount {
~IOAccountXML(){};
};

#endif
#endif
2 changes: 1 addition & 1 deletion iomapxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ bool IOMapXML::loadMap(Map* map, std::string identifier){
xmlFreeDoc(doc);

return true;
}
}
2 changes: 1 addition & 1 deletion ioplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ IOPlayer* IOPlayer::instance(){

bool IOPlayer::loadPlayer(Player* player, std::string name){
return false;
}
}
2 changes: 1 addition & 1 deletion ioplayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ class IOPlayer {
static IOPlayer* _instance;
};

#endif
#endif
2 changes: 1 addition & 1 deletion ioplayersql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ std::string filename="data/players/"+name+".xml";
return false;

}
#endif
#endif
2 changes: 1 addition & 1 deletion ioplayersql.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ class IOPlayerSQL : protected IOPlayer{

#endif

#endif
#endif
2 changes: 1 addition & 1 deletion ioplayerxml.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ class IOPlayerXML : protected IOPlayer{
~IOPlayerXML(){};
};

#endif
#endif
2 changes: 1 addition & 1 deletion map.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ class Map {
friend class IOMap;
};

#endif
#endif

0 comments on commit 3094d8f

Please sign in to comment.