summaryrefslogtreecommitdiff
path: root/src/utils
AgeCommit message (Collapse)AuthorFilesLines
2008-12-28Removed unused md5sum calculation codeBjørn Lindeijer2-199/+0
Reported by seeseekey
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer30-61/+0
2008-11-05Use a string util for converting strings toDavid Athay2-0/+13
integers, as per Bjorns suggestion.
2008-10-31Changed command system to handle commands without template magic.David Athay2-0/+14
2008-10-23Fixed crash introduced in utils::toupperBjørn Lindeijer1-1/+1
2008-10-23Fixed compiler warnings, including a forgotten initialization of an item'sBjørn Lindeijer2-7/+8
script pointer.
2008-10-23ignore case in map object types (by Chuck Miller)Roderic Morris2-0/+62
2008-05-22Fixed compilation with GCC 4.3 (patch by rodge).Bjørn Lindeijer2-0/+2
2008-04-23Switched to alternative SHA-256 implementation from InspIRCd.Bjørn Lindeijer6-1024/+419
2008-04-22Fixed some small issues.Bjørn Lindeijer1-0/+1
2008-04-21Removed our copyright header since these files are not copyright by us.Bjørn Lindeijer2-52/+0
2008-04-21Added password and email encryption server-side using SHA256.Yohann Ferreira4-0/+1075
2008-04-20Fix a possible memleak in inflateMemory if the stream fails to uncompress ↵Dennis Friis1-0/+4
cleanly.
2008-02-21Moved the functions which translate strings into enumerations from the XML ↵Philipp Sehmisch2-72/+0
library into the item and monstermanager modules and reimplemented them using std::maps.
2008-02-20Implemented different monster attacks read from monsters.xmlPhilipp Sehmisch2-0/+95
2007-11-19Removed useless win32 implementation of gettimeofday.Eugenio Favalli3-119/+1
2007-11-13Trimed script filenames from spaces.Guillaume Melquiond1-0/+53
2007-10-27Made it compile with GCC 4.3Guillaume Melquiond2-1/+5
2007-09-22Cleaned both configuration and resource managers.Guillaume Melquiond2-13/+8
2007-08-30Got rid of abstract storage and reference-counted pointers. Fixed lifetime ↵Guillaume Melquiond1-167/+0
of accounts and characters in server memory. Cleaned some code.
2007-08-17Simplified TokenCollector and fixed a few bugs. Moved its implementation ↵Guillaume Melquiond2-265/+205
outside the header file.
2007-07-17Implemented loading of warp and spawn areas from map files.Eugenio Favalli1-0/+3
2007-06-16Forgot the changelog entry. Work around compilers that have trouble dealing ↵Guillaume Melquiond1-1/+1
with zero-sized arrays.
2007-06-16Fix rsqrt and sqrt.Guillaume Melquiond1-7/+8
2007-03-23Mostly fixed some compilation issues.Bjørn Lindeijer1-1/+1
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