circumvent sleeping dragons in this code. Patch by Buginator in patch #939 with changes by me.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3542 4a71c877-e1ca-e34f-864e-861f7616d084
* parameters `weaponClass` and `impactSide` of featureDamage() didn't have a description
* parameter `subType` was wrongly referrered to as `type` of function sendMultiPlayerFeature
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3415 4a71c877-e1ca-e34f-864e-861f7616d084
Patch #920 with some modifications by me to make it compile and slightly simpler
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3399 4a71c877-e1ca-e34f-864e-861f7616d084
* Utilize the net primitives API for sending & receiving of different types of gifts
Patch #888 by EvilGuru
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3123 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove some useless casts
* Rewrite some "else { if (X) { } }" statements to "else if (X) { }"
* Rewrite several "if (X) { if (Y) { } }" statements to "if (X && Y) { }"
* Remove some commented out (and sometimes also duplicated) code
* Add some tiny bits of comments here & there
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3119 4a71c877-e1ca-e34f-864e-861f7616d084
psDroid->psTarget is only used for orders, where multiweapon has no meaning.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2797 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
functionality in the skirmish game mode, so it is not necessary.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2155 4a71c877-e1ca-e34f-864e-861f7616d084
the most network bandwidth. Look in in the netplay.log file for this info.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2113 4a71c877-e1ca-e34f-864e-861f7616d084
new gettext style. As per Mailinglist post
'Gettext - part2'
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1355 4a71c877-e1ca-e34f-864e-861f7616d084
Thanks to Huehner for writing the script that transformed calls to strres
back into C strings.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1325 4a71c877-e1ca-e34f-864e-861f7616d084
* further remove audio_GetIDFromStr from src/aud.c and rename audioID_GetIDFromStr (from audio_id.c) to audio_GetIDFromStr
* also changed calling method of audio_GetIDFromStr, now it returns its retrieved value (ID index number) rather than writing it in a pointer given as parameter
PS MSVC project might be broken, I don't have it so can't check nor fix it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1288 4a71c877-e1ca-e34f-864e-861f7616d084
- Vector3i from lib/ivis also used in lib/audio, maybe want to move it to some more generic place?
- Replace iPoint with Vector2i
- Remove additional integer type declarations from pietypes.h
- Rename all iSprite to iTexture
- Various warning fixes: Unsigned/signed comparisons, uninitialized variables, declared but not defined symbols
- Replace DEBUG_BLOCK with DEBUG_MALLOC (it was virtually the same)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1245 4a71c877-e1ca-e34f-864e-861f7616d084
- Remove lots of unused functions (Windows/DDraw related)
- Now store the used bitdepth in the config and thus make it configurable without having to modify the sourcecode
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@808 4a71c877-e1ca-e34f-864e-861f7616d084
-Prevented NETbcast() from flooding the log in games with no network communication.
-orderDroidObj() scripting function will no longer cause ASSERT when DORDER_DROIDPERAIR is passed as parameter.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@773 4a71c877-e1ca-e34f-864e-861f7616d084
-fixed disabled players allying their team members
-reenabled God Mode (Ctrl-G) for Debug builds and campaign mode
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@769 4a71c877-e1ca-e34f-864e-861f7616d084
-Added now frontend texture to frend.img
-Disabled "Allied players send vision to each other automatically (only once)" for "Allow alliances" alliance mode, since (x allied y) is not a transitive relation in this mode
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@744 4a71c877-e1ca-e34f-864e-861f7616d084
- Replace every occurence of VOID with void (and LPVOID with void*)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@703 4a71c877-e1ca-e34f-864e-861f7616d084
Allied players send vision to each other automatically (only once)
Fixed caching problems for variables of type GROUP
Some other scripting engine updates and cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@647 4a71c877-e1ca-e34f-864e-861f7616d084
- Simplify definition of ASSERT(). Now is the same for GCC and MSVC.
This may not work on versions older than MSVC 2005. If you experience this, please report it!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@613 4a71c877-e1ca-e34f-864e-861f7616d084