Commit Graph

494 Commits (2ce52672c7a8162531e173dfdb1fe7824ec9a07e)

Author SHA1 Message Date
Dennis Schridde 0316bee001 Remove original backdrops (ugly) and wzlogo 3, 4 and rename the others to backdropX
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4046 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-14 19:31:42 +00:00
Dennis Schridde 3e9cb44a88 frend -> frontend (makes mods which add files to the WRF incompatible!)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4045 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-14 19:22:40 +00:00
Freddie Witherden 3bb71c1b3e Hopefully fix the size of the logo in frend.img.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4034 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-13 19:59:59 +00:00
Giel van Schijndel 1dac4a46a2 Split schema and data up into seperate SQL files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4012 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-11 15:57:04 +00:00
Giel van Schijndel add956c36d Change all 'trailGfx' columns that where '0' to NULL instead
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4002 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-10 22:58:02 +00:00
Giel van Schijndel c620910020 Add some SQL VIEWs to extract data in a similar way as how it's stored in the CSV files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3966 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 22:24:26 +00:00
Giel van Schijndel cb470b1697 * Convert the 'structureweapons.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3965 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:32:52 +00:00
Giel van Schijndel e4ac82a18a Update comment to mention which table.column is referred by an integer ID value in the structures table
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3964 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:10:17 +00:00
Giel van Schijndel e4af0a7735 * Convert the 'structures.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3963 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:08:49 +00:00
Giel van Schijndel 30f2e438c0 * Convert the 'sensor.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3962 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 20:54:47 +00:00
Giel van Schijndel e944a82dae * Convert the 'ecm.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3961 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 19:29:20 +00:00
Giel van Schijndel 4cfa907249 * Use NULL where appropriate
* Fix a typo in a column name


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3960 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 19:10:59 +00:00
Giel van Schijndel b221414e8e Convert the 'body.txt' stats to the SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3959 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 18:40:07 +00:00
Giel van Schijndel f940f4624b * Convert the 'construction.txt' stats to the SQLite database
* Fix some comments


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3957 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 16:25:46 +00:00
Giel van Schijndel f55d9ac013 Convert the 'brain.txt' stats to the SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3956 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 16:09:20 +00:00
Dennis Schridde a2548cf796 Create empty rules for player0.* to prevent circular dependencies
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3942 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-07 16:03:02 +00:00
Giel van Schijndel db4896b8cc Remove old database junk (from the original M$ Access DB)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3893 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-02 19:09:50 +00:00
Giel van Schijndel 799bc88f1c Dump all the weapon stats in an SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3892 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-02 19:08:24 +00:00
Roman C 2465552376 Aivolution AI:
-made AIV research all tech necessary for the newly added heavy templates
-tweaked templates a bit

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3887 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-01 18:12:38 +00:00
Roman C bc9e5fa1de Stock AI:
Ported fix to bug #11122 from Branch to Trunk (player0.slo was already fixed in r3875).

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3886 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-01 18:11:04 +00:00
Dennis Schridde 377adc40d6 Another backdrop named "My Pet Turtle" by Cathuria from the "A paltry 30k polys" thread http://forums.wz2100.net/?topic=1361.0
License: CC BY-SA 3.0, as allways.
The border and logo look quite good ingame, so 07-bdrop.png should get that, too.
Also: Use a highres version of 07-bdrop.png, also by Cathuria
Also: Change COPYING.README style a bit


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3884 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-01 13:18:44 +00:00
Roman C 7daf3f093c Restore stock AI for player 0 which was overwritten by Aivolution in r3873.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3875 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-29 20:22:58 +00:00
Roman C 295d1e40e8 Fixed bug #11097 ("Ai opponents use the medium yellow body all the time").
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3873 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-29 20:18:13 +00:00
Roman C cc3c372bdf Aivolution:
revert changes done to player0.slo after 3841, since it reverted bug fix to bug #11085, which was applied in r3840.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3871 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-29 20:00:12 +00:00
Dennis Schridde f92b8fc5b4 PCRE is not supported by every grep as it seems, so expand \s to [[:space:]].
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3860 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-23 14:33:18 +00:00
Per Inge Mathisen bbae49f687 Fix two erronous png references in model files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3857 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 23:11:21 +00:00
Per Inge Mathisen 548653d0d0 Add ECM range parameter. Clean up ECM code. Remove cyborg stealth hack from
trunk in anticipation of future ECM work.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3854 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 19:13:13 +00:00
Dennis Schridde 8485224b12 Move playerX.[vs]lo.in to player0.[vs]lo
This adds make warnings, which are hopefully always reacted upon as they are in my version of GNU make, so it does the correct thing and not try to replace player0.[vs]lo with itself or do other crap...
make: Circular player0.slo <- player0.slo dependency dropped.
make: Circular player0.vlo <- player0.vlo dependency dropped.
Also: Add clean target


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3851 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 18:46:23 +00:00
Dennis Schridde f37984a87c Fix a typo in regexp, which prevented "playerX.slo" from getting replaced properly.
Also add error checking, to see wether the template parameters were replaced properly.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3850 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 17:42:30 +00:00
Dennis Schridde bafb1ddd8f Port r3845: .vlo depends on .vlo.in
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3846 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 12:01:07 +00:00
Dennis Schridde bdc4c57fa7 Port r3843 from branches/2.1: Autogenerate playerX.slo files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3844 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 11:54:29 +00:00
Roman C ffddb98f93 Restore stock AI, which Tortoise silently overwrote.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3841 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-19 19:37:45 +00:00
Roman C 2636ccbef2 Aivolution AI:
-files for all 8 AI players are now back into the repository.
-fixed bug #11085 (part 1/2)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3840 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-19 19:34:50 +00:00
Roman C 741eb57d31 Weapon balance:
Fortresses:
-raised reload rate and firepower
-rocket fortress now has 4 projectiles

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3836 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 19:47:52 +00:00
Roman C cc6e90ce0d Weapon balance:
-light flamers are now allowed to shoot while moving

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3780 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 21:40:44 +00:00
Roman C 1030962761 Stock AI Update:
-fixed a bug which prevented AI from building more than 2 different cyborg types
-added more different templates (flamers, hpv etc)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3779 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 21:39:27 +00:00
Roman C d7c09c4878 Prevent stock AI attack units from idling in the base, make it use them more aggressively.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3773 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-13 19:31:23 +00:00
Roman C 0aac170265 Removed some unused cyborg templates, this also fixed a bug which prevented skirmish AI from building cyborg flamer, heavy gunners and lancer cyborgs.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3772 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-13 19:29:37 +00:00
Roman C fd1bd9c1bc Balance changes:
Increased ridiculously low reload rate of some cyborg weapons while keeping damage/sec constant (mp only).

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3747 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-10 22:23:44 +00:00
Giel van Schijndel 491b968833 * Make cdAudio_PlayTrack work with an enum instead of "magic numbers"
* 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
2008-02-04 16:46:55 +00:00
Roman C 0759f806ae Balance tweaks:
-increased fire power of some cyborgs to match the fire power of the weapons used for units
-decreased reload time for cyborg flamers
-increased weapon range of HPV Cyborgs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3556 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-26 18:06:15 +00:00
Roman C 2d6afffae9 Stock AI:
-added some mini-pod templates to the AI template mix

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3555 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-26 17:35:03 +00:00
Roman C 52b75712d4 Balancing issues:
-reduced cyborg cost by about 15%

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3554 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-26 17:13:24 +00:00
Gerard Krol 9a27f4b7d0 Fix up the landing lights for bug #10204.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3548 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-23 16:23:27 +00:00
Dennis Schridde 3c1a1512b7 Enable power generator after building oil-derrick, instead of when the build icon was clicked. (It is already too late then, it wont be displayed in the list.)
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
2008-01-22 22:05:37 +00:00
Per Inge Mathisen fec3b1ca08 Indexed colour usage has been eliminated, so remove its support code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3529 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 17:06:31 +00:00
Per Inge Mathisen df19674baf Save gateways and zones in tagfile format.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3513 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 16:52:51 +00:00
Roman C 609ec751dc Stock AI update:
make AI leave 2 tiles without hardpoints when building a wall a defenses on gateways

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3509 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-19 19:25:26 +00:00
Per Inge Mathisen 5f42362b77 Replace spaces with dashes in texture names. No more spaces from now on!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3490 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 20:14:16 +00:00
Dennis Schridde 5f22eb8fc2 Parts of my Osmic mod modifications got accidently commited...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3479 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 14:23:11 +00:00
Dennis Schridde 20efcc7b0a Automate mod creation rules.
Notes:
- $<, the first prerequisite, expands to the prerequisite of the definition of the rule. Here: the value of %
- $?, the newer prerequisites, expand to the prerequisites of the reference to the rule. Eg.: "bar" when the reference is "foo.wz: bar"


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3478 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 14:20:20 +00:00
Roman C 0679e72d4e Aivolution AI:
-only one copy of slo/vlo files will be left in the repository, since it is much easier to maintain
-made Aivolution research Mini-rocket Artillery faster on T1

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3474 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 21:17:29 +00:00
Roman C e6f9cb2106 Aivolution AI Update:
-this version of Aivolution uses commanders and mini-pods
-plus many minor tweaks

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3468 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:20:57 +00:00
Dennis Schridde 13ccc44599 Import another one of Hatsjoe's nice backdrops: Satelite over earth: http://forums.wz2100.net/?topic=1295.0
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3437 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 12:22:32 +00:00
Gerard Krol 0c5fff97b5 Patch by Kelly Anderson: Subtile changes to allow for building outside the source tree.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3406 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-08 13:24:25 +00:00
Giel van Schijndel f9d4dc0a6d * Remove unused (and empty) droid.bjo file for map Rush
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3394 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 20:18:34 +00:00
Roman C 0b547158fe Added some mini-pod templates for AIs.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3388 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 17:15:28 +00:00
Roman C ecf36d44ad More balance changes:
-this one mainly touches Ripple Rockets (more damage), BB (more damage), Mortars (more damage) and Assault Guns (less powerful)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3383 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 15:28:24 +00:00
Dennis Schridde b72d76fd3b Replace spaces in filenames with underscores.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3369 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:32:32 +00:00
Dennis Schridde 389c0246d1 Rename some files with spaces in them.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3367 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:21:10 +00:00
Dennis Schridde 8e115eca6e Tutorial fixes
- 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
2008-01-05 20:33:48 +00:00
Roman C 5def5be2ff Added new templates necessary for the new version of Aivolution.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3360 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 19:57:52 +00:00
Per Inge Mathisen 44714f6de5 Remove unused taglist.tag
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3357 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 16:09:56 +00:00
Giel van Schijndel 2e76e8d1f9 * Fixes bug #3 (trac-ticket), apparently in r3343 I forgot to change the Makefiles to include the tagdefinitions directory in the warzone.wz zipfile (the directory testdata was still used)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3352 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 13:37:49 +00:00
Giel van Schijndel 87a55581f0 * Move the tag definition files over to data/tagdefinitions and move the savegame definitions into data/tagdefinitions/savegame
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3343 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 16:10:51 +00:00
Giel van Schijndel 4d8da13cb4 * Use the tagfile format for score.bjo (and rename it to score.tag)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3341 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 15:24:22 +00:00
Roman C b0b7c25198 Apply more balancing on mainstream weapons.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3328 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 21:38:12 +00:00
Roman C 34e7fdf4c3 -Tracks propulsion is not pre-researched in T1 anymore
-HMG HP is enabled in T1 "Advanced bases" settings (the way it was intended to be)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3326 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 18:44:56 +00:00
Giel van Schijndel 149b351d3c * Port functions readFXData and writeFXData over to the tagfile API (and change the files they read&write to a ".tag" extension
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3325 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 00:37:59 +00:00
Giel van Schijndel 96e737fb03 - Bring command.bjo to tagged format (and rename it to firesupport.tag).
- Use new NULL_ID instead of UDWORD_MAX to indicate invalid ids.
- Fix if-complication


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3323 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 00:30:51 +00:00
Roman C 1f10acfaf5 Balancing tweaks:
-Python body is a pre-requisite for Tracks now

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3315 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 19:16:18 +00:00
Per Inge Mathisen 2ca1351c13 Add another field to the IMG csv files that describe what it does.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3314 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 19:15:45 +00:00
Per Inge Mathisen 2954a59823 Fix lack of proper highlighting of the locked teams button in multiplayer join dialog.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3313 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 17:59:58 +00:00
Roman C c2ef4afcdc Balancing tweaks:
-gave more firepower to flamers and cannons
-made cannons more versatile

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3312 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 17:21:49 +00:00
Per Inge Mathisen 168a66b89c Add another backdrop by cathuria.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3303 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 21:40:04 +00:00
Per Inge Mathisen 52cca82fb2 Change the binary IMG files into CSV text files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3302 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 21:33:47 +00:00
Dennis Schridde a1549b9eda Thanks Hatsjoe for redoing the NASDA-Satelite backdrop!
Originaly placed in the public domain, this work is uploaded to SVN as "GPL v2 or later".
http://forums.wz2100.net/?topic=1253.msg11409#msg11409


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3296 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 03:02:42 +00:00
Roman C d50a969336 Weapon balance tweaks:
mini-pods:
  - reverted all values to default, since all changes are done in weaponmodifier.txt / structuremodifier.txt now

mini-rocket artillery:
  - increased long hit chance from 60 to 65
  - increased number of rounds from 8 to 9
  - increased damage from 30 to 34

NOTE: mini-rocket artillery is designed to be used together with mini-pods, they complement each other

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3295 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 00:25:20 +00:00
Roman C 84cac24ac7 Applied "Rock, Paper, Scissors" to structuremodifier.txt
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3294 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:42:50 +00:00
Roman C cd20d0e196 Sorted lines in structuremodifier.txt for better readability.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3293 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:38:38 +00:00
Roman C ea8e5cd71a Changed values of the weaponmodifier.txt - first step of applying "Rock, Paper, Scissors" principle.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3292 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:35:56 +00:00
Roman C 2684e521f5 Sorted lines in weaponmodifier.txt for better readability. No modifications to the data.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3291 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:31:50 +00:00
Giel van Schijndel 5772327c83 * Ahum, shouldn't have committed this file yet (as it is CSV still...)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3289 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:05:46 +00:00
Giel van Schijndel f2164d0d07 * Add SQL conversions of some stats files (from the campaign directory) (all are valid SQLite syntax)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3288 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:03:45 +00:00
Roman C 3912841537 Fix weapons that had more than 1 fire round (salvo file) but no reload time specified.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3284 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 21:39:09 +00:00
Giel van Schijndel 39750cec9c * Update the tagfile definition files to __all__ include the description of BO (boolean) in their header comment
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3280 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 16:21:06 +00:00
Giel van Schijndel de264ad804 * Remove yet some other useless sounds: ID_SOUND_HELP, ID_SOUND_BARB_SCREAM2, ID_SOUND_BARB_SCREAM3
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3270 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 12:02:18 +00:00
Giel van Schijndel 76b66c8271 * Remove scream4.ogg from audio.wrf
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3269 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 11:41:46 +00:00
Giel van Schijndel f2118ec871 * Remove cheat "no faults"
* Remove sound scream4.ogg (ID_SOUND_NOFAULTS) which it triggered (that's the onlything that cheat did: playing that audiofile)
  * All that audiofile contained was a spoken message: "There are no faults, in the renderer, at the moment."


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3266 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 00:28:31 +00:00
Roman C 59e37466c5 Lowered damage for mini-poids.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3265 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 00:26:13 +00:00
Roman C 2aeb1bb801 Balancing tweaks:
Lancer now requires 4 rocket damage upgrades, 2 rocket ROF upgrades, 1 rocket accuracy upgrade and mini-rocker artillery weapon.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3256 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 21:10:22 +00:00
Roman C 628020119f Raise number of pre-requisites for lancer, this fixed a bug introduced in 3250.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3251 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:43:18 +00:00
Roman C 518ff524c1 - mini-pods:
- long range accuracy increased from 30 to 40
  - damage increased from 20 to 27
- mini-rocker artillery:
  - long range accuracy increased from 50 to 60
  - damage increased from 30 to 37
  - to get mini-rocker artillery it is necessary to research 2nd rocker damage upgrade (instead of 1st)
- lancer:
  - to get lancer it is necessary to research 3rd rocket damage upgrade and mini-rocket artillery (instead of 2nd rocker damage upgrade)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3250 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:17:55 +00:00
Per Inge Mathisen 5cca5e2893 Make droid experience a floating point in tagfile format, and add better
error reporting for user errors when they forget to update definition file.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3229 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 19:53:14 +00:00
Christian Ohm a128029caf Replace the credits screen with a cleaned up version.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3213 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 19:02:00 +00:00
Per Inge Mathisen f7e7e44329 Add new tagfile method tagRead8vDup which reads an unsigned byte array of unknown
length, allocates a memory buffer for it, and returns it. Not recommended for
general usage.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3193 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-27 14:57:22 +00:00
Giel van Schijndel bc73882d7e * Set bugtraq:* properties on all directories
* Convert the tilesets 4, 5, 6 and 7 to the separate tile per-file tilesets (using the tile_texpage2mipmap_tileset tool)
  * Purposefully skipped 1, 2 and 3 since I think those are __exactly__ the same to the WZ's original tileset


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3129 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-22 21:19:20 +00:00
Giel van Schijndel 94481386e4 * Add the Newst tileset to the raw Makefiles and autotools buildsystems (to build a ZIP file out of it)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3127 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-22 20:01:10 +00:00
Giel van Schijndel b83a5f9368 * Set svn:eol-style to native for the doc/text files for the Newst tileset mod
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3126 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-22 19:51:52 +00:00
Dennis Schridde e7f4b3d8b0 Add link (URI) to CC as well, to provide an easy to understand summary of the license.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3078 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-16 16:37:18 +00:00
Dennis Schridde 79a8dec64d Correct my misinterpretation of the license (BY-SA instead of BY-ND) and include a copy of it to fullfil the terms.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3073 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-16 14:21:06 +00:00
Dennis Schridde 13fa6cb3d3 Add N.E.W.S.T. tilesets as found in warzone2100-0.2.2 (source-tarball).
Licensed from Rman Virgil under CC 3.0 by-nd. (http://creativecommons.org/licenses/by-nd/3.0/)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3070 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-16 00:47:44 +00:00
Per Inge Mathisen 6118371c0e Add methods to read/write byte arrays to tagfile format.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3036 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-10 21:48:27 +00:00
Per Inge Mathisen fc0db340ce Add info and visibility bits to saved tiles in the tagfile format.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3033 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-10 20:58:26 +00:00
Dennis Schridde c540d8c070 Remove automake workarounds and require 1.10.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2995 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-07 21:09:34 +00:00
Per Inge Mathisen cd91da0caa Add right and left scroll bars to build menu tabs. By Buginator in patch #870 with
some cosmetic fixes by me.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2974 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-03 20:47:05 +00:00
Christian Ohm e21ccef5d7 Fix some terrain tile textures which had purple fringes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2962 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-02 19:13:04 +00:00
Per Inge Mathisen 51daa7e62f Remove the NODRAWTILE bit. We do not need it, and it is in the way of progress.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2928 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-01 15:17:29 +00:00
Per Inge Mathisen 0d7d6dee26 Extend tagfile saves to cover droid movement information. Improve tagfile error reporting somewhat.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2868 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 22:23:40 +00:00
Per Inge Mathisen bacb7975b1 Add new tagfile method to read and write 32bit signed arrays. Fix error that
would interpret floating point arrays as 16bit.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2867 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 21:05:19 +00:00
Per Inge Mathisen 5d77ed8d9f Remove alpha channel from two new backdrops, since those were messing up campaign when used.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2856 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 19:35:40 +00:00
Per Inge Mathisen f76cffb718 Remove mysterious and never used currRayAng from droid object definition.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2833 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-18 22:04:23 +00:00
Per Inge Mathisen 78a9247254 Extend new savegame format to cover orders, formation, and targets.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2819 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-13 20:59:44 +00:00
Giel van Schijndel 7eaafe039c * Fix a typo in r2814, '''flame_id''' --> '''flame_imd'''
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2815 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-12 22:19:47 +00:00
Giel van Schijndel ff1cfed275 * Make sure to qualify `component_id` as a unique key (in table Weapons)
* Add tables Body, BodySize and Technology Type
 * Remove Query "Armour" as it didn't yield any results anyway

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2814 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-12 22:16:42 +00:00
Giel van Schijndel 8566e972d5 * Add some SQL statements (SQLite likes them enough) to create tables in the form of the "original" data set
* Set mime-type of SQL query files to text/x-sql since it is more than just plain text

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2811 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-12 19:51:24 +00:00
Per Inge Mathisen dfac006aa5 Extend new savegame format to save game messages.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2791 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 23:26:19 +00:00
Per Inge Mathisen ae9a987d92 Properly add structures and features to new savegame format.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2790 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 22:34:07 +00:00
Per Inge Mathisen 6e163d9003 Extend new savegame code to save game objects. Droids saved fully, while structures
and features still have a way to go.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2786 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 20:28:28 +00:00
Per Inge Mathisen bfdd5e66ca Make water blue in minimap. Please let me know how you like this change.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2736 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-05 21:42:59 +00:00
Giel van Schijndel bb1fd8660a * Enlarge mission timer field to be able to contain the text
* Enlarge transportation timer field to be able to contain the time text

patch #831 by Buginator


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2724 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-05 15:32:52 +00:00
Giel van Schijndel 533e7e92bf * Use spaces for line-out purposes (rather than tabs)
* Tune down the volume of the oil-pumps, power-spikes and power hums a bit, to make them less dominant (and annoying) (from patch #822 by Buginator)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2681 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-02 22:37:20 +00:00
Per Inge Mathisen 5f39fd4fe1 Add testdata to list of directories to add to warzone.wz in Makefile.raw too
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2675 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-31 17:40:55 +00:00
Giel van Schijndel 613aa478e5 * Declare the .wz archives as PHONY targets in the raw makefile system
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2674 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-31 12:41:26 +00:00
Per Inge Mathisen 43196aaf94 Add testdata to list of directories to install. Bug reported by Buginator on IRC.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2667 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-29 20:14:03 +00:00
Per Inge Mathisen dd4898fe2f Beginnings of a new savegame format. Each time you save, a new file with the
extension .wzs is added to your savegame directory. This is the new world.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2602 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-23 20:52:51 +00:00
Per Inge Mathisen 45988bd322 Also add definition used in unit test for tagfile bools.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2600 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-23 20:22:00 +00:00
Per Inge Mathisen c9b25c5738 Add the tagfile framework that we will use for our new savegame format, and related
unit tests. First sketch of new defined savegame format in tagfile_map.def.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2586 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-22 18:40:34 +00:00
Giel van Schijndel bcd84497bd * Add SQL Queries extracted from the M$ Access DB as provided in the original source tree
This addresses #2 ( https://trac.mortis.eu/warzone/ticket/2 )

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2564 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-19 22:38:22 +00:00
Roman C e0dc89e031 Updated Aivolution AI to be compatible with the recent changes to the scripting functions (parameter numbers of some functions were changed).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2535 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-08 12:55:07 +00:00
Roman C 5a5d16a8a4 - fixed a bug that would prevent AIs from building certain types of cyborgs, since some of their components were not available
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2497 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-29 15:14:11 +00:00
Roman C 8d7c7810ec Scripting engine update:
- 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
2007-09-29 15:04:25 +00:00
Roman C ab81e57255 Fixed bug #8690, patch by Pallas.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2473 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-25 13:33:45 +00:00
Dennis Schridde cab88a8a7d - Make "make -C data data" recursively build mods as well. SUBDIRS is apparently ignored for target!=all.
- Add ABOUT-NLS, which is apparently required by gettext. (Copied from gettext-0.16.1)
- Update po


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2465 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-22 11:45:49 +00:00
Per Inge Mathisen 46a9f57922 Fix canvas offset of grim mod terrain textures, so that they can be properly
opened in the gimp program.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2461 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-16 17:26:11 +00:00
Roman C 041eedd7fd Fixed commands.txt file describing available commands for Aivolution AI.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2417 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-19 11:21:02 +00:00
Giel van Schijndel 55a5837ef3 * Move AIvolution from data/multiplay/skirmish/customai to data/mods/global
* Make sure the buildsystem now constructs a global mod aivolution.wz from AIvolution (you can use it using "--mod aivolution" or "--mod aivolution.wz")
 * Add the GPL text to Grim's GFX mod for emphasis (as it was in the grim.wz archives in the distributed releases)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2411 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 19:59:28 +00:00
Giel van Schijndel 436523e700 * Don't add data/locale to warzone.wz since gettext can't access these files through PhysFS but needs direct access to them (through stdio.h stuff)
* ./configure && make && make install (and the NSIS installer) will make sure that the gettext message catalogs are in a decent location

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2407 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 18:37:08 +00:00
Giel van Schijndel 8fbf62c1b2 * Get grim.wz from data/mods/global/grim.wz instead of data/grim.wz for the NSIS installers
* Fix data/Makefile.raw by moving make-target/make-rule $(SUBDIRS) below "all"

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2406 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 18:31:35 +00:00
Giel van Schijndel b360d380b2 * Move data/grim to data/mods/global/grim
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2404 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 17:42:17 +00:00
Giel van Schijndel cbb398882d * First create $(DESTDIR)$(pkgdatadir)/mods/global before installing grim.wz in it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2390 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 20:40:11 +00:00
Giel van Schijndel 8faa60aa63 * Update Grim's GFX mod for r2300
* Rewritten texture loader: terrain texture tiles are now in separate files rather than concatenated in one large image file
 * Convert tileset to loose files

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2388 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:59:15 +00:00
Giel van Schijndel 0fcde559bc * Update Grim's GFX mod for r2124:
* strings.txt removal

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2387 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:41:21 +00:00
Giel van Schijndel 33aea77e60 * Add Grim's GFX mod (this version would work cleanly with r2123; I'll update it soon after this commit)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2386 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:38:28 +00:00
Giel van Schijndel 0ba8c36b31 * Fix building of mp.wz by the raw Makefiles
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2385 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:21:21 +00:00
Roman C 3704de1f71 Balance:
-increased reload time of EMP Cannon from 5 to 8 seconds
-EMP Cannon will now disable units in its splash radius of 2x2 tiles, with probability of 50%

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2350 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-07 15:10:43 +00:00
Roman C 5c5e82301a Fixed some template names again.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2332 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-03 12:40:18 +00:00
Giel van Schijndel 0f75801eac * fix error in raw makefiles; we want the data/locale directory in the warzone.wz file; not mp.wz
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2331 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-03 12:04:24 +00:00
Per Inge Mathisen e6629b123c Add transparency to water tiles. This closes bug report #9657.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2316 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-02 14:46:35 +00:00
Per Inge Mathisen 7bd7f71d8b Fix broken cam 2 and 3 texture references.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2305 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-01 13:38:30 +00:00
Per Inge Mathisen f999c48d46 Rewritten texture loader. The textures are reimported from the original PCX files,
since they old ones we had had scaling artifacts on the edges, and they have been
split up into one file per texture. We now also use custom mipmaps down to 16x16 
size for improved scaling and interpolation. Texture page (atlas) assembly is now
done with OpenGL rather than by shuffling pixels directly in memory.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2300 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-31 20:16:38 +00:00
Per Inge Mathisen af3631c5f9 Get radar colours from radar text files instead of samples of the terrain tiles.
The radar files use HTML-like hex values for colours (ie FFFFFF is clear white).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2295 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-31 13:02:31 +00:00
Giel van Schijndel 87c955e52e * Add locale directory to raw makefile buildsystem
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2280 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-30 12:08:35 +00:00
Dennis Schridde f509873c0e mp-names.patch by Martin Koller.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2276 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-30 00:27:33 +00:00
Per Inge Mathisen 464e580967 Roll back the latest, accidential change to this texture page.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2272 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-29 17:41:21 +00:00
Dennis Schridde 723f9bfaa1 Use float texture coordinates in the range 0.0-1.0.
Any fixes, if necessary, should be applied on loading.
In the image code (IMAGEDEF) this did not work, so OLD_TEXTURE_SIZE_FIX is applied during rendering.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2258 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-29 13:32:21 +00:00
Dennis Schridde ebb1d7a918 Translate3.patch by Martin Koller. Had to Wiggle names.txt, but it seems to have cleanly applied.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2241 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-28 11:35:26 +00:00
Roman C 0e4c52b890 - added some new templates for AI
- fixed some template names

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2230 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-27 18:19:54 +00:00
Roman C 7501f09cff 1.10 AI Update:
-before starting building a cyborg engineer, make sure it is already researched
-fixed bug #9601

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2208 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-26 15:59:07 +00:00
Per Inge Mathisen 84a6541f53 New weapon connectors on the dragon body for two weapons by Grim Moroe.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2169 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-24 12:17:27 +00:00
Per Inge Mathisen cc17f21df5 Remove templay related code in scripts. Sorry for breaking skirmish for a few minutes :)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2157 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-21 16:41:53 +00:00
Roman C 8fdfad5a67 Fix the second file checking end condition from the mp folder.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2152 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-21 13:16:56 +00:00
Roman C 74c29b312f Fix end condition checking for the multiplayer campaign game mode.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2151 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-21 13:13:21 +00:00
Roman C a23b19137f Added some commander templates for the ai.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2147 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-19 19:31:03 +00:00
Dennis Schridde 84f1d476e4 strings.txt removal by Martin Koller.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2124 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-16 17:44:42 +00:00
Roman C f0fd2363da 1.10 AI:
Make sure cyborg engineers end up in the construction group and are used for construction.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2112 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-15 14:33:07 +00:00
Roman C ccf43f38cb Fixed AI templates that had too many weapons.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2110 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-15 13:58:42 +00:00
Roman C cd126ac034 Only bodies marked as HEAVY in body.txt are allowed to have 2 weapons. LIGHT and MEDIUM bodies can only have 1 weapon attached.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2105 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-15 11:01:05 +00:00
Roman C 0a9388ca0f 1.10 AI Update:
-AI will now also build cyborg engineers
-fixed bug #9503

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2099 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-14 18:02:30 +00:00
Roman C db66f6c053 autogame feature update: after enabling autogame feature, make ai use droids built while autogame feature was off
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2093 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-14 13:40:22 +00:00
Giel van Schijndel 33a8ba3a18 * Fix column description id->volume (change copied from r2059 which was a patch by Martin Koller)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2078 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-13 22:17:32 +00:00
Giel van Schijndel b10e316999 * Make all (I hope I didn't miss any) references to audio filenames lowercase (as all audio files themselves have a fully lowercase name)
* Fix two typos of wrong filenames (these two are not case mismatches) in audio_id.c (one used a ',' instead of '.' and used wav as extension, the other missed a '-')
 * Don't use case insensitive matching of filenames in audio_GetIDFromStr anymore as our filesystems aren't guaranteed to be case insensitive (this should cause no problems together with the above fixes)
 * Use calloc instead of malloc and a for-loop to allocate an array of NULL pointers in sound_Init

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2076 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-13 22:11:04 +00:00
Dennis Schridde e8d00066e0 Fix column description, id->volume. Patch by Martin Koller.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2059 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-12 17:32:33 +00:00
Giel van Schijndel b9f58a0e0b * Convert back-slashes in paths to forward-slashes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2028 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-06 11:32:56 +00:00
Giel van Schijndel 225a70c1f1 * make (save|load)MultiStats const correct (saveMultiStats: char* -> const char*), (loadMultiStats: const char* -> char*)
* remove some unused pointer typedefs LPtypename
 * modify struct PLAYERSTATS to use uint32_t instead of SDWORD (yes I know that changes the signdness, that's intentional)
 * remove padding from struct SAVEDPLAYERSTATS which only served a purpose for the encryption/decryption code (that which was removed in r1953)
 * change name of PLAYERSTATS.loses to PLAYERSTATS.losses (former was a verb in the present time, latter is a noun indicating a count which is what this number essentially is: a counter of losses)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1981 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-26 16:14:09 +00:00
Giel van Schijndel e9c31811d3 * Decrypt data/multiplay/players/test.sta to comply with the removal of the encryption/decryption code from r1953
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1980 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-26 15:24:09 +00:00
Giel van Schijndel ad89b49407 * Revert unintentionally committed changes of r1915
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1916 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-22 11:09:48 +00:00
Giel van Schijndel 1779c3f364 * Add two other Code::Blocks files (projectfile.depend, projectfile.layout) to ignore list
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1915 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-22 11:06:35 +00:00
Dennis Schridde a5f74dc850 Use violet instead of black to mark unused tiles. Useful for debugging.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1877 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-18 15:56:33 +00:00
Dennis Schridde 96609e273b More backdrops by Terminator.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1870 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-17 00:29:34 +00:00
Dennis Schridde b7efd162b2 Another backdrop by Terminator.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1869 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-16 12:31:31 +00:00
Roman C c227835d6a Increase default number of allowed power generators per player to 8, since a power generator can only have 4 oil derricks attached (30 derricks allowed).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1808 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-04 17:15:56 +00:00
Roman C 68a2965390 - increase default number of allowed power generators from 5 to 6 to match the default number of allowed oil derricks (30)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1801 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-03 18:33:51 +00:00
Roman C 16b247dd6d Balance Changes
LasSat weapon:

-blast radius: increased from 2 tiles to 4.5 tiles
-blast radius damage: increased from 1000 to 2800
-reload time: increased from 5 mins to 8 mins
-chance to hit in the blast radius: reduced from 99% to 90%

NOTE: normal damage doesn't seem to have any effect on the LasSat weapon

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1793 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-03 13:09:48 +00:00
Roman C 81812b89b4 Balance Issues (better late than never):
Light Cannon:
- weapon damage raised from 25 to 37
- weapon chance hit increased from 20 to 25
- weapon radius damage increased from 5 to 7

Heavy Gunner Cyborg:
- weapon damage raised from 30 to 37

Cyborg Engineer:
- construction component cost decreased from 17 to 10
- construction time for construction component decreased from 85 to 65 (used to be the same as truck's)
- hitpoints of construction component decreased from 50 to 40 (used to be the same as truck's)

Cyborg Mechanic: (all 3 repair components used to have almost same values, which is now history)
- repair component cost reduced from 50 to 35
- repair component build time decreased from 250 to 100

Heavy Repair:
- heavy repair component cost increased from 50 to 70
- heavy repair component build time increased from 250 to 300


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1778 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-30 16:53:17 +00:00
Roman C 2019b3f08d Aivolution Update:
- fixed a bug preventing AI from building a factory when playing with no-bases settings
- implemented minimal requirements for a base
- some clean-ups

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1777 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-30 14:34:08 +00:00
Roman C fd9dd2a93d Aivolution AI Update:
- fixed a bug preventing AI from locating its base
- improved base location routine

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1776 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-30 10:47:16 +00:00
Per Inge Mathisen e963c18731 Undo sat uplink fix because it broke lassat. Sorry :(
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1761 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-29 18:39:46 +00:00
Per Inge Mathisen 9cecbdcb0d Fix satlink bug for real this time
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1759 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-29 18:08:17 +00:00
Roman C fb6e1cbfd1 Aivolution AI:
- cleaned up debug messages

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1757 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-29 17:56:51 +00:00
Roman C 2e5aa11c29 1.10 AI update:
- implemented "autogame on" and "autogame off" to be used in wz debug mode
- rewrote event activation/deactivation

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1756 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-29 17:54:35 +00:00
Giel van Schijndel 44d4aed7d9 * Remove old resource handler "TERTILES", was both undefined and unused (this used to be the texture loader for the software renderer)
* Rename resource handler "HWTERTILES" to "TERTILES" since the 'HW' (HardWare) part now does not make any distinction with any other kind of texture

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1751 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-29 16:08:08 +00:00
Roman C e3c15e4a23 Aivolution AI update:
- implemented "autogame on" and "autogame off" commands in debug mode
- cleaned up whitespaces

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1748 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-29 14:27:11 +00:00
Roman C c2640060d6 - added Aivolution AI to the repository
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1733 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-28 18:26:35 +00:00
Giel van Schijndel f9783ff29f * Remove unused member Version from IMAGEHEADER
* Use PHYSFS_close after we've read from the image file

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1724 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-27 19:28:54 +00:00
Giel van Schijndel 575a78836a remove unused member PalID from IMAGEDEF
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1723 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-27 18:51:52 +00:00
Giel van Schijndel b5154ae4a3 * Remove redundant and unused string from IMG-header (PalFile)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1722 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-27 18:24:37 +00:00
Roman C d948715572 - a fix (hopefully) for one of the mp asserts
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1714 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-27 13:02:17 +00:00
Roman C 2eebd4f424 - prevent AI scripts from building a truck for human players at startup
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1606 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-10 13:28:59 +00:00
Roman C 90008ff9a6 - fix a bug preventing skirmish AI from researching (only affects non-vtol research branch)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1590 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-06 13:46:24 +00:00
Roman C 846669c8c1 Skirmish/multiplayer AI update:
- alternative VTOL technology branch: on larger maps AI will sometimes use VTOLs for attacking  instead of land units
- AI will rebuild destroyed walls
- AI won't use all the trucks to build a single structure anymore
- faster structure upgrades
- more effective truck production when low on trucks
- faster cyborg production
- AI now builds cyborg mechanics
- AI is even faster on startup
- AI will use more cyborgs for for defending

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1588 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-05 16:01:34 +00:00
Roman C 3776835a01 - added additional multi-weapon templates for multiplayer/skirmish games
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1587 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-05 15:45:39 +00:00
Roman C 9bd29a1511 -cyborg propulsion must be enabled on startup of multiplayer/smirmish games
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1584 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-04 16:43:15 +00:00
Dennis Schridde 351060f21f - 1st attempt to create an API for image loading (support for PNG features like non 8bit channels still needs to be thought of). Appropriate code location is also missing (added new functions to tex.c, since they were not PNG related)
- Renamed pie_PNGLoadFile, because I got confused about pie_ vs. iV_ when working on my terrain stuff, and did not fix it when backporting to trunk
- iTexture (now aka iV_Image, s.a.) is given a depth field to enable support for different number of channels. This is required to support RGB only textures (without adding a useless alpha channel) and eg. for greyscale images like heightmaps
- Simplyfied iV_loadImage_PNG (formerly known as pie_PNGLoadFile, s.a.) and also removed lots of seemingly unnecessary conversions
- Converted page-8 from paletted to RGB for simplification. This multiplied the size by about 3x (still < 100kB)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1580 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-01 20:34:54 +00:00
Giel van Schijndel f64c7015f2 * remove dependency list of $(PATCHLIST) because it resides in a subdirectory which is not visible to make (which in turn causes make to complain about unmet dependencies)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1577 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-01 08:56:17 +00:00
Per Inge Mathisen 12ca036695 Remove BSP data from the PIE files that have this.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1536 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-24 19:54:57 +00:00
Dennis Schridde e02cb3b864 Correct Thomas' entry in the AUTHORS file and remove --enable-data (data is built automatically on install or on make -C data data if needed.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1517 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-22 15:27:02 +00:00
Dennis Schridde 8050635b95 Fix bug#6700, Assault Gun Guard Towers had wrong names/stats. The fix for campaign might be wrong.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1516 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-21 15:46:16 +00:00
Dennis Schridde 2e6ae61611 Remove accidentialy .pn image
Update to the last commit:
- Remove hard/soft pages
- Reorder file references in wrf files by page number
- Of course the files were moved to the appropriate location after the name changes in the references (fx`s, urban)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1506 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-19 18:19:49 +00:00
Dennis Schridde 6d55622b75 Several changes to texture loading:
- Be safer with stringlengths
- Create "page-123" texpages in pie_Pagename(). This code is needed since WZ might have loaded a different variant of a texpage (-urban,-arizona,...) and thus can only find it by the common "page-123" part
- Output filename on errors in in PNG loading
- Be a little bit less forgiving for wrong case
- Convert all TEXTURE references in PIE files to lowercase and replace 'fx`s' with 'fx', also replace 'urban area' and 'bases urban' with just 'urban' to keep consistency


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1505 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-19 18:04:41 +00:00
Giel van Schijndel aa9a519794 * Remove support for decoding (and encoding in case of screenshot dump code) of JPEG pictures
* Remove some dead (commented out) & dirty code from multiint.c which used JPEG code (image_load_from_jpg)
 * Remove dead (commented out) code from screen.c which used JPEG code (function static GLuint image_create_texture)
 * Remove unused backdrop types from pieblitfunc.[ch]
 * Convert last JPEG files into PNG, add a "comment" property on those: "All of these are converted from JPEG files, so this is JPEG quality."

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1490 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-17 18:24:31 +00:00
Giel van Schijndel ae88cdbf7d * Apply patch #691 (fixes typos in names.txt and cam2strings.txt)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1474 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-16 14:06:03 +00:00
Giel van Schijndel 50f7a4a019 * move a lot of multiplayer strings out of the string resource system into sources (with gettext markup)
* `make -C po update-po`
 * provide some translations for the Dutch translation

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1449 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-13 12:28:50 +00:00
Roman C e8e196f98e Fixed scorpion body having no VTOL and Wheeled propultions assigned in MP games.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1413 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-10 10:59:52 +00:00
Roman C 153cb45fa6 Also fix the campaign version of templates.txt
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1411 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-10 10:33:27 +00:00
Roman C 459c66975e Fixed a VTOL template having no sensor.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1410 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-10 10:25:12 +00:00
Giel van Schijndel fc701e9595 * remove unused priority parameter from script function audio_module::audio (audio_track)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1407 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-09 17:45:30 +00:00
Roman C 0faf85229b Scripting Language:
-simple data types are lowercase on default
-casts using uppercase still allowed for compatibility with campaign scripts
-updated scripting manual accordingly

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1391 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-08 13:27:41 +00:00
Dennis Schridde 4261c7e0ae Move scriptlang.htm to where it can be found.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1370 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-05 17:36:59 +00:00
Giel van Schijndel fe90b5374a * apply patch found in bug #6953 by David Brettle
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
2007-04-02 23:27:57 +00:00
Giel van Schijndel 2465969014 * allow viewing in any browser directly from the svn-http url ( http://svn.gna.org/svn/warzone/trunk/data/multiplay/skirmish/scriptlang.htm )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1340 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 21:49:03 +00:00
Roman C 8e0c0f397c Fixed naming inconsistency.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1322 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-01 18:51:48 +00:00
Roman C 3123e32370 Skirmish AI:
-AI chat messages are now visible to all allies, not only to the player messages are addressed to
-upon help request AI will notify if it doesn't have enough units to come to help instead of silently ignoring the request

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1319 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-01 16:25:59 +00:00
Roman C bfa9d23e01 Skirmish AI Update:
-a much faster unit production due to raised production effectiveness
-optimized construction of structure upgrades (smarter construction routines)
-AI trucks are capturing unoccupied oil resources more effectively
-slightly improved target selection when going to attack stuff
-rewrote routines responsible for helping allies that request help
-"I'm ok" command now works properly - notifies AI to stop helping you
-AI will now return to defend its own base when it is in trouble
-AI defends the base more effectively
-max number of droids allowed to build was raised
-won't stop building trucks when low on power anymore

FIXES:
-won't prefer humans when choosing who to attack anymore
-won't attack own buildings
-disabled cheat that was giving AI free units when starting with 'Advanced Base' option



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1301 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-30 15:14:32 +00:00
Roman C 83b2fdb540 -Rewrote scripting language manual and updated function listing
-Converted manual from .rtf to .htm

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1298 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-29 16:24:17 +00:00
Giel van Schijndel 575e5a1ac7 * Fix bug #8758 (misspelling of "Thermal Amour") changed this to the correct US spelling ("Thermal Armor") for consistency's sake rather than the correct UK spelling ("Thermal Armour")
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1272 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-20 11:33:32 +00:00
Dennis Schridde ccbaba79ca Add --icondir and --applicationdir switches for finer control over installation.
Optimization needs to be taken care of. We currently overwrite whatever switch (-gX/-OX) is given to configure on the commandline.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1184 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-26 20:10:51 +00:00
Per Inge Mathisen 2a14556b60 Add skybox. Patch by Gerard Krol. The maximum allowed camera tilt towards
the sky has been increased to allow easier view of the new skyline.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1179 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-24 22:53:33 +00:00
Dennis Schridde 015f68d5c2 More case-fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1126 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-16 21:34:43 +00:00
Dennis Schridde d80e06e2cd Port of r1114 (buildsystem/installation improvements)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1115 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-15 15:36:25 +00:00
Dennis Schridde 7046437cf1 Fix building data/
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1099 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-13 22:01:05 +00:00
Dennis Schridde 977b2ee558 - Hack in PNG backdrop loader
- Add 2 new backdrops from Terminator (http://wz2100.net/forum/index.php?topic=109.0)
- Remove unused pal parameter from pie_PNGLoadMem()


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1075 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-07 15:27:17 +00:00
Dennis Schridde a67ea65895 Some more "invalid" filenames.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1073 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-07 14:29:44 +00:00
Dennis Schridde 2b16cbd06b Port of r1066
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1067 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 14:32:31 +00:00
Dennis Schridde 033b17664b Move wrf file, too.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1065 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 12:59:18 +00:00
Dennis Schridde 70475bbd2f Finalize move
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1064 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 12:48:47 +00:00
Dennis Schridde 2f03fe911a Prepare move/merge from mp-patches
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1063 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 12:44:51 +00:00
Dennis Schridde 53ee7bc2d5 Port r1038 from branches/2.0
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1039 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-26 16:27:46 +00:00
Dennis Schridde 952e060a60 Bring r1035 to trunk + reorder frontend images in .wrf
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1037 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-26 15:04:58 +00:00
Dennis Schridde 31f3b2c67a Fix data Makefile.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1026 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-21 19:15:09 +00:00
Dennis Schridde 2e967ee264 More merging and Makefile improvements:
- Remove (wrong) double definition of main
- Make enabling/disabling of DATA and INSTALLER easier in raw Makefiles
- Remove COMPRESS and COMPILER from raw Makefiles
- MAKENSIS is no longer mandatory for raw Makefiles


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@979 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-09 01:28:01 +00:00
Roman C 3336e8717a AI update:
-AI can now request help using chat messages when in trouble.
-AI can recognize other players (Humans or AIs) asking for help and react accordingly by sending units to help ally - indicate position on the map with a beacon (Alt+H) and send a chat message requesting help.

Example:
"Help"
Addresses all players sender communicates with.

Certain AIs can be addressed directly:
"Black, Red and SantaClaus help me!!!"

-"i'm fine" or similar forms understood by lexical parser will notify AIs to send its units back.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@967 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-07 20:11:50 +00:00
Dennis Schridde 33798e384a Multiplayer Command Turrets can now attack/mark air targets. This makes it sensible to attach AA weapons to commanders for defensive purposes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@954 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-04 14:42:40 +00:00
Dennis Schridde c4be99146a Part I of Giel's NSIS patch
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@931 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-27 13:35:10 +00:00
Roman C 33887643eb Patch by karmazilla: fix to the Tutorial 'blue skybox' bug (bug #8087)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@923 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-25 14:34:03 +00:00
Dennis Schridde 52e8d3b435 Forward port some missed changes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@920 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-25 01:43:01 +00:00
Roman C 2da67b99e1 Patch by Watermelon: Fixed campaign loading bug and connector coordinates for Mantis body
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@917 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-24 10:45:22 +00:00
Dennis Schridde e189e064c0 Forward port make install fix for Automake < 1.10
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@916 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-23 17:26:58 +00:00
Roman C 840312f8ea Patch by Watermelon with slight modifications:
-new ORDER_CIRCLE VTOL command - will defend a certain position flying over it and engaging enemies nearby
-adds additional armor types for all sides of a droid (rear, front, top, bottom, left, right) - additional armor definitions are in body.txt.
Droid damage is now also a function of the impact side.
-adds multi-turret support for VTOLs
-modifies connectors in bodies: first 5 connectors are for ground units, the rest is for VTOL.
-introduces some fixes

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@901 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-17 17:12:14 +00:00
Dennis Schridde 8c0393f7ca Some minor cleanups, removed unused/unneeded functions, stoped debug spamming
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@896 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-08 19:14:32 +00:00