Commit Graph

571 Commits (8b9ed44a6fc868374d14b24c51c7e09130ad9cfc)

Author SHA1 Message Date
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
Roman C bb9fbc9fb2 Patch by Watermelon:
-adds penetrate flag to weapons.txt (relevant for multiplayer)
-increases hit-box radius
-adds some fixes to the hit-system

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@868 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-26 16:30:34 +00:00
Roman C f3e0227b45 Patch by Watermelon:
-fixes disappearing oil derricks (bug #7740)
-allows structures to have multiple weapons (structureweapons.txt format changed)
-fixes muzzle flash for 2nd and 3rd weapon

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@857 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-25 17:38:27 +00:00
Roman C 9aebc7c2b5 Patch by Watermelon: Droid Multi-Turret Support
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@811 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-04 22:56:28 +00:00
Dennis Schridde c62d5d6ac2 Replace lots of \ with /
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@807 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-03 23:53:38 +00:00
Dennis Schridde b0eceecf36 Backport changes from branches/2.0. (AutoPackage 1.2 support)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@797 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-30 17:15:30 +00:00
Roman C e2de834b13 -1.10 AI doesn't build flamer bunkers in the base anymore
-It is now possible to win in a team in 'Locked Alliances' mode, also in this mode a player doesn't lose until all of his team members were defeated
-Game now shows a text message when player has won/lost the game (just a temporary solution to bug #7317)
-Added extra heap debug, should be there at least until we fix bug #6530, as PTRVALID() doesn't seem to detect corrupted DROID pointers on win
-Increased number of iterations A* is allowed to do per frame, which will hopefully speed up pathfinding
-Fixed multiplayer menu slider bug (bug #6529)
-Fixed players not forwarding enemy units visibility to their allies in 'TEAMPLAY' and 'Locked Alliances' modes
-Further scripting engine improvements

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@780 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-08 08:06:46 +00:00
Dennis Schridde 4ea12897a5 - Replaced all filenames (I could find) with their lowercase and platform independed notation. There might be some uppercase filenames left in the sourcecode.
- Because savegame filenames are converted to lowercase old savegames won't work anymore. You can simply fix that by renaming them to lowercase.
- All unix_path, unix_fopen and PHYSFSEXT_locateCorectCase functions and calls to them have been removed. (So you _will_ notice when a file is not found, at least on Unix systems.)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@776 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-07 14:13:47 +00:00
Roman C 9aaae50baa Replaced 'Humans vs AIs' with 'Locked Teams' alliance mode.
Fixed difficulty slider applying settings to the wrong players.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@763 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-26 18:14:05 +00:00
Roman C 66252e097c Fixed 'Texture file not preloaded' bug
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@760 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-25 17:00:40 +00:00
Dennis Schridde 6fc01a0289 Don't enforce the GPL by breaking it. ("All rigths reserved" is part of the copyright notice and thus must stay.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@746 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-22 11:10:20 +00:00
Roman C f84861b762 Updated frontend.wrf to make it load new texture page. Needed for the previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@745 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-21 22:56:06 +00:00
Roman C 741250cef3 -Added "Humans vs AIs" alliance mode: Humans and AIs make 2 teams, alliances cannot be created or broken
-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
2006-09-21 20:42:48 +00:00
Dennis Schridde 139f769d2d Fixed the video. Last commit was done with a texteditor. ;) This one is done with a hexeditor and carefully looking after the size of the changed string.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@728 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 22:56:37 +00:00
Dennis Schridde 44cc4058b4 Enforce GPL. (Was GPL before, according to the original readme.txt by Pumpkin. Just changed the apparently wrong statement inside the file.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@727 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 21:32:49 +00:00
Roman C 33f42adf41 -fixed 'The Pit' map to make it act as an 8-player map in T1
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@713 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-16 14:40:38 +00:00
Dennis Schridde 1e476c2074 Possible fix for bug #5188 (Wrong tileset)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@689 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-07 17:13:50 +00:00
Roman C b3112a95a6 Fixed 1.10 AI bug in event "useLasSat" which caused an infinite loop when script was trying to use LasSat while it was still under construction (one of the bugs mentioned in bug #6760)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@653 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-27 14:58:26 +00:00
Roman C 3e6428377c Fixed bug #6540: 5 research facilities should always be available now
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@607 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-22 11:58:31 +00:00
Dennis Schridde 7fbe096407 Cleaning up the data/ dir:
- Move all maps to data/multiplay/maps
  They are still loaded from data/mp/addon.lev !!!
- Delete unused SkirmishAI



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@541 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 22:51:44 +00:00
Dennis Schridde 395f6e4bf0 Troman's revised AI (reacts faster and builds less crappy stuff)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@534 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 16:54:09 +00:00
Dennis Schridde 3d2da7ea35 Add more name strings and unit templates for multiplay AI
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@533 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 16:53:06 +00:00
Dennis Schridde 2c72cfa09d Should be what Troman meant how to fix bug#6464 (Wz uses wrong AI version).
Can we delete the old AI?


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@516 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-03 18:37:35 +00:00
Dennis Schridde 937e9b243d Move all multiplayer things to mp/addon.lev, so they get marked as being multiplayer.
This should solve the wrong AI bug. (bug#6464)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@514 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-01 19:01:28 +00:00
Per Inge Mathisen 9a4a6598cf Remove reference to 3dfx in the screen shot key mapping. You must delete
your key mapping file for this to take effect.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@503 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 11:52:23 +00:00
Dennis Schridde ddd78550e9 Fixing data/Makefile.am, which broke during resolving conflicts
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@438 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-16 21:33:37 +00:00
Dennis Schridde 55ab0d8a3b Fixed mp.wz creation.
Thanks to imidiate bugreport by Jocke.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@437 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-16 21:11:20 +00:00
Dennis Schridde 194026f379 Rewritten mod loading
This patch includes:
- Strongly modified way of adding mods, maps and addons
- Make nearly everything use PhysFS (just netlog and debug stay)
- Convert several DBERRORs etc. to debug()

The new modloader works like this:
For every mod supplied on the commandline ("-mod") (maximum of MAX_MODS=100) keep it in mind (char * global_mods[]).
After initializing PhysFS do scanDataDirs(), which tries to register all possible paths, global_mods[] and maps with PhysFS. Dont check wether we succeed, only at the very end check if we got a "gamedesc.lev".

When we buildMapList(), mark "gamedesc.lev" as MOD_CAMPAIGN, "addon.lev" and every user supplied map as MOD_MULTIPLAY.

When we loadMods() modify the searchPath according to the supplied mods.
Note: T1 maps like Sk-Rush come from gamedesc.lev, are marked MOD_CAMPAIGN and thus wont load any multiplay_mods[], even if the user starts a multplayer game. Instead those maps are threated as campaignmode and will only load campaign_mods[].

This patch requires the "mp" patches to be either in ProgramDir/mp, in ProgramDir/data/mp or in ProgramDir/mp.wz
This is because one cannot add warzone.wz/mp to the search path if warzone.wz is an archive.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@436 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-16 19:10:23 +00:00
Dennis Schridde 61c48ae09e Fix for outdated Makefile.am after merging 0x patches into mp directory
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@435 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-11 22:35:16 +00:00
Dennis Schridde 47e9adc2ff Remove all unused patch folders.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@434 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-10 15:12:14 +00:00
Rodolphe Suescun e480791b8c Removed the software terrain tile files (they're useless now).
Reverted C1 tileset to the original one. Grim's work will
be available as a mod.
Readded 2 missing textures in the mp directory.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@423 4a71c877-e1ca-e34f-864e-861f7616d084
2006-05-01 06:19:35 +00:00
Rodolphe Suescun 045755e9a3 Minor changes in menus (new audio config menu).
Prepared mod stuff.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@411 4a71c877-e1ca-e34f-864e-861f7616d084
2006-03-27 19:53:36 +00:00
Rodolphe Suescun e82eebdf07 Merged all (useless, wicked) patches into data/mp directory.
Fixed button highlight problem in the map selection GUI (was
a very funny bug :) ).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@410 4a71c877-e1ca-e34f-864e-861f7616d084
2006-03-27 11:03:10 +00:00
Per Inge Mathisen 1fc13aa748 Fix autoconf 'make install' which was installing in one 'warzone' directory too deep.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@404 4a71c877-e1ca-e34f-864e-861f7616d084
2006-03-11 16:34:18 +00:00
Rodolphe Suescun 8d57e23a73 Fixed problem in addon.lev file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@399 4a71c877-e1ca-e34f-864e-861f7616d084
2006-02-16 19:48:49 +00:00
Dennis Schridde 495f6ebaa6 Slight visual improvement: Made the water on C1 tileset for the hardware-renderer a bit more transparent, so the ground of the lakes is visible a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@398 4a71c877-e1ca-e34f-864e-861f7616d084
2006-02-16 18:12:34 +00:00
Rodolphe Suescun 984de8f9c2 Integrated new tileset from grimandmandy.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@397 4a71c877-e1ca-e34f-864e-861f7616d084
2006-02-16 07:32:34 +00:00
Rodolphe Suescun f35669c212 Fixed problem in data patch 05. Maybe all patches should be
merged...
Now filenames are case insensitive (will help using maps
created with Qamly's EditWorld).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@396 4a71c877-e1ca-e34f-864e-861f7616d084
2006-02-15 09:57:55 +00:00
Rodolphe Suescun d72f0cdc02 Fixed data directory problem.
Fixed sound source destruction problem.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@395 4a71c877-e1ca-e34f-864e-861f7616d084
2006-02-11 09:00:20 +00:00
Per Inge Mathisen 161dbd2e2a Fix transparency issue that made buttons become empty of its icon on mouseover. Error
crept in during PCX -> PNG conversion.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@384 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-16 18:44:08 +00:00
Rodolphe Suescun 458fa98415 Converted remaining pcx files.
Tried to fix the patches-loaded-in-campaign-mode problem.
  this fix must be tested now...
Fixed problem with pasting host address.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@376 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-22 14:33:32 +00:00
Per Inge Mathisen ca69e8eac4 Support "make DESTDIR", needed apparently for Gentoo and autopackage builds. Thanks to
devurandom for notifying me of the problem.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@374 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-10 00:49:08 +00:00
Rodolphe Suescun 6fedcb3d4d Fixed crash in sound lib.
Fixed shadow-related problem.
Fixed polygon flags (face culling and colour key related).
Added new tileset from Grim.
New warzone logo.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@365 4a71c877-e1ca-e34f-864e-861f7616d084
2005-11-29 16:20:35 +00:00
No Author dbb6fc9f9b Modify properties to match Per's "initial import"
Original revision 4:
svn:author = per
svn:date = 2005-11-19T19:12:57.694186Z
svn:log = Initial import (from Berlios repository revision 361)

Original revision 361 indicated by this message now is revision 358 of this repository.
Revisions 359 and 360 have been included in here as well though (they originally where merged in r5 and r8 of the previous repository)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@363 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-28 19:08:38 +00:00
No Author 5ba7ddac6b Create final repository structure.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@362 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-28 17:47:08 +00:00