summaryrefslogtreecommitdiff
path: root/src/game.cpp
AgeCommit message (Collapse)AuthorFilesLines
2008-12-17Remember windows visibility.Eugenio Favalli1-4/+12
(cherry picked from eathena client repository, commits 88af5cb15a02a26f4a5990ba3ef4df46e572bff4, 19ee623c0a1fdd333ef5b945ea887c983c829b1e, f924885ea0db5842b080610ec63e61a4bcc2a30c) Conflicts: src/gui/itemshortcutwindow.cpp src/gui/window.cpp
2008-12-14Code reformatting to conform to line lengthBjørn Lindeijer1-151/+160
(cherry picked from mainline) Conflicts: src/game.cpp
2008-12-14Code reformatting to conform to line lengthBjørn Lindeijer1-41/+63
(cherry picked from mainline) Conflicts: src/game.cpp
2008-12-14Removed unnecessary c_str()Bjørn Lindeijer1-1/+1
2008-12-14Code reformatting to conform to line lengthBjørn Lindeijer1-39/+57
2008-12-14Obscure precise home directory name when making screenshotsFate1-4/+9
(cherry picked from commit 7d5c6124e9c9cf447286eaa58afe17adf6c1a81d)
2008-12-14Removed the unused NewSkillDialogBjørn Lindeijer1-5/+0
Won't be introduced based on eAthena anyway, I think even with tmwserv we have different plans now. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl> (cherry picked from eAthena branch, commit bab09df7a8347f39221b2a87487dcd128a686def) Conflicts: src/game.cpp
2008-12-14Make the window shortcuts configurableJared Adams1-9/+9
(cherry picked from commit 4f2749ab2782fdece3c098b1a52b69cb37eea9eb)
2008-12-14Removed ChargeDialogBjørn Lindeijer1-8/+0
The ChargeDialog was removed. This class was long dead anyway. (cherry picked from eAthena client commit 719e2b02bc6833198d6af2d3c95de96ef95f876d) Conflicts: src/CMakeLists.txt src/Makefile.am src/game.cpp src/localplayer.cpp src/localplayer.h src/net/charserverhandler.cpp tmw.cbp Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-13Make sure to initialize joystick enabled stateBjørn Lindeijer1-2/+0
Joystick enabled state could end up uninitialized on unsuccesfully trying to open a joystick. In addition, the enabled state wasn't actually used in the accessor methods for the joystick buttons.
2008-12-13Do not activate shortcuts if tradewindow is visible.Dennis Friis1-8/+12
Conflicts: ChangeLog src/game.cpp (cherry picked from eAthena client)
2008-12-10Obscure precise home directory name when making screenshotsFate1-9/+14
2008-12-10Obscure precise home directory name when making screenshotsFate1-4/+9
2008-12-09Make the window shortcuts configurableJared Adams1-11/+27
2008-12-09Removed the unused NewSkillDialogBjørn Lindeijer1-5/+0
Won't be introduced based on eAthena anyway, I think even with tmwserv we have different plans now. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-09Make the window shortcuts configurableJared Adams1-9/+9
2008-12-07Added some initialization and removed ChargeDialogIra Rice1-8/+0
Many member variables of LocalPlayer were not being initialized properly. In general this shouldn't have caused any problems, but it's bad style. The ChargeDialog was removed. This class was long dead anyway. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl> Conflicts: src/Makefile.am src/game.cpp src/gui/chargedialog.cpp src/gui/chargedialog.h src/localplayer.cpp src/localplayer.h Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-07Made minimap visible by defaultBjørn Lindeijer1-0/+2
Also remember its visibility state.
2008-12-07Merge commit 'a7c21e6f8add37af7412449742ec55c8daa8571a'Ira Rice1-4/+11
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-12-07Added some initialization and removed ChargeDialogBjørn Lindeijer1-8/+0
Many member variables of LocalPlayer were not being initialized properly. In general this shouldn't have caused any problems, but it's bad style. The ChargeDialog was removed. This class was long dead anyway. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Made minimap visible by defaultBjørn Lindeijer1-0/+2
Also remember its visibility state.
2008-12-03Add an effects manager (patch by Kage Jittai)Ira Rice1-0/+4
NOTE: This patch demonstrates the need to fix pixel coordinates in the eAthena client. Bjorn did the movement patch in the TMWClient, however, I still haven't got that fully working with the merges. It's likely that a clone will be developed to tackle this problem. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-27Merged a patch by Bjorn to fix allowing the joystick to be used without Ira Rice1-3/+1
being enabled first. A similar patch was asked for by Doorsman here, so this combined with the setup button on client startup, should be enough to fulfill that request from Doors.
2008-11-27Make sure to initialize joystick enabled stateBjørn Lindeijer1-2/+0
Joystick enabled state could end up uninitialized on unsuccesfully trying to open a joystick. In addition, the enabled state wasn't actually used in the accessor methods for the joystick buttons.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-9/+3
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-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-06Added interface for sending post.David Athay1-5/+22
2008-11-06Don't allow players to use items through item shortcuts while trading. Ira Rice1-74/+78
Patch done by Peavey on TMW.
2008-11-06Fix a missing brace that got lost on last commit (r4927)Dennis Friis1-0/+1
2008-11-06Do not activate shortcuts if tradewindow is visible.Dennis Friis1-9/+12
2008-11-03Fixed talk being recalled while t is held down. Thanks doors for Ira Rice1-9/+12
noticing this bug.
2008-11-01Magic implementation phase 1 and 2 (added netcode and a very crude gui for ↵Philipp Sehmisch1-7/+12
using special actions like magic)
2008-11-01Merged revisions 4207-4209,4221-4222 via svnmerge from Bjørn Lindeijer1-5/+6
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4207 | b_lindeijer | 2008-04-29 11:10:43 +0200 (Tue, 29 Apr 2008) | 6 lines * Fixed issue with determining whether chat input is focused (method no longer virtual). * Fixed sometimes rendering with the wrong font. * Fixed warnings about hiding virtual method, Window now always deletes its children (the option not to do so was never used anyway). ........ r4208 | b_lindeijer | 2008-04-29 13:25:26 +0200 (Tue, 29 Apr 2008) | 3 lines Removed unused option from GCContainer to not delete a child, fixing warnings about hiding virtual method gcn::Container::add. ........ r4209 | b_lindeijer | 2008-04-29 14:58:21 +0200 (Tue, 29 Apr 2008) | 3 lines When compiling with GCC, use the printf format attribute for the log method so that the compiler checks the type of its parameters. ........ r4221 | peaveydk | 2008-05-06 21:23:49 +0200 (Tue, 06 May 2008) | 1 line Dont allow dragging of empty placeholders. ........ r4222 | peaveydk | 2008-05-08 00:49:38 +0200 (Thu, 08 May 2008) | 1 line Make F8 toggle shortcut window as suggested by And1 an fate. ........
2008-11-01Merged revisions 4130 via svnmerge from Bjørn Lindeijer1-3/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4130 | the_enemy | 2008-04-18 22:39:29 +0200 (Fri, 18 Apr 2008) | 3 lines Mac now uses Apple key for emoticons, so alt can be used for alternate characters. Disable vsync on mac. ........
2008-10-31Last commit was a bit premature (was trying to cancel the commit). Ira Rice1-0/+6
Anyways, this patch improves keyboard support for NPCs by allowing the user to hit enter to proceed through the dialogs. What it doesn't do at the moment is give users a way to scroll through the dialog choices... yet. But once one is selected, you can hit enter to continue.
2008-10-31Improved keyboard support by putting the NPC ok button in focus, and Ira Rice1-0/+4
making it so that hitting enter on opening the dialog will close it.
2008-10-28Made it so that the trade window doesn't stay visible when it was open Ira Rice1-0/+1
before the client was closed. Patch by Trelos on TMW.
2008-10-28Fixed a fast walking bug that was caused by a state conflict Ira Rice1-3/+9
where the keys would tell the client to attack and stop attacking all at the same time. Thanks to SoftLace for reporting it.
2008-10-28Fixed trade window being visible on client startup when it was visible onBjørn Lindeijer1-0/+1
shutdown. Thanks to Trelos for looking into this problem.
2008-10-28Fixed attacking so that it will actually continue to attack in Ira Rice1-1/+1
succession like it's intended to if it's given a true keep flag, or just do one attack if that flag isn't set. Since most people seem to prefer to continue to attack when attacking, shift will be used for when someone only wants to hit the target once.
2008-10-27add effect handler (by Chuck Miller)Roderic Morris1-0/+3
2008-10-27Made targets draw on the fringe layer, as well as added t for talking to Ira Rice1-5/+24
an NPC, n for targeting an NPC, and changed basic targeting code so that it'll time out after being on a target for longer than a minute.
2008-10-27Add an effects manager (patch by Kage Jittai)Jared Adams1-0/+3
2008-10-26Pixel-accurate and fluently animated keyboard movement by Kage Jittai - ↵Philipp Sehmisch1-1/+18
albeit not flawless it is still a big improvement.
2008-10-21Fixed up some of the postal system stuff for testing it.David Athay1-0/+3
2008-10-09Merged the movement branch into trunkBjørn Lindeijer1-3/+6
I consider this the only way forward. In my tests this code isn't actually doing worse than what was there before. Of course some cases are a bit broken, and I'm open to any kind of feedback so that we can fix those issues.
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-343/+335
2008-08-28Applied patch put together by Jaxad0127 with changes from the Aethyra project.Bjørn Lindeijer1-2/+22
Improves compatibility with the newer version of eAthena and works around an initialization bug.
2008-08-22Added config option to honor stop-walking packet, added X and Y to /where, ↵Lloyd Bryant1-1/+1
reformatted src/chat.cpp