summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2009-05-24Merge branch '0.0.29'Bjørn Lindeijer1-3/+8
2009-05-24Fixed item links that aren't written in lowercaseBjørn Lindeijer1-3/+8
In commit 2a9f8e05312c210ec204e09861f47c3d017706eb I meant to move the normalizing of item names into the database, but the commit failed to include this change.
2009-05-23Merge branch '0.0.29'Bjørn Lindeijer2-16/+17
Conflicts: src/gui/widgets/chattab.cpp
2009-05-23Fixed a few strings for better translationKess Vargavind2-2/+2
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings (cherry picked from commit 9712489ef67f95d6a5fa1fc3102bb7c4ee6a1f59)
2009-05-23Fixed the empty item link crash differentlyBjørn Lindeijer2-16/+17
The crash was due to an assertion which shouldn't have been there, so I removed the assertion instead. I've also made sure the unknown item has its id initialized to 0, so that it can be used to check against instead of the item name. Normalization of item names was moved within the item database.
2009-05-21Fixed a few strings for better translationKess Vargavind2-2/+2
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings
2009-05-19Fixed targeting and warn on attack-range not being found in itemdb.David Athay1-0/+4
Tried to make the client continue attacking (it does not need to send attack packets, but just continue playing attack animation and sounds). Now logs a warning when a weapon is found without an attack-range (I keep finding weapons with an attack-range of 0 which makes it hard to target monsters).
2009-05-14Fixed the fallback on colors.xml to be more neutralBjørn Lindeijer1-11/+8
There is no need to separate these projects more than necessary. Also fixed a bug that made the hair always white. (cherry picked from commit e0eeaef318d63ae79522c1d0407e4f5b8212c5f7)
2009-05-14Make sure to use our hair color file firstJared Adams1-5/+5
(cherry picked from commit b0475c40bb256107aa13919b8d020b172af9d788)
2009-05-14Fixed the fallback on colors.xml to be more neutralBjørn Lindeijer1-11/+8
There is no need to separate these projects more than necessary. Also fixed a bug that made the hair always white.
2009-05-14Make sure to use our hair color file firstJared Adams1-5/+5
2009-05-11Fixed the memory issues with the pointers to item stat modifiersBjørn Lindeijer2-7/+14
It was a list of pointers to Stat instances that had long been popped off the stack and deleted.
2009-05-08Don't complain in the logger about not having an image attribute forTametomo1-1/+1
negative items, since these aren't inventory items. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-04Replaced emote window with a new emote popupBjørn Lindeijer1-5/+6
The popup is meant to be temporary, showing the emote instantly when you click on it. It adapts nicely to show any number of emotes. I still need to add a better way of assigning emote shortcuts, since currently you can only change which emote is assigned to which shortcut by actually using it.
2009-05-03Fixed compile warnings and other tweaksBjørn Lindeijer1-2/+2
Warnings were about initialization order and signed variables compared to unsigned variables. Please pay attention to these things. Also made some getters const and turned some std::string parameters into const std::string &.
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer2-2/+1
2009-04-18Don't leak the music file after copying itBjørn Lindeijer1-1/+3
2009-04-16Merge branch '0.0.29'Bjørn Lindeijer2-5/+3
2009-04-16Some more cleanupsBjørn Lindeijer2-5/+3
Nothing in particular worth mentioning.
2009-04-16Renamed ResourceManager::moveFile to ResourceManager::copyFile and catched ↵Philipp Sehmisch2-2/+2
error when it fails.
2009-04-16Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch2-5/+27
2009-04-16Added support for playing music in zip files.Philipp Sehmisch2-0/+37
2009-04-16Remove last support #ifdef in the resource codeJared Adams2-5/+27
2009-04-15Fix some memory problemsJared Adams1-0/+1
2009-04-14Unduplicated the code that draws a quadBjørn Lindeijer1-0/+4
Shouldn't affect performance.
2009-04-10Introduced a Desktop widget to handle the wallpaperBjørn Lindeijer3-10/+7
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 Lindeijer2-5/+4
Plus some random cleanups.
2009-04-09Fixed some warningsBjørn Lindeijer1-4/+13
Unused variable, compiler suggested braces to disambiguate an else statement and another comparision between signed and unsigned integers.
2009-04-08Add a more flexible wallpaper systemJared Adams2-0/+152
2009-03-30Add a logging statement before trying to load mapsJared Adams1-0/+1
There is a rare segfault between this and the next logging statement, I think it's a bad map name. This will help test that.
2009-03-30Merge weapon typesJared Adams3-27/+0
2009-03-30Merge item types to remove more #ifdefsJared Adams2-15/+0
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer3-13/+34
Conflicts: src/beingmanager.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/label.cpp src/gui/label.h src/gui/popup.cpp src/gui/popup.h src/gui/scrollarea.cpp src/gui/skin.cpp src/gui/skin.h src/gui/speechbubble.cpp src/gui/window.cpp src/gui/window.h src/localplayer.h src/main.cpp src/net/ea/playerhandler.cpp src/resources/ambientoverlay.h src/resources/dye.cpp src/resources/imagewriter.cpp src/resources/itemdb.cpp src/shopitem.cpp
2009-03-26Some code style commits influenced by TMW commitIra Rice5-24/+46
1715d0afe44a282a356ca88e47c92ec556f094dd Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-27Removed the unused BuddyList classBjørn Lindeijer2-200/+0
This class would store the buddy list in a file on the client, which is really not that useful. It was removed before in d268447e18c6e3edd80658f8f8d4317740c33af9, but apprently had come back with the merge with mainline.
2009-03-27Fixed include structure in resource/ directoryBjørn Lindeijer39-203/+199
There is also a new rule that trivial constructors and destructors should no longer be trivially "documented", since this just takes up space with no gain.
2009-03-26Fixed duplicate check for item namesBjørn Lindeijer1-4/+4
2009-03-27Fixed duplicate check for item namesBjørn Lindeijer1-4/+4
2009-03-26Fixes to file headers and header guardsBjørn Lindeijer2-11/+11
Mostly removal of branding for tmwserv related files, as was done for the eAthena client before.
2009-03-25A host of code style fixesBjørn Lindeijer9-18/+18
Mostly putting & and * in the right place and making some getters const.
2009-03-25Merge branch 'origin/master'Bjørn Lindeijer2-4/+0
Conflicts: .mailmap
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer8-34/+145
Conflicts: A lot of files.
2009-03-25Relaxed collision and fringe naming slightly so that they just need toIra Rice1-3/+4
start with collision or fringe, instead of being required to be the same case throughout the beginning of the layer name. Also made a default name for popup menus so that their skins can also be changed by users. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-24Remove some unneeded #ifdefs in SpriteDefJared Adams2-4/+0
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer5-14/+102
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer13-75/+526
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-17Added an image merge feature loosely based on a merge function found inIra Rice2-2/+87
the open source project Wormux. To improve SDL performance, the number of layers that are pushed out to the hardware or software buffers should be reduced, which is where this function comes into play, as it combines two surfaces together so that the number of blit operations is reduced. This function is currently not used, but will be used once a good way to link each of the target systems is determined so that it only initiates when SDL is enabled, as well as making sure that each hook that uses this function is benefiting from it sufficiently. At the moment, it's suspected that the particle engine will likely be the most likely to benefit from this function, followed by tile drawing, then sprite drawing. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-16Rename the old Palette class to DyePaletteSteve Cotton2-10/+10
Having two classes called Palette makes the program crash, when compiled without optimisation.
2009-03-16Code reformattingSteve Cotton2-6/+6
Cherry-picking changes from Bjørn's 1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb Mainly making sure 'const std::string &' is used everywhere instead of 'std::string const &'. The former has always been the preferred order in this project.