Find a file
joris 55d2e864ee New unit-type flag "Wall", which will treat unit as wall.
This will use the unit's Direction field to show different wall connections.
The unit should be a building and have NumDirections = 16 and Flip = false.
The wall unit didn't count in GetNumOpponents. When it attacked, AI didn't fight back and no warnings are shown.

NOTE: need to modify triggers, so they won't count the wall units when calculating player's remaining units. Not needed for those games which don't use this feature. 

Wall mapping:
 Frame 0 - wall without connections.
 Frame 1 - wall with north connection.
 Frame 2 - wall with west connection.
 Frame 3 - wall with north and west connections.
 Frame 4 - wall with south connection.
 Frame 5 - wall with south and north connections.
 Frame 6 - wall with south and west connections.
 Frame 7 - wall with south, north and west connections.
 Frame 8 - wall with east connection.
 Frame 9 - wall with east and north connections.
 Frame 10 - wall with east and west connections.
 Frame 11 - wall with east, north and west connections.
 Frame 12 - wall with east and south connections.
 Frame 13 - wall with east, south and north connections.
 Frame 14 - wall with east, south and west connections.
 Frame 15 - wall with all connections.

patch from Cybermind.
2012-02-18 09:59:57 +01:00
.bzr-builddeb add .bzr-builddeb dir for bzr builddeb 2010-05-14 14:25:20 +02:00
cmake/modules Revert file which should not be commited 2011-10-17 20:36:07 +02:00
debian Fixed compile errors on Maemo 2011-12-30 13:24:23 +01:00
doc Release version 2.2.6 2011-12-24 16:16:33 +01:00
gameheaders Fixed maemo-extract header 2012-01-02 11:37:51 +01:00
metaserver Fixed crashing metaserver at first start 2011-05-28 13:26:27 +02:00
po Moved international po files to po subdir 2011-03-26 23:34:16 +01:00
src New unit-type flag "Wall", which will treat unit as wall. 2012-02-18 09:59:57 +01:00
tools Fix compilation with MSVC 2012-02-14 12:01:26 +01:00
.bzrignore Update .bzrignore 2011-08-09 09:34:26 +02:00
CMakeLists.txt cmake: Add sections for tolua pkg files and doxygen depends files 2012-01-17 01:25:05 +01:00
COPYING added gpl 2003-07-03 16:10:29 +00:00
README Updated info in doc/changelog.html, renamed it to name with lower chars 2011-08-09 09:19:14 +02:00

    ________________________________README_________________________________
         _________ __                 __                               
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ | 
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/ 
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
           Stratagus - A free fantasy real time strategy game engine

Read 'doc/index.html' for general information and license information.
Read 'doc/install.html' for Stratagus installation instructions.
Read 'doc/changelog.html' for the Stratagus changelog.