summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-01-05Refactor the way in which browser box text is drawn and wrapped.Björn Steinbrink1-65/+74
(cherry picked from mainline commit ecabe82d8720689905a6d035b0597d97037287c7) Conflicts: src/gui/browserbox.cpp
2009-01-05Handling gender with an enum everywhere.Philipp Sehmisch12-43/+47
(cherry picked from mainline commit d3adc61aa4b4924f82d8cbc23bea26da7257da97) Conflicts: src/net/beinghandler.cpp src/net/charserverhandler.cpp src/player.cpp src/player.h
2009-01-05Renamed PATH_NODE to Position as on mainlineBjørn Lindeijer8-42/+127
2009-01-04Merged Vector class improvements from mainlineBjørn Lindeijer4-5/+93
2009-01-04Fixed rendering of special charactersBjørn Lindeijer1-2/+2
The font was interpreting the strings as UTF8, as they are in the mainline client. But in the eAthena client they are regular text.
2009-01-04Fixed installing of dejavusans.ttf font.Bjørn Lindeijer1-2/+4
(cherry picked from mainline commit 8d1299338e033e1de539dae36856e365855fabc1) Conflicts: src/gui/gui.cpp
2009-01-04Code reformattingBjørn Lindeijer14-123/+80
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. (cherry picked from mainline)
2009-01-02Removed duplicate TrueTypeFont class declarationBjørn Lindeijer2-77/+7
Noticed by QOAL
2009-01-02Removed executable bits from SDLMain.{h,m}Bjørn Lindeijer2-0/+0
2008-12-31Made an option around the syncing, but no way to change it for now.Bjørn Lindeijer2-4/+20
(cherry picked from mainline commit f6f8b2f885145d4cacf7a6c42d88b6a39f71b366) Conflicts: src/openglgraphics.cpp
2008-12-31Synchronized font size with mainlineBjørn Lindeijer1-1/+1
2009-01-01Made trade window resizableBjørn Lindeijer4-29/+53
Also fixed overlap between description label and the buttons and added the SDL_ttf library to the Code::Blocks project file.
2008-12-29Increased text chunk cache size to improve performance when a lot of text is ↵Philipp Sehmisch1-1/+1
on the screen. (cherry picked from mainline commit 483c76d1b2433bc34f67406a10bf409fb2daafe1)
2008-12-29Image alpha should also be set to 1, in case it was changed before.Bjørn Lindeijer2-8/+8
(cherry picked from mainline commit 0962fc8b567279a6e97e13e4b3f2f9f2ffe304c0)
2008-12-29Added support for alpha blending to true type font drawing.Philipp Sehmisch1-0/+7
(cherry picked from mainline commit 89a1dcb59be3e531cc0761c32d1aa70e141d4a12)
2008-12-29Fixed double-free of true-type resources.Guillaume Melquiond1-2/+5
(cherry-picked from mainline)
2008-12-29Fixed two compiler warnings about deprecated char*Bjørn Lindeijer1-2/+2
2008-12-29Added support for True Type Fonts.Eugenio Favalli7-65/+329
(cherry-picked from mainline)
2008-12-14Code reformatting to conform to line lengthBjørn Lindeijer1-41/+63
(cherry picked from mainline) Conflicts: src/game.cpp
2008-12-14Removed remaining DOS newlinesBjørn Lindeijer1-3/+3
2008-12-14Fixed some linebreaksPhilipp Sehmisch1-296/+296
2008-12-14Passing vectors by referencePhilipp Sehmisch2-318/+318
2008-12-14Some systactical sugar for 864e33Philipp Sehmisch2-18/+9
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch1-1/+0
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch6-41/+60
2008-12-13Code style reformattingBjørn Lindeijer12-226/+173
Got rid of "void" in functions that take no arguments and removed the newline after the return type of a method in many places.
2008-12-10Obscure precise home directory name when making screenshotsFate1-4/+9
2008-12-09Fixed two issues with the chat message parsingBjørn Lindeijer1-7/+11
Don't treat anything starting with "Welcome" as a server message, for example messages starting with a name that starts with "Welcome" shouldn't belong in that category. Put the nick in the right place for global announcements. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-09Removed the unused NewSkillDialogBjørn Lindeijer5-271/+0
Won't be introduced based on eAthena anyway, I think even with tmwserv we have different plans now. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-09Make the window shortcuts configurableJared Adams3-10/+28
2008-12-09Only play status effect sound effects for localplayerFate2-2/+4
2008-12-09Defer re-adding of particles to next call to Being::logic() to avoid crashFate3-4/+19
2008-12-09Status particle effects: when looking up block IDs (effect IDs for otherFate4-7/+19
players), make sure to initialise if needed Status particle effects: properly delete particles after effect has worn off
2008-12-08An attempt to fix the crashes related to particlesBjørn Lindeijer1-2/+7
The player character is never deleted, and hence might have particles still active when the map changes. These particles are deleted on map change, but when the player character was moved, it was trying to mark these deleted particles for deletion, writing to unallocated memory. The marking for deletion by the player character now happens before the particles are deleted. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-08Mostly code reformattingBjørn Lindeijer3-9/+14
2008-12-08Code reformattingBjørn Lindeijer13-298/+175
I wish I had never fallen for this weird style, and I hope removing it will prevent others from introducing new code like this. :-)
2008-12-08Introduced another template to make deleting all values in a container easier.Bjørn Lindeijer12-31/+20
Inspired by qDeleteAll() from Qt. Conflicts: ChangeLog src/beingmanager.cpp src/channelmanager.cpp src/gui/skill.cpp src/map.cpp src/resources/monsterinfo.cpp (cherry picked from mainline)
2008-12-08Clip the minimap image to within its windowBjørn Lindeijer1-10/+14
The image wasn't clipped so it would draw beneath the map name and on top of the window border.
2008-12-08Don't scroll past the edges of the minimapBjørn Lindeijer1-0/+12
When centering the minimap on the player, it would often happen that the minimap scrolled past its edge. Based on a patch by QOAL.
2008-12-07Some code reformattingBjørn Lindeijer5-29/+23
2008-12-07Added some initialization and removed ChargeDialogBjørn Lindeijer8-128/+13
Many member variables of LocalPlayer were not being initialized properly. In general this shouldn't have caused any problems, but it's bad style. The ChargeDialog was removed. This class was long dead anyway. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Updated version to 0.0.27Bjørn Lindeijer1-2/+2
2008-12-07Fixed inconsistency in default window sizesBjørn Lindeijer9-21/+22
The default window sizes were all too small, since they were specified in content size. On pressing "Reset Windows", the sizes would be interpreted as such and apply alright. The inconsistency is now removed, and the default window sizes are always the size of the whole widget now, not just the contents. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Use widgetResized to adjust chat window contentsBjørn Lindeijer2-6/+4
Previously was using the logic() method, adjusting window contents 100 times per second.
2008-12-07Made minimap visible by defaultBjørn Lindeijer1-0/+2
Also remember its visibility state.
2008-12-07Tweaked some configuration defaultsBjørn Lindeijer3-10/+10
Scrolling is now a bit less lazy and the scroll radius is 0. In my opinion this is a better default. Framerate limiter is now off by default, since it makes the game appear a bit choppy. It's basically only useful for laptops anyway, and not too hard to find.
2008-12-07Some small updates and reformattingBjørn Lindeijer4-61/+49
2008-12-07Added client-side status change handlers (text, icon, particle effect, audio).Fate14-38/+559
2008-12-06Merge branch 'master' into statuseffectsFate2-30/+36
2008-12-06For interaction popup window: serialise beings as IDs and look up, to allow ↵Fate2-30/+36
them to vanish whist the interaction popup window is open