summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-01-12Updated the po files so that they shouldn't generate errors for us anyIra Rice4-19/+11
more, as well as a few more code style fixes. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Some code style cleanups, as well as uncommented the font setting forIra Rice2-11/+6
the emote shortcut window (which I meant to test before committing. Don't remove this line, as text drawing behavior is rather crazy without it). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Some rather pedantic changes. Unified all naming for emoticons in theIra Rice24-597/+607
code so that only one term is used everywhere (to simplify maintainability), as well as corrected several variable names and comments where there was copy/pasted code, but it wasn't corrected. Also moved emote shortcuts back to where they were originally, to reduce player confusion when the next build comes around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Fixed minimap so that map names don't overflow the minimap's width.Ira Rice1-4/+8
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-10Changed a few emote variable names to be more sensible, as well asIra Rice7-40/+41
removing emotions.png from the client data files (should have never been there to begin with, IMO). TODO: Simplify the emote code so that there is a lot less redundant code, as well as make filling out the possible emotes more flexible. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-10Removed a debug line that was accidently left in.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-10Made a few more window components use a transparency under OpenGL, asIra Rice6-10/+18
well as some code style cleanups in the skill dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09More code style cleanupsIra Rice2-28/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Code style cleanupIra Rice1-8/+4
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Removed an unneccessary functionIra Rice2-10/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Fixed a potential crash in the setup window when setting whether a nameIra Rice1-1/+2
is viewable or not, and the player doesn't exist yet. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Added the ability to save GM assert state to the client, as requested.Ira Rice2-1/+7
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Merged comment by silene from mainlineBjørn Lindeijer1-0/+4
We should probably look into fixing the thing he's talking about.