summaryrefslogtreecommitdiff
path: root/src/gui/skill.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-20Reflowed inventory window to use layout code, as well as fixed the npcIra Rice1-17/+25
list dialog to be more consistant with other windows. Also revised the skill window to default to being only as big as the number of skills listed. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Reflowed skill dialog, as well as started to work on revising the tableIra Rice1-11/+12
model (none of the changes yet make visible improvements yet, unfortunately). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-17Added a few XML files for "translation". Idea obtained from IchigoBlack,Ira Rice1-1/+1
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-10Made a few more window components use a transparency under OpenGL, asIra Rice1-10/+5
well as some code style cleanups in the skill dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-08Made remaining dialogs translatableBjørn Lindeijer1-18/+16
Most strings are now translatable. Please do report any missing ones. Strings excluded from translation are anything that gets written to the log file or is otherwise not shown in the GUI. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Fixed inconsistency in default window sizesBjørn Lindeijer1-1/+1
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-07Merge commit 'a7c21e6f8add37af7412449742ec55c8daa8571a'Ira Rice1-3/+5
Conflicts: AUTHORS CMakeLists.txt ChangeLog INSTALL README aethyra.cbp configure.ac data/help/changes.txt data/help/commands.txt data/help/header.txt data/help/support.txt src/Makefile.am src/aethyra.rc src/being.cpp src/being.h src/equipment.cpp src/equipment.h src/floor_item.h src/game.cpp src/gui/buddywindow.cpp src/gui/char_select.cpp src/gui/char_server.cpp src/gui/chat.cpp src/gui/chat.h src/gui/equipmentwindow.cpp src/gui/equipmentwindow.h src/gui/gui.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/itemcontainer.h src/gui/minimap.cpp src/gui/ministatus.cpp src/gui/newskill.cpp src/gui/npc_text.cpp src/gui/npclistdialog.h src/gui/ok_dialog.cpp src/gui/setup_video.cpp src/gui/skill.cpp src/gui/skill.h src/gui/status.h src/gui/table_model.h src/gui/updatewindow.cpp src/gui/viewport.cpp src/inventory.cpp src/inventory.h src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/localplayer.h src/logindata.h src/main.cpp src/map.cpp src/monster.cpp src/monster.h src/net/beinghandler.cpp src/net/beinghandler.h src/net/buysellhandler.cpp src/net/equipmenthandler.cpp src/net/loginhandler.cpp src/net/loginhandler.h src/net/network.h src/net/npchandler.cpp src/net/playerhandler.cpp src/net/protocol.h src/net/tradehandler.cpp src/npc.cpp src/npc.h src/particleemitter.cpp src/particleemitterprop.h src/player.cpp src/player.h src/player_relations.cpp src/resources/imageset.cpp src/resources/imageset.h src/resources/itemdb.cpp src/resources/mapreader.cpp src/resources/monsterinfo.h src/text.cpp src/text.h src/textmanager.cpp src/textmanager.h src/tileset.h src/utils/fastsqrt.h src/utils/strprintf.cpp src/winver.h tools/tmxcopy/Makefile tools/tmxcopy/base64.cpp tools/tmxcopy/base64.h tools/tmxcopy/tostring.h Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+2
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-11-11Fixed two broken include pathsPhilipp Sehmisch1-2/+2
2008-11-02Fixed a few windows compiler errors, as well as rolled out a new Windows build.Ira Rice1-1/+1
2008-11-02Merged another fix from TMW for the new skill dialogue, which makes it so ↵Ira Rice1-4/+20
that if a skill is unknown, it doesn't crash the client (it doesn't print garbage, like fate claims).
2008-11-02Ported a patch from TMW by fate which de-hardcodes skills, as well as ↵Ira Rice1-49/+132
removes the server sending out view id's for gloves and boots (which weren't needed.) Here's the full log: * Updated GUI table and model to better handle NULL widgets during initialisation * On SMSG_MOVE et al., ignore boots and glove information-- that information is incorrect and we're guaranteed to already have the correct information anyway. * Properly decode `is dead' information for PCs, so that dead players, when encountered, will be lying on the ground, dead, rather than standing. * Use `skills.xml' file from client data to determine skill names * Report client version number (hereby bumped to 1) in unused charserver slot (ignored by vanilla eAthena)
2008-11-01* Report unmapped skill names as `Mystery Skill' (rather than random characters)Fate1-4/+22
2008-11-01* Updated GUI table and model to better handle NULL widgets during ↵Fate1-46/+128
initialisation * On SMSG_MOVE et al., ignore boots and glove information-- that information is incorrect and we're guaranteed to already have the correct information anyway. * Properly decode `is dead' information for PCs, so that dead players, when encountered, will be lying on the ground, dead, rather than standing. * Use `skills.xml' file from client data to determine skill names * Report client version number (hereby bumped to 1) in unused charserver slot (ignored by vanilla eAthena)
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-3/+1
2008-07-18Import of client treeLloyd Bryant1-1/+1
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-1/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-08-20Added close button functionality, resize cursor cues.Joshua Langley1-5/+1
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-5/+5
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-1/+1
from the 0.1.0 branch.
2006-03-18Use the window container instead of the graphics class to calculate window ↵Björn Steinbrink1-4/+2
positions.
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-41/+42
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-9/+3
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-5/+4
using STL algorithms.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-16/+8
2005-10-20Added garbage collection to the ScrollArea class. Fixed slider not being ↵Björn Steinbrink1-8/+2
updated in the item amount box when the buttons are used.
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-6/+1
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-2/+2
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-1/+1
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-10-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer1-0/+1
references to resources are reported to be more informative.
2005-09-30Fixed paths for windows usersMatthias Hartmann1-1/+1
2005-09-29Improved a lot windows reset to default size and pos. Also corrected a few ↵Yohann Ferreira1-1/+5
the default win position. And moved the setposition from game to each win, to clarify the code.
2005-09-28Save and load X, Y, Height, and Width to useful wins.Yohann Ferreira1-1/+1
2005-09-28Added window internal name to every window. Useful to later get and save X, ↵Yohann Ferreira1-0/+2
Y, Height, and Width of these wins.
2005-09-26Now error message is displayed properly when the map server is offline.Eugenio Favalli1-1/+0
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-2/+0
2005-09-17Completed transition to use MessageOut.Eugenio Favalli1-2/+5
2005-09-17Updated dev-cpp project file to last changes, and wrong names fixes.Eugenio Favalli1-6/+6
2005-09-17Now the values shown by derived stats in status win are got from the server. ↵Yohann Ferreira1-9/+9
Still, when Equipping/unequipping, you have to warp to get these values updated. Does somebody has an idea how to request an update of these values when equipping/unequipping ?
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-5/+4
2005-08-22Disabled use button in skill dialog since is still not being used.Eugenio Favalli1-12/+1
2005-08-21Some updates and cleanupsEugenio Favalli1-1/+22
2005-08-18Updated reference to latest libxml, fixed a bug in updating skills, updated ↵Eugenio Favalli1-6/+16
skill names database.
2005-08-13Small header cleanup.Björn Steinbrink1-1/+6
2005-07-26- New smilies by ModanungEugenio Favalli1-3/+3
- New skill names - New title song
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+1
2005-05-27autoTarget is now a Being*, also may have fixed related crash and added labelBjørn Lindeijer1-4/+2
to show current target.
2005-04-07Changed version from 0.0.11a to 0.0.11.1. Also made "+" buttons on stats windowBjørn Lindeijer1-4/+18
and "Up" button on skills window disable when appropriate.
2005-04-01* The client will now only attempt to load .tmx or .tmx.gz files.Bjørn Lindeijer1-1/+0
* When unable to connect to char server, report IP to which it can't connect. * Cleaned up logger a bit.