summaryrefslogtreecommitdiff
path: root/src/object.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-01-03Split persistent player data from game server data. Enabled inventory code back.Guillaume Melquiond1-79/+0
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-17/+14
chat + database) and multiple tmwserv-game programs (selected with respect to the maps). Cleaned the repository by moving server-specific source files into dedicated directories.
2006-09-03Added TODO comment on pathfinding.Guillaume Melquiond1-0/+1
2006-09-03Fixed desynchronization due to wrong cost of diagonal moves.Guillaume Melquiond1-6/+14
2006-09-02Correctly account time for moving objects.Guillaume Melquiond1-2/+5
2006-09-02Simplified server algorithm for moving objects; it now matches the one in ↵Guillaume Melquiond1-79/+25
the client.
2006-09-02Decorrelated moving object IDs from character database IDs. Switched to ↵Guillaume Melquiond1-6/+0
short IDs instead.
2006-08-27Added a Controller class meant to implement behaviour loosely coupled to theBjørn Lindeijer1-2/+2
actual being. Used it to control 10 testing maggots that are now randomly walking around.
2006-08-27Fixed assertion failure on being movements.Guillaume Melquiond1-5/+5
2006-08-06Implemented crude handling of being movements.Guillaume Melquiond1-0/+99
2006-08-04Added unique ID to Player class.Guillaume Melquiond1-0/+7
2006-07-27First step toward a restructured class hierarchy for world actors: addGuillaume Melquiond1-129/+0
MovingObject and Player classes.
2006-05-14Applied a patch by Guillaume that fixes and optimizesBjørn Lindeijer1-2/+3
ConnectionHandler::sendAround.
2006-01-13Made minimum client version and default map id configurable, set/getMapId ↵Eugenio Favalli1-2/+2
are now preferred.
2006-01-12Fixed default map definition for a new created character, enabled loading of ↵Eugenio Favalli1-1/+1
map when a character is on it, fixed inconsistency in getter/setter for map id.
2006-01-08Added customization of created character. (That makes previously created db ↵Yohann Ferreira1-5/+5
invalid.) Made list of map indexed by map id, instead of map name. This will prevent unsyncing of player's current map when changing a map name. Remember you have now to add a map filename into db before being able to load it. (Default map id is 1, not ZERO, as zero is the not found return value.
2005-11-21Did some initial work for map loading & adding beings to game world.Aaron Marks1-0/+9
2005-07-01Fixed compilation warning and code cleanup.Huynh Tran1-3/+24
2005-06-29Fixed memory leak and set conditional stats updates.Huynh Tran1-1/+6
2005-06-29Fixed bugs, added new accessors and mutators to Object and Being, sync'd the ↵Huynh Tran1-38/+93
rest of the code to take into account the changes.
2005-06-27Implemented addAccount() (+ unit tests).Huynh Tran1-1/+1
2005-06-12Moved SQLiteStorage to subclass of Storage, made Storage a singleton andBjørn Lindeijer1-6/+6
updated SQL tables a bit.
2005-05-24Added object.cppAaron Marks1-0/+62
Fixed account.cpp constructor.