~stratagus/wargus/trunk

« back to all changes in this revision

Viewing changes to scripts/ai.lua

  • Committer: cybermind
  • Date: 2015-03-18 09:57:51 UTC
  • Revision ID: iddqd_mail@mail.ru-20150318095751-bgkxt0oky414fcxh
[+] Added textbox to specify SF2 soundfont
[*] Slight difficulty adjusting for campaign AI scripts
[*] Fixed autocast for Invisibility

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
--
11
11
--      ai.lua - Define the AI.
12
12
--
 
13
--      (c) Copyright 2000-2015 by Lutz Sammer, Jimmy Salmon, cybermind and Kyran Jackson.
13
14
--
14
15
--      This program is free software; you can redistribute it and/or modify
15
16
--      it under the terms of the GNU General Public License as published by
881
881
                  SetSpeedUpgrade(AiPlayer(), 75)
882
882
                  SetSpeedResearch(AiPlayer(), 75)
883
883
        end
884
 
        
885
884
 
886
885
        while (true) do
887
886
                local ret = loop_funcs[indexes[playerIndex]]()