~stratagus/wargus/trunk

« back to all changes in this revision

Viewing changes to scripts/menus/campaign.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:
162
162
    SetPlayerData(GetThisPlayer(), "RaceName", CurrentCampaignRace)
163
163
    wargus.playlist = {}
164
164
    PlayMusic(sound)
165
 
    local menu = WarMenu(nil, bg, false)
 
165
    local menu = WarMenu(nil, bg, true)
166
166
    local offx = (Video.Width - 640) / 2
167
167
    local offy  = (Video.Height - 480) / 2
168
168
    menu:addLabel(title, offx + 320, offy + 240 - 67, Fonts["small-title"], true)