Commit:     00406e5154ad6582ba49424d89f646d093991222

Trac URL:   
http://developer.wz2100.net/changeset/00406e5154ad6582ba49424d89f646d093991222

Author:     Per Inge Mathisen <p...@wz2100.net>
Date:       Mon Oct 18 22:52:55 2010 +0200

Remove completely obsolete idea of saving game.type to user settings.

 src/configuration.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)


-------------------------

Commit:     ee8024b6ea7d8e71dfbd55f80bba67796c82cb28

Trac URL:   
http://developer.wz2100.net/changeset/ee8024b6ea7d8e71dfbd55f80bba67796c82cb28

Author:     Per Inge Mathisen <p...@wz2100.net>
Date:       Mon Oct 18 22:58:19 2010 +0200

Change old obsolete way of checking for single player campaign by checking
for game.maxPlayer == 0. Instead, now check game.type == CAMPAIGN.

 src/order.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


-------------------------

Commit:     6c406f4a68c7b0134cd88b9e8385fc93a2ec0c0c

Trac URL:   
http://developer.wz2100.net/changeset/6c406f4a68c7b0134cd88b9e8385fc93a2ec0c0c

Author:     Per Inge Mathisen <p...@wz2100.net>
Date:       Mon Oct 18 23:00:09 2010 +0200

Always set script starting positions to zero on game init, before loading level 
data.
Set game.maxPlayers to 8 for campaign (more truthful).

 src/frontend.c    |    3 +--
 src/init.c        |    6 +-----
 src/multiopt.c    |    2 --
 src/scriptfuncs.c |    6 ++++++
 4 files changed, 8 insertions(+), 9 deletions(-)


-------------------------

Commit:     ca7155957dcec9a44c058a07810b2bba787d9a56

Trac URL:   
http://developer.wz2100.net/changeset/ca7155957dcec9a44c058a07810b2bba787d9a56

Author:     Per Inge Mathisen <p...@wz2100.net>
Date:       Mon Oct 18 23:01:29 2010 +0200

Do not create danger maps for campaign. Add this later, but there seems to be 
too many corner cases to handle for now.

 src/map.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/map.c b/src/map.c
index 453a8a4..1958cc0 100644
--- a/src/map.c
+++ b/src/map.c
@@ -2266,7 +2266,11 @@ static void dangerUpdate(int player)
        {
                psTile->dangerBits |= (1 << player);
        }
-       dangerFloodFill(player);
+       if (game.type == SKIRMISH)
+       {
+               dangerFloodFill(player);
+       }
+       // else everything is equally dangerous
 }
 
 void mapInit()


-------------------------

Commit:     34770f0d63df52b26a6ec8a8a7f84602f0bf459c

Trac URL:   
http://developer.wz2100.net/changeset/34770f0d63df52b26a6ec8a8a7f84602f0bf459c

Author:     Per Inge Mathisen <p...@wz2100.net>
Date:       Mon Oct 18 23:02:01 2010 +0200

Add fallback script starting position if map has no HQ by checking for first 
found truck. This fixes tutorial and danger map bug.

 src/game.c |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)


-------------------------


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to