Commit Graph

740 Commits (f5beafd27e1985b7179fefd78373243c050d1808)

Author SHA1 Message Date
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