summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
AgeCommit message (Collapse)AuthorFilesLines
2008-10-27Made targets draw on the fringe layer, as well as added t for talking to Ira Rice1-3/+0
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-27Merged the Tametomo branch back into trunk. Targeting has been removed Ira Rice1-94/+1
from the viewport, and is now located on the beings themselves. Eventually, this will be changed further so that the targets draw below the being, instead of maintaining the same logic, but baby steps first.
2008-10-24fixes for targetting (by Chuck Miller)Roderic Morris1-11/+8
2008-10-23A few more compiler warnings fixed.Ira Rice1-1/+1
2008-10-09Merged the movement branch into trunkBjørn Lindeijer1-45/+46
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-80/+63
2008-09-15Commented out getBeingByPixel because it really isn't used, nor is there Ira Rice1-4/+4
much sense to. Shouldn't make any visible changes to performance yet, but I trimmed it out for now anyways.
2008-08-28Accepted Patch by Scraggy that moves text in such a way that no text overlapsBjørn Lindeijer1-21/+7
2008-07-18Import of client treeLloyd Bryant1-22/+8
2008-07-14fix view names checkbox, fix compilation with cmakeRoderic Morris1-4/+4
2008-07-01Merged revisions 4044-4067 via svnmerge from Bjørn Lindeijer1-7/+5
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r4044 | b_lindeijer | 2008-04-07 11:02:38 +0200 (Mon, 07 Apr 2008) | 2 lines Added support for basing one sprite definition on another by including it. ........ r4057 | b_lindeijer | 2008-04-08 20:43:44 +0200 (Tue, 08 Apr 2008) | 4 lines Implemented support for an arbitrary number of map layers. The only layer requirement for map layers are now that the fringe layer is called "Fringe" and that the collision layer is called "Collision". ........ r4067 | b_lindeijer | 2008-04-11 00:03:57 +0200 (Fri, 11 Apr 2008) | 3 lines Fixed some compiler warnings and don't try to load particle effects when no file is set. ........
2008-06-15fix compiler and cmake warningsRoderic Morris1-2/+2
2008-06-04Small fix for displaying all names.Mateusz Kaduk1-1/+3
2008-06-04Added switch option drawing nicknames only if mouse hover. Useful in crowded ↵Mateusz Kaduk1-1/+25
places.
2008-04-20Merged revisions 3962-3983,3985-3999,4001-4021 via svnmerge from Bjørn Lindeijer1-0/+1
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3962 | crush_tmw | 2008-03-09 16:35:00 +0100 (Sun, 09 Mar 2008) | 1 line Applied some patches by peavey related to chatlog and the quit dialog. ........ r3968 | umperio | 2008-03-11 14:56:47 +0100 (Tue, 11 Mar 2008) | 1 line Removed unused image. ........ r3969 | b_lindeijer | 2008-03-11 17:44:20 +0100 (Tue, 11 Mar 2008) | 2 lines Also removed unused image from the files to be installed. ........ r4006 | crush_tmw | 2008-03-26 00:28:05 +0100 (Wed, 26 Mar 2008) | 1 line Initialized some uninitialized variables (patch by peavey). ........ r4008 | b_lindeijer | 2008-03-27 15:51:10 +0100 (Thu, 27 Mar 2008) | 2 lines Applied patch by peavey and added his name to the ChangeLog some more. ........ r4010 | b_lindeijer | 2008-03-30 16:06:14 +0200 (Sun, 30 Mar 2008) | 2 lines Updated configure.ac for tmwdata split (patch by peavey). ........ r4018 | crush_tmw | 2008-04-01 03:02:30 +0200 (Tue, 01 Apr 2008) | 1 line Added makefile for TMXCopy by jaxad. ........ r4019 | crush_tmw | 2008-04-01 03:34:29 +0200 (Tue, 01 Apr 2008) | 1 line compilation fixes suggested by peavey. ........ r4020 | crush_tmw | 2008-04-01 03:37:51 +0200 (Tue, 01 Apr 2008) | 1 line renaming makefile to Makefile ........ r4021 | crush_tmw | 2008-04-01 03:38:35 +0200 (Tue, 01 Apr 2008) | 1 line renaming makefile to Makefile ........
2008-04-17Moved walking calls flooding control when dragging mouse to viewport.Yohann Ferreira1-11/+15
2008-04-17Added input type parameter to the LocalPlayer::SetDestination methods in ↵Yohann Ferreira1-6/+10
order to keep control over message flooding to the server with mouse dragging. (I need feedback !)
2008-04-16Fixed compilation warning.Bjørn Lindeijer1-2/+2
2008-04-15Fixed clicking near player.David Athay1-2/+0
2008-04-11 Players now need toDavid Athay1-2/+19
click on the monster sprites rather than the tile. Players will now move to the target before attacking it.
2008-04-08Implemented support for an arbitrary number of map layers. The only layerBjørn Lindeijer1-15/+9
requirement for map layers are now that the fringe layer is called "Fringe" and that the collision layer is called "Collision".
2008-03-27Applied patch by peavey and added his name to the ChangeLog some more.Bjørn Lindeijer1-1/+2
2008-03-23Merged revisions 3828-3829,3831-3838,3841,3843-3844,3847-3872,3874,3876-3900 ↵Bjørn Lindeijer1-31/+28
via svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3828 | crush_tmw | 2007-12-31 17:14:27 +0100 (Mon, 31 Dec 2007) | 1 line Added config options to set the scroll center. Retained scroll offset during map change for smoother map transitions. ........ r3859 | b_lindeijer | 2008-01-26 20:38:43 +0100 (Sat, 26 Jan 2008) | 3 lines Fixed a GCC 4.3 compile error and constified the usage of auto_ptr, since that's the way in which we are using them. ........ r3876 | crush_tmw | 2008-02-11 20:00:43 +0100 (Mon, 11 Feb 2008) | 1 line Added music and overlay to snake dungeon. ........ r3883 | crush_tmw | 2008-02-12 15:00:22 +0100 (Tue, 12 Feb 2008) | 1 line Particle emitters are now activated after the parent particle has moved instead of before (small change which allows a little trick to create polar emitters) ........ r3887 | umperio | 2008-02-12 20:49:37 +0100 (Tue, 12 Feb 2008) | 1 line Made pathfinding not halt on collision destination tile, made moving around with mouse smoother. Added possibility to pass through players with key controls. ........ r3888 | crush_tmw | 2008-02-13 21:49:55 +0100 (Wed, 13 Feb 2008) | 1 line Added new headgears by Black Don (thanks to QOAL for testing and implementation) ........ r3891 | umperio | 2008-02-18 09:52:06 +0100 (Mon, 18 Feb 2008) | 1 line Fixed image name. ........ r3892 | umperio | 2008-02-18 11:00:45 +0100 (Mon, 18 Feb 2008) | 1 line Forgot a %s ........ r3899 | crush_tmw | 2008-02-19 14:23:34 +0100 (Tue, 19 Feb 2008) | 1 line Map fixes at snake dungeon by QOAL ........ r3900 | crush_tmw | 2008-02-19 14:32:24 +0100 (Tue, 19 Feb 2008) | 1 line More map fixes at snake dungeon by QOAL ........
2008-03-13Synchronized pathfinding algorithmns with those used by the server to avoid ↵Philipp Sehmisch1-2/+6
asynchronisation.
2008-02-12Made pathfinding not halt on collision destination tile, made moving around ↵Eugenio Favalli1-1/+1
with mouse smoother. Added possibility to pass through players with key controls.
2007-12-31Added config options to set the scroll center. Retained scroll offset during ↵Philipp Sehmisch1-51/+53
map change for smoother map transitions.
2007-11-20Merged revisions 3629-3630 via svnmerge from Bjørn Lindeijer1-1/+1
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (but kept looks in Being class, since eAthena works that way) ........ r3629 | gmelquio | 2007-10-18 21:00:38 +0200 (Thu, 18 Oct 2007) | 1 line Removed player looks from generic beings. Prevented client termination on missing sprites. Merged weapon-type and attack-type fields for items. ........ r3630 | gmelquio | 2007-10-18 21:30:57 +0200 (Thu, 18 Oct 2007) | 1 line Fixed changelog message. ........
2007-11-14Experimented with non-stuck gaming when talking to NPCs.Guillaume Melquiond1-4/+0
2007-10-18Removed player looks from generic beings. Prevented client termination on ↵Guillaume Melquiond1-1/+1
missing sprites. Merged weapon-type and attack-type fields for items.
2007-10-15Added Dutch translation (incomplete) and put drawing of debug path into aBjørn Lindeijer1-27/+31
private method.
2007-09-27Merged another bunch of changes from trunk to 0.0 to reduce the difference.Bjørn Lindeijer1-1/+1
2007-09-19Merged 0.0 changes from revision 3362 to 3580 to trunk.Bjørn Lindeijer1-21/+4
2007-08-23Removed two useless popup related methods, used generic close buttonBjørn Lindeijer1-14/+2
functionality for the debug window and renamed Particle::mVector to Particle::mVelocity for clarity.
2007-08-14Fixed popup menu requiring one more click after being used.Eugenio Favalli1-7/+2
2007-06-04Merged 0.0 changes from revision 3234 to 3317 to trunk.Bjørn Lindeijer1-36/+72
2007-05-23Added a missing include and fixed a bug with cleaning up target cursorBjørn Lindeijer1-6/+7
animations.
2007-05-23Replaced target cursor graphics with higher quality ones by Pauan.Philipp Sehmisch1-6/+6
2007-05-20Added different target cursor sizes for monsters. Graphics for small and ↵Philipp Sehmisch1-22/+52
large cursor are provisional until better versions based on the original SVG of the medium sized one are available.
2007-05-07Fixed positioning of monster names and target circles.Philipp Sehmisch1-15/+18
2007-03-24Merged 0.0 changes from revision 3177 to 3234 to trunk.Bjørn Lindeijer1-23/+87
2007-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer1-14/+18
2007-03-21Avoiding magic numbers where possible (1002) and also display the target whenBjørn Lindeijer1-43/+31
other players are targeted.
2007-03-20Reduced amount of useless logging, calculate nearest power of two in a functionBjørn Lindeijer1-1/+1
and only do the alpha check in software mode.
2007-03-20Tweaked the target cursor and name drawing.David Athay1-52/+63
2007-03-20Fixed target cursor animation, and changed when it is drawn.David Athay1-57/+57
2007-03-19Added target cursor. Shows blue when target in range, and red when out of range.David Athay1-0/+61
2007-03-11Merged 0.0 changes from revision 3065 to 3177 to trunk.Bjørn Lindeijer1-5/+9
2007-03-11Fixed a bug that made the engine not draw the last row and column of the map.Philipp Sehmisch1-2/+2
2007-02-10Fixed the bug in the scrolling limitation that made it possible to scroll ↵Philipp Sehmisch1-5/+9
outside of the map in the south and east.
2007-01-23Merged 0.0 changes from revision 3035 to 3065 to trunk.Bjørn Lindeijer1-1/+1