summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-14Start a MathUtils fileJared Adams7-52/+20
It has fast(inv)sqrt and weightedAverage. Also cleanup the last ocmmit a bit.
2009-04-14HP Bar Gradual ColorationFalkreon2-5/+55
Makes HP Bars gradually fade from green to orange to red as HP goes down (or up). It looks pretty :)~
2009-04-15Also hardcode the bold font, we ship it after allBjørn Lindeijer4-25/+14
Plus some tweaks and cleanups.
2009-04-14Cleanup of Sound class, fixing restoring of volumes and musicBjørn Lindeijer6-94/+97
While a previous commit fixed the restoring of music of the current map in the setup window, this commit makes sure that the Sound class itself will resume a previously playing song when it is re-initialized. Other fixes: * Restore the correct volumes when enabling sound * Play the right audio track during login * Specify which font to use for bold text
2009-04-14Add a default login music file nameJared Adams1-1/+1
2009-04-14Put the remaining unnamespaced handlers in a namespaceBjørn Lindeijer24-18/+98
Also fixed some initialization order warnings when compiling with tmwserv support and made two getters const.
2009-04-14Unduplicated the code that draws a quadBjørn Lindeijer3-59/+41
Shouldn't affect performance.
2009-04-13Some cleanup of the SkinLoaderBjørn Lindeijer5-152/+156
Mainly stopped it from parsing the skin XML files over and over again, but also fixed Skin leaking sticky button images and made some optimizations. The Skin class still has an 'instances' member which could be used for cleanup in theory, but is unused at the moment.
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer11-107/+121
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-04-13Revert forced FPS limitBjørn Lindeijer5-11/+8
Don't force an FPS limit when people don't want it. Just default to limit on 60 fps instead, but do allow it to be disabled. This reverts part of commit 4b7755fcae0de15951c508ec034158007c8b6cf3.
2009-04-13Fixed broken linksDavid Athay4-47/+404
2009-04-13Fixed @'s in a user's nickDavid Athay6-555/+5775
2009-04-13Fix an input bugJared Adams1-1/+1
2009-04-13Added entry for messed up email/usernameBjørn Lindeijer1-0/+1
I forgot to set up my identity when committing from another PC...
2009-04-12Properly interpret `PC is dead' information from eAthena serverFate1-0/+4
(cf. 5cf18a062ffca03196b83fe6fda8ea3e54079c57; apparently the change was lost later)
2009-04-12Remove remaining references to versionLabelJared Adams1-4/+0
2009-04-12Moved client version string creation to preprocessorBjørn7-41/+34
2009-04-12Cleaned up the ItemPopup class a bitBjørn12-78/+15
Removed methods updateColors, getItemName and getNumRows. The last one was also removed from some other classes.
2009-04-12Fix ChatTab changing to need alt when chattingJared Adams1-9/+13
2009-04-12Merge version strings, add version to setup, etcJared Adams5-31/+46
All instances of version strings should now use the same text. The version label was moved from main.cpp to Desktop. A new version label was added to SetupDialog to make it easier to get the version if you are already in game.
2009-04-12Removed a wrong ParticleEngine::clear callBjørn1-1/+0
This line must have gotten there during a merge, since the clearing of the particles was supposed to only happen after the player's map is reset (see 208d5a6c0523079ea1b2a2e69fd3e76804ada037). This fixes crashes on changing maps. Thanks to Bernd Wachter for finding the problem and providing useful valgrind output.
2009-04-12Append _F or _M to username in eAthena network layerBjørn Lindeijer12-74/+76
Abstracts it away and out of main.cpp and register.cpp.
2009-04-11Remove more support #ifdefsJared Adams13-102/+83
2009-04-10Fix popup to prevent an item from showing on warpsJared Adams1-1/+2
2009-04-10Revived the email field to fix registration crashBjørn Lindeijer4-3/+10
Now you can register new accounts on tmwserv again. The email field apparently gots lost during the merge somewhere.
2009-04-10Reduced the GCContainer to be even more trivialBjørn Lindeijer15-94/+27
A container that deletes all its children on destruction doesn't have to be so complicated. Also renamed it to simply Container, since I think it should simply be default behavior. WindowContainer and Popup classes now inherit from this Container.
2009-04-10Some cleanup of the equipment window codeBjørn Lindeijer6-86/+53
Also removed some unnecessary delete statements, since the Popup class already deletes its children and the ScrollArea already deletes its content.
2009-04-10Introduced a Desktop widget to handle the wallpaperBjørn Lindeijer12-101/+201
Cleans up main.cpp a little.
2009-04-10Some tweaks to wallpaper loading codeBjørn Lindeijer3-31/+32
Mainly to conform better with coding conventions.
2009-04-09Actually use ItemType instead of shortBjørn Lindeijer6-30/+31
Plus some random cleanups.
2009-04-09Some random cleanupsBjørn Lindeijer6-33/+28
2009-04-09Fixed crash on applying setup before entering the gameBjørn Lindeijer1-8/+11
Engine hasn't been created yet at that point.
2009-04-09No need for ChatInput to be in the header file, evenBjørn Lindeijer2-26/+22
2009-04-09Fixed some warningsBjørn Lindeijer3-6/+16
Unused variable, compiler suggested braces to disambiguate an else statement and another comparision between signed and unsigned integers.
2009-04-09Made BeingManager methods const where appropriateBjørn Lindeijer7-43/+44
2009-04-09Remove a segfault when exiting the clientJared Adams4-7/+3
2009-04-09Add a popup menu item to add Being name to chatJared Adams3-16/+14
2009-04-09QOAL's do not walk with the mouse while sittingMadCamel1-0/+4
2009-04-08Add a more flexible wallpaper systemJared Adams6-18/+200
2009-04-08Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch1-2/+2
2009-04-08Updated Code::Blocks project filePhilipp Sehmisch1-564/+562
2009-04-08Moved wrong file in CMakeLists.txtJared Adams1-2/+2
2009-04-08Make some more file build for both serversJared Adams7-69/+27
Also some cleanup in main.cpp
2009-04-08Move ChatInput into the files for ChatWindowJared Adams7-86/+30
2009-04-08Disable po-update for cmake; move buildflags to prevent overwritingBernd Wachter2-12/+42
2009-04-08Don't highlight chat tabs on own inputBernd Wachter1-1/+2
2009-04-08Added switch to disable building locales Only build locales if gettext is ↵Bernd Wachter2-2/+17
available Add a workaround for a cmake-bug in translations target
2009-04-08Added support for localesBernd Wachter2-0/+5
2009-04-08CMake: We actually no longer depend on Guichan OpenGLBjørn Lindeijer2-4/+1
2009-04-07Restore the MP bar to the darker blue it hadJared Adams1-1/+1