summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer94-534/+6131
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-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer26-44/+31
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Centralize current_npc cleanupJared Adams4-16/+12
2009-02-17Show money for initial character in char selectJared Adams1-0/+1
2009-02-17Fix small bug in character select dialogJared Adams1-1/+1
That check can probably be removed entirely, as it's inappropriate.
2009-02-17Reduce NpcTextDialog to one actionJared Adams2-14/+29
This allows external classes (like game.cpp) to send actions to it without them having to know about it's internal state.
2009-02-17Got rid of const where it does not make much senseBjørn Lindeijer8-17/+17
It's not that useful to make variables that are passed by value const. In the declaration it is even completely ignored.
2009-02-17Merge branch 'aethyra/master'Bjørn Lindeijer4-18/+33
Conflicts: src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npcstringdialog.cpp src/net/npchandler.cpp src/npc.cpp
2009-02-16Moved location of trim checking, since it really should be done afterIra Rice1-6/+3
the recipient nickname is parsed out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Trim whitespace from the beginning and end of whispers, as well asIra Rice1-0/+21
disallowing empty whispers and whispers to yourself, since both of those cases cause the server to report back stating that the player wasn't found (even if they are there, like yourself). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Fixed a nasty crash that was only visible from the @help command. If theIra Rice1-1/+3
line's string was empty after trimming, the client would crash when trying to get a substring. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Fixed up NPC dialogs to behave more like eAthena expects.Jared Adams5-14/+18
2009-02-16Fixed GUI opacity in SDL modeBjørn Lindeijer2-15/+10
By using indexed instead of alpha-layered images, the GUI opacity can also be supported in software mode.
2009-02-16Allow setting default values for NPC dialogsJared Adams4-1/+15
2009-02-16Allow default value for IntTextField to be changedJared Adams2-3/+28
Also check value and default value when range is changed
2009-02-16Fix some compilation issuesJared Adams2-2/+2
2009-02-16Add next/close buttons for NPCsJared Adams5-10/+55
And keep the text dialog open for the whole transaction, logging user input and keep a full record of text from the NPC (for the current transaction only).
2009-02-15Allow pressing enter with focus in port fieldBjørn Lindeijer1-1/+2
Added action event id to port field of login dialog.
2009-02-15Fixed compiler warningsBjørn Lindeijer1-1/+1
Comparison between signed and unsigned integer expressions.
2009-02-15Merge branch 'aethyra/master'Bjørn Lindeijer9-69/+0
2009-02-15Don't make window name translatableBjørn Lindeijer11-11/+11
The window name is used in the configuration file, in contrast to the window title.
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer26-37/+37
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Fixes some variable names to conform to naming conventionBjørn Lindeijer17-59/+48
Please do remember that member variables are prefixes with 'm', so that they are easily distinguishable.
2009-02-15Fixed compiler warningsBjørn Lindeijer4-10/+11
Comparison between signed and unsigned integer expressions.
2009-02-15Deleted some unneeded delete statements.Ira Rice9-69/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-15Fixed header copyright notices.Ira Rice2-4/+6
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-15Add configurable units systemJared Adams11-34/+63
2009-02-15More copyright header fixesBjørn Lindeijer6-16/+16
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer23-101/+203
Conflicts: CMakeLists.txt configure.ac data/help/header.txt packaging/windows/setup.nsi po/POTFILES.in src/being.cpp src/being.h src/game.cpp src/gui/color.cpp src/gui/color.h src/gui/equipmentwindow.h src/gui/popupmenu.cpp src/gui/recorder.cpp src/gui/setup_colors.h src/gui/setup_keyboard.cpp src/gui/setup_keyboard.h src/gui/skill.cpp src/gui/speechbubble.cpp src/gui/speechbubble.h src/gui/table.cpp src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/main.cpp src/main.h src/map.cpp src/resources/colordb.cpp src/resources/colordb.h src/resources/emotedb.cpp src/resources/emotedb.h src/text.cpp src/text.h src/tmw.rc src/winver.h
2009-02-12Some more files which got fixed up for release (basically versionIra Rice2-4/+6
bumps). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-12Describe the /me command in chat helpKess Vargavind1-13/+23
Also a few whitespace and spelling fixes.
2009-02-12Describe the /me command in chat helpKess Vargavind1-13/+23
Also a few whitespace and spelling fixes.
2009-02-11Changed default color for "Is" to be more readableMadCamel1-1/+1
2009-02-11Adjusted a few files for release.Ira Rice3-4/+4
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Implemented /meMadCamel1-0/+16
2009-02-11Fixed crash when sending a blank item linkMadCamel1-1/+1
2009-02-11Changed default color for "Is" to be more readableMadCamel1-1/+1
2009-02-11Implemented /meMadCamel1-0/+16
2009-02-11Fixed crash when sending a blank item linkMadCamel1-1/+1
2009-02-11Fixed the default table width for the player tab.Ira Rice1-20/+33
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Shut up some compiler warnings.Philipp Sehmisch7-10/+10
2009-02-11Shut up some compiler warnings.Philipp Sehmisch7-10/+10
2009-02-11Don't make log statements translatableBjørn Lindeijer4-8/+8
The log is mainly used to aid the developers, hence shouldn't be translated to the user's local language. Also introduces unnecessary work for all translators.
2009-02-11Changed spelling from colour to color.Philipp Sehmisch11-118/+118
2009-02-10Whitespace fixesBjørn Lindeijer8-18/+18
Mainly removed trailing whitespace. Also small fix in header of recorder.cpp.
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer6-18/+18
2009-02-10Removed many pointless comparisons with NULLBjørn Lindeijer9-34/+20
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice156-338/+480
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Made sure to clean up after all of the dangling pointers in theIra Rice2-6/+46
Setup_Video tab. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Added two more options for displaying speech overhead (don't show it atIra Rice10-42/+88
all and show speech bubbles without names). Since a checkbox won't work any more for all of these modes, it's now a slider. Signed-off-by: Ira Rice <irarice@gmail.com>