summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2009-10-14Add more detail to DebugWindowJared Adams1-0/+2
2009-10-03Added support for the "too fast" login errorThorbjørn Lindeijer1-4/+2
So that next time somebody encounters it, it doesn't turn up as "unknown error".
2009-10-02Updating Code::Blocks project and adding header to fix compiler error.Stefan Dombrowski1-0/+1
2009-09-28Fix file handling in imagewriterFreeyorp1-6/+8
Make imagewriter only open a file stream after some checks have occurred elsewhere, and be sure to close it if the surface conversion fails.
2009-09-17Optimized the Image::setAlpha() function for SDL.Bertram1-14/+25
2009-08-15Fix some compile errorsJared Adams1-1/+1
2009-08-15Removed unused include.Bertram1-1/+0
2009-08-15Mantis #783: Fixed window opacity breaks in software (SDL) mode.Bertram2-39/+74
2009-08-14Fixed the compilation without OpenGL Support, and remove a too young function.Bertram2-44/+5
2009-08-13Fix compile errorsJared Adams1-8/+10
2009-08-13Clean up Being and it's derivativesJared Adams1-1/+1
Move stuff only needed for Players into Player (like slots and sprite limits). Move name handling into Being (no need for three copies of this code). Clean up terminology (including Map terminology). Remove hair-related variables.
2009-08-14Added a Alpha Channel copier for 32 bit SDL based images.Bertram2-6/+45
This will later be used to keep the original alpha value...
2009-08-14Minor update...Bertram1-3/+0
2009-08-14Prevented another possible segfault...Bertram1-0/+3
2009-08-14Reliability fix in Image::Image(SDL_Surface*)...Bertram1-3/+2
2009-08-14Added a new function to know if an image is using an alpha channel.Bertram2-3/+49
This all will be useful for my next patch: Repair windows opacity break in SDL mode.
2009-08-14Made the mLoaded member working again.Bertram2-2/+28
2009-08-13Changed mImage member to mSDLSurface as it is SDL specific...Bertram2-19/+19
2009-08-13Cleaned up the image code a bit...Bertram2-170/+204
2009-08-11Added the possibility to get random login wallpapers, when several fit the ↵Bertram1-34/+57
resolution. This resolve the Mantis #809. The images filenames must end using the mask "_<width>x<height>.png" For instance: myskylogin_800x600.png. Of course, the images must be in the data/graphics/images folder.
2009-08-06Fixed messed up indentation and removed trailing spacesThorbjørn Lindeijer2-243/+245
2009-08-06Use fillRectangle instead of tiling a colored imageThorbjørn Lindeijer2-37/+8
2009-07-27Merge of two gettext stringsKess Vargavind1-1/+1
As reported by swimmy on the forums
2009-07-27Added the ability to ask a ambient layer to keep its ratio when the ↵Bertram2-6/+41
resolution isn't the default. You'll have to add this in map properties, for instance if you're want to keep ratio on overlay 0: <map version="1.0" orientation="orthogonal" width="128" height="128" tilewidth="32" tileheight="32"> <properties> ... <property name="overlay0keepratio" value="true"/> ... </properties> </map>
2009-07-26Fixed a '+' string operation, and attempt to resolve the Mantis 427.Bertram2-12/+41
2009-07-25Fixed compile warnings about unsigned/signed integer comparisonsThorbjørn Lindeijer3-3/+4
2009-07-24Made the wallpaper be rescaled when necessary under SDL and OpenGL.Bertram6-1/+614
The SDL methods to rescale the wallpaper has been optimized to permit rescaling at load time while OpenGL draws directly rescaled. Does someone know how to smooth the rescaled image under OpenGL?
2009-05-28Merge branch '0.0.29'Bjørn Lindeijer1-2/+1
2009-05-28Made two error strings untranslatableBjørn Lindeijer1-2/+1
They should never be seen by a user.
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