summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-01-20Changed item popup drawing to be based on the mouse position, not windowIra Rice5-25/+36
position. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Trim displayed speech to not show links.Ira Rice2-6/+33
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Fix bug with item links.David Athay1-1/+1
2009-01-20Added linking to item's just using [Item Name] in chatDavid Athay4-0/+63
2009-01-20Added WoW style item adding to chat window. Right click, then leftDavid Athay12-18/+148
clicking on add to chat to put the item in the chat input. Left click the item link to show a popup description, and click the link again to remove the popup.
2009-01-20Modified the item shortcut bar to show item popups based on a suggestionIra Rice2-15/+74
made by Jarvellis. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Didn't know that one set of brackets I used was needed for compiling forIra Rice1-297/+281
GNU. Fixed that, as well as found why we were indented as many lines as we were in the first place. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Reverse the order of slider and label againBjørn Lindeijer1-4/+4
In order to stay consistent with the video setup page.
2009-01-19Fixed up indentation in game so that the indentation isn't misleading.Ira Rice1-251/+251
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Removed tabs from game.cpp.Ira Rice1-445/+445
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Made the party class use gettext.Ira Rice2-45/+50
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Fixed a directory creation error reported by our Windows users (whyIra Rice3-21/+51
doesn't PhysFS handle this properly?!?) when there's already an update directory. Also fixed the recorder class so that it's fixed on Windows as well. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Fixed overlaps in the last commit by converting the debug window code toIra Rice1-13/+11
use the layout engine. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Added current map filename to debug window.Philipp Sehmisch3-14/+25
2009-01-18Reflowed Audio setup tab using layout code.Ira Rice1-10/+16
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Some style fixes that were forgotten in the previous commit.Ira Rice1-3/+7
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed Joystick tab using layout engine.Ira Rice1-8/+13
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed Player tab in setup to use layout code. TODO: Fix up tableIra Rice2-24/+30
model, cause it's a mess. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed the setup keyboard tab with the layout code.Ira Rice2-8/+13
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reset the input fields so that they're reset when they're brought upIra Rice2-0/+2
again. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed ok/cancel position in the string dialog to conform to a moreIra Rice1-2/+2
uniform GUI style. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed String dialog sending so that it doesn't crash the client afterIra Rice1-3/+3
completing, as well as making it so that the server can actually use the string to match to the same value (which it wasn't doing before. Did anyone think to test that?) Would eventually like to whittle down the wasted bytes sent, but this so far is the least number that can be done, make it so that strings can be matched, and on top of that, NOT crash the map server. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed the NPC Integer input field, as well as cut some bull from theIra Rice13-84/+94
NPC String class. The Integer input field was rather horribly broken to the point where it could send invalid data, the increment and decrement buttons didn't work, and overall it was tripping over itself. As for the NPC String, "The Mana World" as a string is not needed to set the field to that length, but instead fills the text field with that text for starting. This is completely inappropriate for a text entry field, and a more sensible default would be to leave it empty, so that people can type in what they want without having to delete it. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed Color setup dialog to use layout code.Ira Rice2-99/+110
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18While the last commit might look good in English, it wasn't veryIra Rice1-23/+23
translation friendly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed layout of video setup page when translatedBjørn Lindeijer9-75/+207
Introduced a LayoutHelper class which can be used for any non-Window container where you want to use a layout to place child widgets.
2009-01-18Fixed mapreader crash caused by unknown tile properties (That's why I said ↵Philipp Sehmisch1-2/+6
that I would like some praxis-oriented testing of the animation system before the release).
2009-01-18Used dynamic layout for registration windowBjørn Lindeijer2-75/+39
The dialog looks nicer now and the layout problems when the dialog is translated have been fixed. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-01-18Updated some apple specific codeDavid Athay1-0/+4
2009-01-18Add dialogs to input text and numbers for scriptsJared Adams11-2/+426
2009-01-18Fixed the minimap so that it properly remembers if it was open onIra Rice1-4/+4
closing, rather than opening every time the client loads. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-17While the old behavior works, I think most people would appreciate notIra Rice1-1/+5
having to specify a full file path. Now, if you invoke the /record command, you only need to specify a file name, and it'll save a log to the .aethyra directory. Should help stop failures based on not having the priveleges to write to that location. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-17Repaired recorder functions.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-17Cleaned up chat code a bit.Ira Rice2-134/+211
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-17Added a few XML files for "translation". Idea obtained from IchigoBlack,Ira Rice3-3/+3
where these "translation" strings can be used to tell the client to use a separate XML file than the English one, so that item descriptions, monster names, etc. which are obtained from updates can be translated as well. Ex. instead of pointing to items.xml for Spanish, tell the client to translate that string to items.es.xml, or for monsters.xml, tell it to point to monsters.zh.xml for Chinese. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Candidate release for 0.0.27.1 (Windows needs to get colors fixed, andIra Rice6-15/+4
then this build might be official) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Some small layout tweaks, as well as making a few dialogs moreIra Rice3-32/+38
consistent UI-wise (continue-like functionality is always in the bottom right corner, with canceling to the left of it). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Adjusted character selection screen to be a bit more translationIra Rice1-46/+38
friendly, as well as modified the character creation screen to use the layout code. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Revised trade window to use the window layout code. Loosely based on theIra Rice2-96/+67
trade window in TMW's mainline client. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Fixed a potential crash when the emotes aren't loaded, or there are lessIra Rice1-1/+1
than 12 emotes. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Trimmed out some now unneeded fields in the inventory window.Ira Rice2-63/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Made emotes load in only one location, as well as fixing the code on theIra Rice4-23/+9
being so that the last emote draws (which got broken). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Fixed Item Popup window transparency (double setting of the skin)Ira Rice5-9/+12
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15A little bit of code cleanup/simplification.Ira Rice5-19/+23
TODO: Figure out how the itempopup transparency is broken and fix it (broken on code import). Best guess would be that the window is attached to a widget which is then attached to a window, causing a break in updates to the transparency code. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Integrated the ItemPopup class from Legends of Mazzeroth.Ira Rice7-1/+228
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Added emote database, which is loosely based off of the NPC database.Ira Rice16-56/+300
Also changed all emotes to be animated sprites now, and to load from emotes.xml. This gives us a bit more flexibility to not only add more emotes in the future, but allowing them to be animated as well. NOTE: This commit, unlike the previous emote commits, breaks emotes if you don't have the xml file. This will be available on Aethyra soon, but is not rolled into an update at the moment. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Merged Tab and TabbedArea from mainlineBjørn Lindeijer16-217/+472
Changes mostly done by David Athay. Currently these widgets are only used in the setup window, where they replace the previously used TabbedContainer.
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice85-980/+503
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Fixed color spelling for American English.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Fixed a path error that slipped through by accident.Ira Rice2-2/+2
Signed-off-by: Ira Rice <irarice@gmail.com>