summaryrefslogtreecommitdiff
path: root/src/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-03-20Corrected a bug, that occurred when connecting to the game-server.Rogier Polak1-6/+6
2007-03-19Fixed two compiler warnings and corrected a spelling error.Philipp Sehmisch1-6/+6
2007-03-18Added a TokenCollector class for matching magic_tokens.Rogier Polak1-0/+326
2007-03-14Corrected formatting of single-line commentsRogier Polak1-1/+1
2007-03-11Added a utils::processor namespace and a function to determine if, the ↵Rogier Polak2-0/+89
processor the program is running on, is little-endian or big-endian.
2007-03-10Added a utility function for creating magic_tokensRogier Polak3-2/+87
2007-03-05Added an abstrart base class for characterdata, in order to use the same ↵Rogier Polak2-23/+25
serialize and deserialize functions on both the accountserver and the gameserver.
2007-03-03Enable the Id keyword.Bjørn Lindeijer2-2/+2
2007-03-03Set native eol-style on recently added files.Bjørn Lindeijer2-153/+153
2007-03-03Use M_PI_2 instead of acos(0.0f) and FLT_MAX instead of 1.0E40f (which exceededBjørn Lindeijer2-22/+23
the maximum float value). Some cosmetics (whitespace and declaring variables where they are used).
2007-03-03Implemented an alternate collision-detection function, added namespace ↵Rogier Polak3-23/+152
utils::math.
2007-02-25Some speed optimizations at the collision detection suggested by Avaniel.Philipp Sehmisch1-0/+23
2007-01-14Unified logging macros.Björn Steinbrink1-32/+10
2007-01-06Removed world timer usage from account server, instead letting ENet wait duringBjørn Lindeijer2-9/+19
each host service to reduce CPU usage. Modified timer code to gracefully handle jumps back in time.
2007-01-05Simplified handling of verbosity levels. Optimized code by generating only ↵Guillaume Melquiond4-413/+124
needed messages.
2007-01-05Removed log level argument from LOG_FATAL helper macro, with the assumptionBjørn Lindeijer1-2/+2
that fatal messages should always have highest log level.
2007-01-03Fix building with --pedantic.Björn Steinbrink1-6/+6
2007-01-02Simplified MapReader interface and code. Fixed some memory leaks.Guillaume Melquiond2-0/+149
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond2-0/+96
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-08-04Generalized the properties functionality as was done in the client before.Bjørn Lindeijer3-31/+9
Removed some more remaining usages of tmwserv namespace. Added some documentation and de-complicized the code a bit. Removed checks for SDL and SDL_net.
2006-07-27First step toward a restructured class hierarchy for world actors: addGuillaume Melquiond8-44/+20
MovingObject and Player classes.
2006-05-20Changed ConnectionHandler and NetComputer into low-level base classes; Guillaume Melquiond2-14/+14
they are overloaded by client-aware classes. Forced statement syntax for loggers.
2006-05-14Replaced nanosleep with Sleep in Windows and updated Dev-C++ project file.Eugenio Favalli1-0/+4
2006-05-14Applied a patch by Guillaume that makes the server sleep between ticks insteadBjørn Lindeijer2-19/+35
of polling for the next one. Somebody will need to verify that this works for on Dev-C++ as well.
2006-04-30made sure every compiler uses a 64bit unsigned integer for getTimeInMillisec.Philipp Sehmisch2-12/+18
2006-04-30fixed some problems of the timer classPhilipp Sehmisch4-24/+152
2006-04-30replaced SDL timing with a self written timer class.Philipp Sehmisch2-0/+157
2006-04-28Merged enet_switch changes r2268:2309 into the trunk.Eugenio Favalli1-3/+0
2006-03-06A bunch of cleanups.Björn Steinbrink2-73/+49
2006-03-06Cleaned up unnecessary header dependencies and fixed some indentations.Björn Steinbrink7-13/+13
2006-01-24Chat Channeling Commit part 4. Renamed the slang filter into StringFilter ↵Yohann Ferreira2-14/+59
and moved some code to it. Added the missing protocol values, and implemented registering/registering of channels; More to come about it.
2005-12-31Adding the possibility to change Email, and password. Turned Slangs Filter ↵Yohann Ferreira2-25/+123
into a class. Use some ifdefs for future configure options handling. Still has to update the client. (It isn't compiled fully with make; Removing makeclient.sh was not a good idea, maybe.)
2005-12-28Integrated the building of tmwclient with the default make command, asBjørn Lindeijer1-3/+3
contributed by r0nny.
2005-12-27Implemented common chat handling, except for chatting in channels. Also the ↵Yohann Ferreira2-0/+110
Channel registering/unregistering isn't there yet and the commands needs to be implemented. Added a small slangs filter to reduce bad words in account names and in conversations a little.
2005-12-20Adding command line argument parsing and log verbosity level handling.Yohann Ferreira2-81/+128
2005-07-25Added modified Map, MapReader, ResourceManager classes and base64 functionsBjørn Lindeijer2-0/+196
from client to server. Nothing tested yet, just made sure it still compiled.
2005-06-30Fixed memory leak, implemented delAccount() + unit tests and now using ↵Huynh Tran1-0/+163
reference-counted smart pointers to facilitate the memory management.
2005-06-21Reorganized unit tests and initial release of the unit tests for the Storage ↵Huynh Tran2-269/+0
class (to be completed).
2005-06-21Fixed missing includes.Huynh Tran1-0/+5
2005-06-19Forgot to initalize member variables :PHuynh Tran2-2/+4
2005-06-19Passwords are now encrypted when creating a new Account, added unit tests ↵Huynh Tran1-0/+75
for the Account class and moved functors into a separate header file for reuse.
2005-06-19Added tee mode to Logger.Huynh Tran2-6/+83
2005-06-19Moved unit tests main from dal to src, rewrote Logger and added Cipher ↵Huynh Tran7-0/+1096
(requires libcrypto from OpenSSL) + unit tests.