summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer1-39/+44
2009-03-25A host of code style fixesBjørn Lindeijer1-2/+2
Mostly putting & and * in the right place and making some getters const.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-49/+54
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-30/+35
Conflicts: Many files.
2009-03-23Change version to 0.0.29 and label in the GUIJared Adams1-2/+11
2009-03-23Move all TMWServ-specific code to net/tmwservJared Adams1-9/+9
Also fix several instances where the same net handler was being used for both servers, and a few other related oddities.
2009-03-22Fixed loading of units when skipping updatesBjørn Lindeijer1-2/+3
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-152/+811
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-19Be sure to free the window iconJared Adams1-1/+5
2009-03-19Throttle framerates down to save CPU cycles. Now that we're getting highIra Rice1-2/+2
framerates in OpenGL even on older hardware, this should be done to conserve on CPU usage, rather than stressing it with more frames than the monitor can render. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Be sure to free the window iconJared Adams1-1/+5
2009-03-15Fix some mem leaksJared Adams1-1/+0
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-4/+3
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Extending the internal handling of colorssniper1-4/+4
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-12Extending the internal handling of colorssniper1-4/+4
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-12Made hair load again (commit e2d60401eaf55abe9e2251854f3174ffe0f4ad9eIra Rice1-0/+1
from TMW broke this, as it deleted the Being::load() method, which also loaded the hair styles). Also removed some unused variables in the being class. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Move emote sprite loading into EmoteDBJared Adams1-3/+0
2009-03-12Fix leaks in status effectsJared Adams1-1/+4
2009-03-12Move emote sprite loading into EmoteDBJared Adams1-2/+0
2009-03-11Fix segfault when being count reaches 0 too oftenJared Adams1-0/+3
2009-03-11Moved the Skin class outside of the Window class, in order to allowIra Rice1-24/+30
other widget containers to use skins as well, and to make it easier to extend later. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-11Fix order of function calls when loading dataJared Adams1-3/+3
2009-03-11Fix segfault when being count reaches 0 too oftenJared Adams1-0/+3
2009-03-10Remove some SetupWindow weirdnessJared Adams1-3/+0
2009-03-10Fix some mem leaksJared Adams1-0/+1
2009-03-10Remove some SetupWindow weirdnessJared Adams1-3/+0
2009-03-10Fix some mem leaksJared Adams1-1/+0
2009-03-10Fix some mem leaksJared Adams1-1/+0
2009-02-24Fix update handlingJared Adams1-11/+11
THis will prevent loading updates when -u is used, and prevent error messages in the log when -u is used.
2009-02-24Fix update handlingJared Adams1-11/+11
THis will prevent loading updates when -u is used, and prevent error messages in the log when -u is used.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-2/+2
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-2/+2
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-8/+8
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Renamed aethyraFile to configFile, which is a lot more descriptive ofIra Rice1-6/+6
what its actually used for. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-15Fix setting of home directory for OSXJared Adams1-3/+7
2009-02-15Add configurable units systemJared Adams1-0/+3
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer1-3/+5
Conflicts: CMakeLists.txt configure.ac data/help/header.txt packaging/windows/setup.nsi po/POTFILES.in src/being.cpp src/being.h src/game.cpp src/gui/color.cpp src/gui/color.h src/gui/equipmentwindow.h src/gui/popupmenu.cpp src/gui/recorder.cpp src/gui/setup_colors.h src/gui/setup_keyboard.cpp src/gui/setup_keyboard.h src/gui/skill.cpp src/gui/speechbubble.cpp src/gui/speechbubble.h src/gui/table.cpp src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/main.cpp src/main.h src/map.cpp src/resources/colordb.cpp src/resources/colordb.h src/resources/emotedb.cpp src/resources/emotedb.h src/text.cpp src/text.h src/tmw.rc src/winver.h
2009-02-15Merge branch '0.0.28'Bjørn Lindeijer1-2/+8
Conflicts: po/POTFILES.in src/main.cpp src/main.h tmw.cbp
2009-02-12Added command line option to set home directory pathMichon van Dooren1-3/+9
2009-02-11Don't make log statements translatableBjørn Lindeijer1-20/+22
The log is mainly used to aid the developers, hence shouldn't be translated to the user's local language. Also introduces unnecessary work for all translators.
2009-02-11Changed spelling from colour to color.Philipp Sehmisch1-4/+4
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-1/+2
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-1/+2
2009-02-10Don't make log statements translatableBjørn Lindeijer1-18/+18
The log is mainly used to aid the developers, hence shouldn't be translated to the user's local language. Also introduces unnecessary work for all translators.
2009-02-10Merge branch 'aethyra/master'Bjørn Lindeijer1-2/+2
Conflicts: docs/FAQ.txt packaging/windows/make-translations.vbs src/Makefile.am src/gui/colour.cpp src/gui/colour.h src/gui/popupmenu.cpp src/gui/setup_colours.h src/main.cpp src/main.h src/resources/resourcemanager.cpp src/text.cpp src/text.h src/textmanager.cpp src/textmanager.h
2009-02-10Fixed some accidental capitalization errorsPhilipp Sehmisch1-3/+3
2009-02-10Changed spelling from colour to color.Philipp Sehmisch1-4/+4
2009-02-10Fix crash due to missing login wallpaperJared Adams1-1/+4
2009-02-10Fix default port in GUIJared Adams1-1/+1