* Use this enum's values throughout the src/* code
* Replace scripting function playCDAudio(int) by playIngameCDAudio() which is equivalent to cdAudio_PlayTrack(playlist_ingame)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3687 4a71c877-e1ca-e34f-864e-861f7616d084
Additionaly:
- Remove soundBug event, which apparently was needed to workaround some bug in the sound system which no longer exists. (We can even pause in CALL_GAMEINIT, which apparently was not possible in 1.x.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3545 4a71c877-e1ca-e34f-864e-861f7616d084
- Fix a bug where you could build an oil-derrick too early.
- Prevent factory from being built before the voice has asked for it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3361 4a71c877-e1ca-e34f-864e-861f7616d084
- some functions dealing with structure quantity at some location now additionally take a boolean which indicates whether half-built structures should be ignored (stock AI is updated accordingly)
- added sqrt() and exp() functions
- added friendlyWeapObjCostInRange() function to calculate cost of friendly units within a certain range
- CALL_RESEARCHCOMPLETED now additionally returns structure that has completed research and its owner
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2495 4a71c877-e1ca-e34f-864e-861f7616d084
NOTE: this does not fix the issue of the close button not flashing, it does however make this script request it to be flashed (as in, one down, on to go).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1342 4a71c877-e1ca-e34f-864e-861f7616d084