Author: mordante
Date: Fri Apr 13 21:14:05 2007
New Revision: 16811

URL: http://svn.gna.org/viewcvs/wesnoth?rev=16811&view=rev
Log:
reverted the unit offset of 16 pixels so they're back at their orginal location

Modified:
    trunk/changelog
    trunk/players_changelog
    trunk/src/terrain.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=16811&r1=16810&r2=16811&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Fri Apr 13 21:14:05 2007
@@ -21,7 +21,6 @@
    * improved the look of the main menu and tips of the day boxes in the title
      screen
    * bugfix: units will now fade out properly at the end of death animations
-   * added new experimental new unit location in the hex
    * tiles with overlays are also properly shown if compiled with
      --enable-tinygui (bug #8720 patch #697)
    * rewrote the halo render engine which solves a few minor glitches but

Modified: trunk/players_changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/players_changelog?rev=16811&r1=16810&r2=16811&view=diff
==============================================================================
--- trunk/players_changelog (original)
+++ trunk/players_changelog Fri Apr 13 21:14:05 2007
@@ -31,8 +31,6 @@
     * Added the --max-fps command line switch.
     * Improved the look of the main menu and tips of the day boxes in the title
       screen.
-    * Added new experimental unit location in the hex (the units will be
-      standing in the center of the hex, instead of near the bottom).
     * Added some more speed optimizations.
     * Units and movement text are scaled properly when zooming, also with tiny
       gui.

Modified: trunk/src/terrain.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/terrain.cpp?rev=16811&r1=16810&r2=16811&view=diff
==============================================================================
--- trunk/src/terrain.cpp (original)
+++ trunk/src/terrain.cpp Fri Apr 13 21:14:05 2007
@@ -31,7 +31,7 @@
                               mvt_type_(1, t_translation::VOID_TERRAIN),
                               def_type_(1, t_translation::VOID_TERRAIN),
                               union_type_(1, t_translation::VOID_TERRAIN),
-                   height_adjust_(16), submerge_(0.0), light_modification_(0),
+                   height_adjust_(0), submerge_(0.0), light_modification_(0),
                    heals_(0), village_(false), castle_(false), keep_(false) 
 {}
 
@@ -93,7 +93,7 @@
        std::sort(union_type_.begin(),union_type_.end());
        union_type_.erase(std::unique(union_type_.begin(), union_type_.end()), 
union_type_.end());
 
-       height_adjust_ = atoi(cfg["unit_height_adjust"].c_str()) + 16;
+       height_adjust_ = atoi(cfg["unit_height_adjust"].c_str());
        submerge_ = atof(cfg["submerge"].c_str());
 #ifdef USE_TINY_GUI
        height_adjust_ /= 2;


_______________________________________________
Wesnoth-commits mailing list
[EMAIL PROTECTED]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to