summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-01-08Smiley shortcut 2.0: Final stageForge2-0/+203
The copyright issue is left opened, all other items on the TODO list have been done. Signed-off-by: Forge <jgrimbert@free.fr>
2009-01-08Fixed segvault when exiting with logToChat enabledPhilipp Sehmisch1-0/+1
2009-01-06Adapted the update window to use the layout widget.Ira Rice1-17/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Removed the now unnecessary SDL_TTF initializations.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Fixed the previous commit to actually use the layout engine.Ira Rice1-43/+24
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Converted the character selection dialog to use the layout widget.Ira Rice1-11/+16
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Fixed up and down arrows in chat box.Guillaume Melquiond1-5/+9
(cherry picked from commit cb04d148c9aed572fe6e66313100e2cd9b66f5d5) Conflicts: src/gui/chat.cpp
2009-01-06Correct the codeset for translations to be UTF-8Bjørn Lindeijer1-0/+1
As on the mainline client
2009-01-06Fixed the true type font to render unicode nowBjørn Lindeijer2-11/+7
2009-01-06Fix wrapping of UTF-8 multi-byte characters.Björn Steinbrink1-1/+4
(cherry picked from commit 82182aeb9eacb3a6e10e34b34b46ef63222ecd7d)
2009-01-06Added support for unicode charset in textfields and chat.Guillaume Melquiond12-39/+731
Conflicts: src/Makefile.am src/game.cpp src/gui/browserbox.cpp src/gui/gui.cpp src/gui/textfield.cpp src/main.cpp (cherry picked from mainline commit 7b67e852086ad3ccd98a622f890b245ab6a0a321)
2009-01-06Used layout for buy, sell and item amount dialogsBjørn Lindeijer5-163/+61
(changes by Guillaume Melquiond, merged from the mainline client)
2009-01-06Merged layout handler from mainlineBjørn Lindeijer8-113/+762
Also fixed login dialog layout. This is the layout handler by Guillaume Melquiond, which he started in commit 59472ef68fdef3f7e8858a81a46e28c127119c58.
2009-01-06Added support for animated tiles.Philipp Sehmisch3-26/+153
2009-01-06Added support for internationalizationIra Rice28-321/+420
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91. Conflicts: INSTALL configure.ac src/Makefile.am src/gui/buy.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/login.cpp src/gui/menuwindow.cpp src/gui/minimap.cpp src/gui/ok_dialog.cpp src/gui/popupmenu.cpp src/gui/register.cpp src/gui/sell.cpp src/gui/setup.cpp src/gui/setup_video.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Fixed the windows cbp file, deleted some files which we don't use, andIra Rice9-796/+7
fixed a few compiler warnings noticed from building in windows. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Removed a redundant directory, as well as got rid of Windows typeIra Rice2-298/+298
newlines. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Fixed 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-05Increased 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)
2009-01-05Image alpha should also be set to 1, in case it was changed before.Bjørn Lindeijer2-8/+8
(cherry picked from mainline commit 0962fc8b567279a6e97e13e4b3f2f9f2ffe304c0)
2009-01-05Added support for alpha blending to true type font drawing.Philipp Sehmisch1-0/+7
(cherry picked from mainline commit 89a1dcb59be3e531cc0761c32d1aa70e141d4a12)
2009-01-05Fixed double-free of true-type resources.Guillaume Melquiond1-2/+5
(cherry-picked from mainline)
2009-01-05Modified the Aethyra client to use the TMW TrueType class, rather thanEugenio Favalli7-338/+246
the inbuilt GUIChan TrueType class. (Didn't use it originally because I didn't see the difference, when there's a considerable speedup, and that originally the import for TMW was broken code at the time, which has been fixed since.)
2009-01-05Fixed browser box so that it'd work again.Ira Rice2-51/+26
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Changed smiley window to say emote. (I like emote better, so that'sIra Rice1-2/+2
why. :P) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Added emote window button.Ira Rice1-0/+6
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Made trade window resizableBjørn Lindeijer4-27/+51
Also fixed overlap between description label and the buttons and added the SDL_ttf library to the Code::Blocks project file.
2009-01-05Made an option around the syncing, but no way to change it for now.Bjørn Lindeijer1-3/+1
(cherry picked from mainline commit f6f8b2f885145d4cacf7a6c42d88b6a39f71b366) Conflicts: src/openglgraphics.cpp
2009-01-05Merged Vector class improvements from mainlineBjørn Lindeijer1-0/+1
2009-01-05Renamed PATH_NODE to Position as on mainlineBjørn Lindeijer8-38/+126
2009-01-05Handling gender with an enum everywhere.Philipp Sehmisch14-39/+45
(cherry picked from mainline commit d3adc61aa4b4924f82d8cbc23bea26da7257da97) Conflicts: src/net/beinghandler.cpp src/net/charserverhandler.cpp src/player.cpp src/player.h
2009-01-05Refactor the way in which browser box text is drawn and wrapped.Björn Steinbrink2-94/+151
(cherry picked from mainline commit ecabe82d8720689905a6d035b0597d97037287c7) Conflicts: src/gui/browserbox.cpp
2009-01-04Smiley step 1.91, the little part to make it workForge4-9/+36
TODO list of 1.9 still intact.
2009-01-04Smiley track: step 1.9Forge10-15/+1202
The window listing the smiley is ok (F11). The window for shortcut of smiley is in progress (F12) So far, you can use any available smiley directly (mouse interface) and can get a reminder of the keybinding in the shortcut window. Yet to be done (for final step 2.0): * Transform the keybinding into the actual mapping of the shortcut seen in F12 * Drag & Drop from F11 to F12 windows and from F12 to F12 * Code factorisation for class ShortcutContainer and derivatives Item & Smiley (so far, most code is shared, but actually in 3 places, should keep only specific code in leaf-class, and main code in parent) Revision of copyright message (so far, only a cut-paste of inspiring previous files) * Save shortcut-smiley mapping on exit (and reload on start) (with protection against changing smiley-list)
2009-01-02Step 1.5 of smiley update: allow usage of same key for smiley andForge3-462/+460
different purpose (as smiley are requiring a special key press, that's not a problem to assign the same key to differents purpose) The function of game.cpp get reindented in the process, but the actual change is minor. The keyboardconfig get a new function, returning directly the emoticon offset from the key pressed. (later, that function will return the index of the smiley shortcut/array that has been selected... later) Signed-off-by: Forge <jgrimbert@free.fr>
2009-01-01Customisable shortkey for smiley (defaulting to keypad 0-9/*)Forge3-27/+77
First step to more smileys... Fully functionnal, very minor modifications Provisions made for second step (windows for choosing smiley) Signed-off-by: Forge <jgrimbert@free.fr>
2008-12-29Fixed a video resolution switching crash.Ira Rice1-1/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-29Removed a duplicate file that was overlooked.Ira Rice1-171/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-29Removed TMW's truetype file, since we don't use it (accidentaly left itIra Rice1-2/+0
in) Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-29Added support for True Type Fonts using GUIChan's inbuilt SDLTrueTypeIra Rice14-65/+1055
class. NOTE: This commit adds a brand new dependency (SDL_TTF). Make sure to install it, regenerate your config files, reconfigure, and then install before attempting to compile. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-27Remove ../ from tileset files.Ira Rice1-1/+3
Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-26Fixed a potential leak in setup, changed the default border color toIra Rice8-17/+47
white for wallpapers (matches our wallpapers better), and fixed the effect manager. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-21Fixed wallpaper selection to be handled correctly.Ira Rice1-3/+3
Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-20Enabled video mode switching, as well as got rid of an old, unneededIra Rice4-15/+43
check in the ColorDB. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-14Code reformatting to conform to line lengthBjørn Lindeijer1-151/+160
(cherry picked from mainline) Conflicts: src/game.cpp
2008-12-14Passing vectors by referencePhilipp Sehmisch2-318/+317
2008-12-14Some systactical sugar for 864e33Philipp Sehmisch2-18/+9
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch6-45/+62
2008-12-10Obscure precise home directory name when making screenshotsFate1-9/+14
2008-12-09Fixed two issues with the chat message parsingBjørn Lindeijer1-6/+17
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>