summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-08-26Made the Network class a purely static interface, as there is only one instance.Guillaume Melquiond1-24/+24
2006-08-26Got rid of numerous additions and substractions to the hair style and color.Bjørn Lindeijer1-1/+1
Hair style 0 was added and defined as being bald (so bald is no longer a hardcoded style).
2006-08-20Fixed selection of player character and implemented sending of game and chatBjørn Lindeijer1-13/+10
server tokens. It gets you in the game (or what's left of it), but not on any map yet.
2006-08-20The Network can now connect to the three servers and affected methods now takeBjørn Lindeijer1-85/+104
the server type as a parameter. The MessageOut gained a convenience constructor (same as was added server side). The game states during login sequence have been renamed and redone in order to ensure no communication is attempted to unconnected servers. This allowed the removal of the outgoing message queue. Connecting to the account server has been moved before the login/register phase (dialogs will still need to be updated). Quite a few things are expected to be broken since I'm rather tired at the moment. I've left many TODO entries in the code.
2006-08-14Completed porting of character creation/deletion, fixed some issues with ↵Eugenio Favalli1-18/+21
network code.
2006-08-13Merged cleanups and content changes from the trunk. Also fixed compiling withBjørn Lindeijer1-20/+9
OpenGL enabled.
2006-08-02Ported account registration to tmwserv. There's still a ↵Eugenio Favalli1-4/+24
disconnection/reconnection between registration and login.
2006-07-30Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0Bjørn Lindeijer1-3/+5
branch).
2006-07-27Modified client version to be an int.Eugenio Favalli1-1/+1
2006-07-26Removed char server selection dialog, and added character visualization in ↵Eugenio Favalli1-39/+2
character selection dialog.
2006-07-25Added support for writing log to standard output.Bjørn Lindeijer1-60/+77
2006-07-25Switched client to use enet and modified login sequence to work with the new ↵Eugenio Favalli1-31/+29
protocol from tmwserv.
2006-07-24Fixed the loading of updates and made skipping the update process also skip thev0.0.20Bjørn Lindeijer1-6/+12
loading of updates.
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-8/+13
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-9/+3
2006-07-18Updated the updating system. It will now only load those updatesBjørn Lindeijer1-9/+23
specified in the downloaded resources.txt file, and in the order in which they are mentioned (the top one being the most significant).
2006-07-03Fixed visible equipment initialization and hack to see 2 kinds of visible ↵Eugenio Favalli1-6/+11
equipments.
2006-06-21Added female players.Eugenio Favalli1-5/+10
2006-05-12You can now see the shirt when equipping a top equipment.Eugenio Favalli1-0/+5
2006-05-03FPS limit can now be set in setup dialog. Default value for FPS is 50. (Code ↵Eugenio Favalli1-1/+1
based on peoro's patch).
2006-05-03Increased fps limit granularity and cleaned some code, fixed some xml ↵Eugenio Favalli1-25/+0
library name in Dev-C++ project file, switched version to 0.0.20.
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-4/+3
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-3/+4
2006-03-18Added a toString conversion function.Björn Steinbrink1-4/+3
2006-03-16A bunch of cosmetic changes.Björn Steinbrink1-9/+5
2006-03-13Fixed skip update option.Eugenio Favalli1-1/+1
2006-03-09Made all local action listeners structs and moved them into anonymous ↵Björn Steinbrink1-9/+5
namespaces.
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-5/+3
using STL algorithms.
2006-03-06Small fixes before releasing.Eugenio Favalli1-1/+0
2006-03-05Merged new_playerset branch into trunk.Eugenio Favalli1-6/+27
2006-02-23A bunch of mostly cosmetic cleanups.Björn Steinbrink1-3/+3
2006-02-04Unify the various login dialogs to use LoginData.Björn Steinbrink1-32/+36
2006-02-03Made the login dialog work on LoginData only, without playing with the ↵Björn Steinbrink1-7/+27
config, it's not its job to do so.
2006-02-01Created a Game class.Björn Steinbrink1-3/+4
2006-02-01Replaced ErrorDialog by OkDialog + listener.Björn Steinbrink1-2/+17
2006-01-26Moved some setup code out of the game loop into the setup functions. Setup ↵Björn Steinbrink1-0/+2
functions are now called from the outside.
2006-01-22Updated Dev-Cpp project file, fixed a GDI issue.Eugenio Favalli1-0/+2
2006-01-22Remove obsoleted action listeners.Björn Steinbrink1-22/+0
2006-01-22Use generic error method for sound failure.Björn Steinbrink1-2/+1
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-22/+127
2006-01-07Removed --skipupdate option from Dev.Cpp project file, splitted the setup ↵Eugenio Favalli1-1/+0
window into 3 tabs and added a joystick calibration tool.
2006-01-04FreeBSD Fixes from Icy.Yohann Ferreira1-2/+2
2006-01-03Fixed a compile warning with GCC 4.1. Thanks to gim's suggestion.Eugenio Favalli1-1/+1
2006-01-01Applied patch by pclouds that allows for a faster login sequence by providingBjørn Lindeijer1-8/+58
the username and password from the command line, and allowing the client to choose the default server and character.
2005-12-30Added a new item, improved smooth login sequence, added a registration ↵Eugenio Favalli1-0/+6
window (a lot of duplicated code to be removed).
2005-12-24Fringe layer draw fix and change in policy on when using OpenGL is the default.Bjørn Lindeijer1-3/+3
2005-12-18Removed unused code and added changes to snowy map by Bertram.Eugenio Favalli1-15/+0
2005-12-05Display TMW version on Windows tooBjørn Lindeijer1-3/+2
2005-11-13Made the three desert maps use the fringe layer for objects. Reveals bug withBjørn Lindeijer1-1/+1
objects disappearing at the bottom and still some draw order problems.
2005-10-24Corrections to my previous commit for tmw for windows users.Yohann Ferreira1-3/+5