Commit Graph

928 Commits (d1c5a649974dc114d2b11a99611d91d24d33a9a5)

Author SHA1 Message Date
Per Inge Mathisen 0aa784b612 Forgot to commit the .ai file for Dydo. 2011-01-10 19:26:01 +01:00
Per Inge Mathisen d6ee18c895 New script function getDifficulty(int) to find which difficulty level a given player has. Also added four new
constants to check against: EASY, MEDIUM, HARD and INSANE. Semperfi modified to be less nasty in easy and medium
difficulty levels.
2011-01-09 22:24:09 +01:00
Per Inge Mathisen f263cf5103 Add GUI dialog for choosing which AI you want to play against. Move semperfi and dydo into main. Change difficulty
slider into four separate steps (Easy, Medium, Hard, Insane). Thanks to Cyp for review. For more info, see ticket:2435
2011-01-09 16:35:49 +01:00
Cyp b143d53ae1 Fix newly built human-player droids being partially unassigned from commanders by AI scripts.
And make all factory attributes be written to the new droids.
2011-01-09 05:22:54 +01:00
Per Inge Mathisen cfa47fbb70 Remove unused duplicates from campaign wz, and move three files only used in multiplayer to mp wz. 2011-01-08 17:05:11 +01:00
Per Inge Mathisen 7f5da6ad47 Use more of MAX_PLAYERS in the code rather than plain numbers. Define MAX_PLAYERS for scripts. From patch by Cyp. 2011-01-05 23:09:38 +01:00
Cyp 6f71d8925e Add missing minum32.pie, to match the .wrf files.
(Deleted one too many, before.)
2011-01-04 23:09:12 +01:00
Cyp 61ed2a1505 Bump max structure limits, now that UI supports them. 2011-01-04 22:40:35 +01:00
Cyp ee048302f8 Add more assembly point graphics. 2011-01-04 22:40:06 +01:00
Per Inge Mathisen e29bb60fff Fix misspelling of 'guard tower' in PIE file name to match similar rename in wzgm. 2011-01-01 13:08:43 +01:00
Per Inge Mathisen 724cd69882 Define the default fog colour in the palette file instead of hard-coded. 2010-12-31 23:42:21 +01:00
Per Inge Mathisen 3d7a7b397b simplipie: Fix error when fixing face culling and tessellation at the same time. 2010-12-31 18:20:51 +01:00
Per Inge Mathisen e5edaeabfd Tessellate features, effects and other models. 2010-12-31 17:46:08 +01:00
Per Inge Mathisen d73adb4a90 Tessellate components. 2010-12-31 17:36:14 +01:00
Per Inge Mathisen 961d38b6ab Tessellate all structure models. 2010-12-31 17:20:29 +01:00
Per Inge Mathisen aafe14fbc2 Add separate shader for models rendered for buttons to remove lighting effects from those.
Add support for per-pixel lighting. Patch reviewed by SafetyOff.
2010-12-28 23:35:57 +01:00
Per Inge Mathisen f5ea79ed3c Enable OpenGL lighting controlled through the vertex shader. Added two new script functions setSunPosition an setSunIntensity.
Added a new PIE file directive MATERIALS that sets material properties for a mesh level. Original patch reviewed by SafetyOff.
2010-12-26 22:12:53 +01:00
Cyp ba1bd6b6d6 Revert removal of loading of psStats->incenTime, since it was actually used.
Was especially noticable in the case of plasmite bombs.

(Was part of 6bace8bdf5df6fb19df48bda4adce41704467aad.)
2010-12-12 17:33:40 +01:00
cybersphinx dd4391990d Get rid of a few unnecessary Makefile.ams. 2010-12-11 16:41:57 +01:00
Per Inge Mathisen adea03a17c semperfi: Make several global variables local. 2010-12-07 22:10:21 +01:00
Per Inge Mathisen e2d83d483d Fix AI script event not triggering on production done. Also fix lack of UI updates when AI produces something. Thanks to Cyp for infinite reviews. 2010-12-07 21:58:37 +01:00
buginator ac6b928ad7 Fix map preview screen redrawing, broken in f2ae61805c
Add entries to palette.txt for the new colors used in map preview.
Draw location of oil features.

Changelog: Enhance map preview to show oil locations.
2010-12-06 21:14:06 -05:00
Per Inge Mathisen 3843c8c00c Fix texture name references. Patch by Berg. Closes ticket:2385 2010-12-06 21:05:16 +01:00
Per Inge Mathisen d2a1422477 Fix typo. Closes ticket:2388 2010-12-06 21:02:15 +01:00
Per Inge Mathisen 940efd25fe semperfi: Combine the template lists for the two tech trees, so that air AIs do not end up build crap ground units late game. 2010-12-05 16:34:31 +01:00
Per Inge Mathisen 4f85821bab Cache texture coordinate calculation on game start instead of doing them each frame. Do defensive structure stretching in the vertex shader. See ticket:2310 2010-12-05 16:17:26 +01:00
Per Inge Mathisen 6d12963fc5 semperfi: Make sure we build a factory first, even if we need power generators. Always help build the closest structure.
Grab trucks from wider distance to accomodate maps that place starting trucks far away from base.
2010-12-05 15:56:26 +01:00
Per Inge Mathisen 7de25a9d5b Lay the groundwork for a more modern component drawing system. Removes support for OpenGL 1.x. See ticket:2310 2010-12-04 15:57:26 +01:00
Per Inge Mathisen f8a7cde68a Add missing skirmish overrides for multiplayer with scavengers. I have no idea why there are skirmish wrf files in
the single player data files to begin with, nor why these do not contain scavengers. This fixes ticket:2369 reported
by hao that scavengers do not work in 3/5/6/7-player maps.
2010-12-04 15:28:55 +01:00
Per Inge Mathisen 6bace8bdf5 Remove unused variables for weapons. 2010-11-25 22:32:46 +01:00
Per Inge Mathisen dc4c88e5ee Fix hoverwreck with zero body points 2010-11-25 20:19:30 +01:00
Per Inge Mathisen bc1fd6cbbc Do not keep unused structure variables in memory, and document them as being unused in the data header. 2010-11-25 20:05:42 +01:00
Per Inge Mathisen 28c1b3ea8d Run simplipie over all PIE models. This removes team colour info when tcmask is used in the model and the number of frames is 8. Also fixes some other issues found by simplipie. 2010-11-12 22:55:30 +01:00
Per Inge Mathisen f4192aa462 Remove some now unnecessary texture references to stress lazy texture loading. See ticket:2304 for more info. 2010-11-12 21:32:56 +01:00
Per Inge Mathisen 8d4111886b Add proper filenames to textures for models that are missing this. Required for lazy texture loading, see ticket:2304 2010-11-12 21:30:22 +01:00
Per Inge Mathisen 4eedc06362 Use Mysteryem's new tree textures (http://forums.wz2100.net/viewtopic.php?f=33&t=3485) for rockies tileset. 2010-11-07 17:44:27 +01:00
Per Inge Mathisen 4492a1fbff Add higher resolution feature textures by Black Project. Closes ticket:2279 2010-11-06 17:56:01 +01:00
Per Inge Mathisen f78910162b Universal feature support by Mysteryem from ticket:872 2010-11-06 17:35:17 +01:00
Per Inge Mathisen f17981b6d6 semperfi: There is no point in rushing out to fortify an oil well that the enemy cannot (safely) get to. 2010-11-05 22:15:00 +01:00
Per Inge Mathisen d9be3f5bf4 semperfi: Do not send trucks to build at oil derricks where they will be shot to pieces en route. 2010-11-05 21:39:38 +01:00
Per Inge Mathisen bd82f2b8e2 Make danger map accessible to scripts. New functions: safeDest(plr, x, y) and threatAt(plr, x, y) for querying it. 2010-11-05 21:16:05 +01:00
Per Inge Mathisen fb58bfdaf8 Add missing files for 3,5,7 player map support. Closes ticket:2289, fix by Black Project. 2010-11-03 20:03:40 +01:00
Per Inge Mathisen d46309b6d1 Fix 2 rockies tileset decals (page-55.png and page-62.png). Patch by Dark Project in ticket:2285 2010-11-02 23:27:25 +01:00
Christian Ohm fb18403d75 New terrain textures.
Refs #2013.
(cherry picked from commit d7dcf7c32c5d8210b999574d62e6462fa89104d1)
2010-10-24 22:50:45 +02:00
Per Inge Mathisen b7c9a369d6 Add new backdrop from forum member jorzi. 2010-10-24 19:55:57 +02:00
buginator 40c5ace37b Correct typo to make the SuperTransport's enigine output higher (faster)
(cherry picked from commit f0b7fc5ed3a9d0de7fd41ee3039b08b50818bec2)
2010-10-20 21:53:03 -04:00
buginator 8b50aebec8 fixes Ticket:2233 (artifacts texture issues) fixed by Berg.
(don't ask me how the other commit message got mangled)

(cherry picked from commit 9ba8522cb643d10e684725fcf1b158727c7a4756)
2010-10-20 01:25:55 -04:00
buginator 3f2540fea3 Fix flashing animation again.
Fixed by Berg.
(cherry picked from commit c0a12c32c6f8cd291bd154e2fef669a535732843)
2010-10-20 01:24:05 -04:00
buginator c59292e57e Fix pie file for transport shadow.
Fix by Berg.
(cherry picked from commit b923ae28d7320ae66062bed67c0a3145213b72c8)
2010-10-20 01:23:42 -04:00
Cyp 4ccd57baed Add missing "tileset \" to BASELIST, it should now be possible to start games again. 2010-10-18 03:52:05 +02:00