stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/data/ccl cheats.lua


From: address@hidden
Subject: [Stratagus-CVS] stratagus/data/ccl cheats.lua
Date: 14 Dec 2003 15:49:29 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       03/12/14 15:49:29

Modified files:
        data/ccl       : cheats.lua 

Log message:
        Added fow on/off, unite the clans, and you pitiful worm

Patches:
Index: stratagus/data/ccl/cheats.lua
diff -u stratagus/data/ccl/cheats.lua:1.1 stratagus/data/ccl/cheats.lua:1.2
--- stratagus/data/ccl/cheats.lua:1.1   Sun Dec 14 15:33:20 2003
+++ stratagus/data/ccl/cheats.lua       Sun Dec 14 15:49:28 2003
@@ -26,7 +26,7 @@
 --      along with this program; if not, write to the Free Software
 --      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  
USA
 --
---     $Id: cheats.lua,v 1.1 2003/12/14 04:33:20 jsalmon3 Exp $
+--     $Id: cheats.lua,v 1.2 2003/12/14 04:49:28 jsalmon3 Exp $
 
 speedcheat = false
 
@@ -57,10 +57,10 @@
     RevealMap()
 
   elseif (str == "fow on") then
-    -- FIXME: Not supported yet
+    SetFogOfWar(true)
 
   elseif (str == "fow off") then
-    -- FIXME: Not supported yet
+    SetFogOfWar(false)
 
   elseif (str == "fast debug") then
     for i = 1,table.getn(resources) do
@@ -114,10 +114,10 @@
     end
 
   elseif (str == "unite the clans") then
-    -- FIXME: Not supported yet
+    ActionVictory()
 
   elseif (str == "you pitiful worm") then
-    -- FIXME: Not supported yet
+    ActionDefeat()
 
   elseif (str == "it is a good day to die") then
     -- FIXME: Not supported yet




reply via email to

[Prev in Thread] Current Thread [Next in Thread]