Commit Graph

207 Commits (ea690beab7a2cfa5f20cac440e94f24b93804cb5)

Author SHA1 Message Date
Per Inge Mathisen 423ac3df4f Use chained events instead of relying on a 40 second repeat trigger for research. This
makes the AI much faster at researching, as it eliminates long delays. Also clean up
the base expansion code and make it stop trying to expand when out of power.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9243 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:07 +01:00
Per Inge Mathisen 640f94ace4 Nudge scav script a bit to make it not crash the script interpreter.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9171 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:37 +01:00
Per Inge Mathisen 7125b11198 Make scavengers work in skirmish again. And they are now meaner than ever.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9170 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:37 +01:00
Per Inge Mathisen b8d42bd9fe Change AI script loading. Now AI scripts are kept in ai.slo and ai.vlo, instead of in 8 almost identical files.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9162 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:36 +01:00
Guangcong Luo 187986f92e Fix bug #967 - templates.txt templates (namely, Truck and AI templates) were 1 power point cheaper, and had 1 less HP, than templates created in the Design screen.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9160 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:35 +01:00
Per Inge Mathisen 027cb31486 Make AI use event chainloading for basic structures and new trucks. This means that instead of calling
common AI functions from several places, which can lead to the CPU spending much time doing AI stuff
that frame, or setting the object to idle and wait for a repeat event to pick it up, which can lead to
long delays, it queues up another event for the next AI frame to continue processing.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9133 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:32 +01:00
Per Inge Mathisen baa0ac2188 Purely stylistic changes to make it easier to read this code for mistakes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9131 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:32 +01:00
Per Inge Mathisen ada555a8d0 Add two new features to challenges, 1) to enable/disable changing your own position,
defaulting to not allowing user to change his or her position, and 2) to allow the
challenge to specify starting positions for each AI. Previously the user could freely
change starting position on all maps. Now this feature is only allowed on the "No Place 
To Hide" challenge. Also move the starting AIs for "Hide Behind Me" challenge to flank
the starting player.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9056 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:23 +01:00
dak180 72ccb7c384 PNG optimization, also known as 'Crush them all!'.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9038 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:21 +01:00
Guangcong Luo 192ade3cc0 Fix bug #1361 - tutorial can be unable to be finished if user clicks through design screen too quickly.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9033 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:10 +01:00
Guangcong Luo 9b0381b14b Remove the two Warzone logo backdrops - they're really unprofessional and tacky, especially when there's already a Warzone logo at the top of the screen.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8933 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:57 +01:00
Per Inge Mathisen 6986f8a054 Undelete droidBuiltAssign() that turned out to be quite essential. Make no
base builds much faster yet, by making droids cooperate on more buildings.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8813 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:54 +01:00
Per Inge Mathisen 209bf40833 Remove dead or non-working code from the default skirmish AI.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8812 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:53 +01:00
Guangcong Luo 84ba706499 New interface images: Attack-move and unload transport images, better North pointer, and correctly-aligned checkbox.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8802 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:52 +01:00
Buginator 1a1896e3bc Add the laser satellite to the limits screen.
fixes ticket:1227
Patch by 13KukYNexus666


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8730 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:45 +01:00
Guangcong Luo fbd286011c Remove "ready" text from ready checkbox image.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8715 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:44 +01:00
Per Inge Mathisen 89679c361a Significantly improve default AI no bases behaviour by making sure starting
trucks cooperate on an initial factory. Implements most of and closes ticket:1171


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8704 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:43 +01:00
Thomas Barlow dd8097da19 Update page 17 with a further improved version.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8687 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:42 +01:00
Per Inge Mathisen 11a584851d Based on suggestion from player acidjnk, set all AI droids to 'do or die',
and stop AI from building repair centers. This should make AI harder.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8685 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:41 +01:00
Per Inge Mathisen e1c04d538c Make AI build lancer towers instead of non-existent lancer bunkers. Part of ticket:1171
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8668 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:41 +01:00
Thomas Barlow 507a22d423 Update wall and hardpoint models with new versions.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8664 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:40 +01:00
Per Inge Mathisen 36dd15bd0d AI scripts: Fix parentheses in some expressions where canDroidReach was added.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8634 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 17:12:52 +01:00
Per Inge Mathisen c5533ee514 Make AIs go for closest oil first. Closes ticket:1166
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8633 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 17:12:52 +01:00
Guangcong Luo 5ba89a0f93 Better "ready?" checkbox.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8594 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 17:12:47 +01:00
Guangcong Luo 14f2aa3b52 New water tile by Mysteryem (CC-BY-SA-3.0).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8583 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 17:12:46 +01:00
Per Inge Mathisen 877e90e0ae Make use of the new scavenger icons. See discussion in ticket:1093
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8487 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-23 18:13:25 +01:00
Per Inge Mathisen 1b35026ffc Add back missing connectors lost in commit r8471.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8475 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:20:05 +01:00
Per Inge Mathisen 014a3b484e Pipe all PIE files through the simplipie tool to remove unused flags, and turn instances of
the no cull flag into duplicated, inverted polygons. Remove support for the no cull flag from
the source. HOPEFULLY this does not introduce any visual defects. I did not see any. If you 
see any, let me know. This is in preparation for improved object rendering.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8471 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:20:04 +01:00
Per Inge Mathisen 26de1676e4 Add descriptive headers to some stats files. Eventually all stats files should have a descriptive header.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8438 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:20:00 +01:00
Per Inge Mathisen c6db8bfcd7 Put all palette info into an external file that can be modified by modders. It is quite sensitive
to changes in the number of lines. The colours are in the (from CSS) familiar R,G,B,A hex format. 
Closes ticket:1062


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8435 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:59 +01:00
Buginator a86cbc2e3c As was discussed on the ML, removing SQL from trunk.
Please test!!
OS X & mingw builds may be broken!


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8312 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:50 +01:00
Guangcong Luo 3fbf4c8f19 Apply the hacky fix for AA targeting (make all dedicated AA homing) to campaign as well as skirmish (this is probably the first change to campaign stats in ''ages'').
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8257 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:42 +01:00
i-nod 61f2e648d7 Added some missing .wrf files that are required for StructLimiter screen (#875).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8217 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:10:00 +02:00
i-nod 52c314f2f6 Pies for Multiple muzzle flashes feature #824 (part 2).
Angel missiles, Heavy SAM, MRL plus some tune to part 1 pies.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8164 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:09 +02:00
i-nod 932fbbbe37 Some sounds were missing for super cyborgs and MG4-bunker (ticket #919).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8111 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:02 +02:00
Buginator cd24361f83 revert r3270
Bring back all the missing screams that were mistakenly removed, and also bring back the yell for help, since that will be used soon.  (all removed in r3270)
Also reverts r8025 / r8030 (see ticket:830 for more info) since I didn't know the sounds were removed.


fixes ticket:830

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8097 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:01 +02:00
i-nod b494e2f276 Pies for Multiple muzzle flashes feature #824 (part 1).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8094 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:00 +02:00
Per Inge Mathisen f74d810240 Remove unused files and directories. See ticket:875
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8088 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:00 +02:00
Per Inge Mathisen fdcf878005 Increased front menu loading speed. Fix limits problem in challenges.
Closes ticket:875 and closes ticket:881, patch by i-NoD.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8087 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:59 +02:00
i-nod 59b735b4be Updated Mysteryem's heavy and super heavy wheels. This closes ticket #555.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8085 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:58 +02:00
Per Inge Mathisen 67425d01a5 Make use of the new script function droidCanReach() in skirmish AI for
construction orders. Closes ticket:838


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8073 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:56 +02:00
Per Inge Mathisen 87a687e15c A small enhancement for GUI subsystem: target origin tracking system for structures (only for ones
with weapons). If structure have some target for main weapon it will show appropriate icon on the 
right side of weapon reload bar/health bar. For now it can distinguish: visual contact targets, 
commander targets, sensor targets, CB sensor targets, counter radar targets, air defense targets.
Closes ticket:686, patch by i-NoD.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8022 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:11 +02:00
Christian Ohm 773c6f7a4e Add a north pointer for the rotating radar.
This is i-NoD's reworked version. Closes #769.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8011 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:09 +02:00
Christian Ohm a35a5b2d8d Fix some spelling errors in unit names, and change "Command turret MkII/III/IV" to "Command Turret II/III/IV" on Zarel's suggestion, since they are separate components, not upgrades as the other MkX things.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7964 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:03 +02:00
Per Inge Mathisen dba1290112 This patch adds the beginnings of a "Challenge" single player game mode. It
adds fixed game setups with a running timer, which becomes a game score. The 
faster you can finish the challenge, the better the score. However, if you 
have been unable to finish the challenge, then the higher the score is better 
(you survived it longer)! Challenges are setup in INI files in a challenges/ 
directory. This closes ticket:778


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7954 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:02 +02:00
Guangcong Luo 495883e5e4 Workaround for alpha channel bug.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7941 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:00 +02:00
Guangcong Luo ac21fbf178 Commit Mysteryem's new tree textures.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7932 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:57 +02:00
Per Inge Mathisen c297877ef0 Remove some dead data from gamedesc file.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7920 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:56 +02:00
Guangcong Luo 35155f3e52 Index terrain textures (~68 MB -> ~22 MB); idea suggested by i-NoD.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7891 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:50 +02:00
Guangcong Luo 1f97005b83 Restore savegame compatibility with TUTMG
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7813 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:26 +02:00
Christian Ohm dccf60a1bf Remove some more mentions of TUTMG
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7812 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:26 +02:00
Guangcong Luo 3ee7d16904 Remove another mention of TUTMG.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7809 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:25 +02:00
Guangcong Luo 70431dff3b Get rid of the scourge of TUTMG once and for all (fixes bug #594, as well as my sanity). Also get rid of useless multiplayer folder in base.wz.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7807 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:25 +02:00
Buginator 24d699f0b7 Tile fixes for C1, C2 & C3 tilesets done by Mysteryem.
A *huge* shout out to him. :)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7705 4a71c877-e1ca-e34f-864e-861f7616d084
2009-06-16 22:28:31 +02:00
Per Inge Mathisen 274b0483f9 Fix size of flashing timer box in campaign. This closes ticket:596 "Time ends warning quad is to small".
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7672 4a71c877-e1ca-e34f-864e-861f7616d084
2009-06-09 23:44:12 +02:00
Buginator a76f71463a Update tile-62 decal
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7657 4a71c877-e1ca-e34f-864e-861f7616d084
2009-06-05 16:21:05 +02:00
Christian Ohm f488b0c4ee New terrain decals by Zarel:
* Arizona: tread tracks
 * Arizona: that weird brown stuff
 * Mountain: tread tracks
 * Mountain: roads
 * Mountain: a crater

Zarel: "I believe the decals for Arizona are done. There are probably a few
Urban and Mountain ones that still need to be done."

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7646 4a71c877-e1ca-e34f-864e-861f7616d084
2009-06-05 16:21:04 +02:00
Per Inge Mathisen 9ac1b1adfd Fix 'make dist' for trunk.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7609 4a71c877-e1ca-e34f-864e-861f7616d084
2009-06-01 21:19:56 +02:00
Guangcong Luo 0429360f72 New Warzone logo created by Garrett Wiens-Kind <Neuralize>.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7601 4a71c877-e1ca-e34f-864e-861f7616d084
2009-06-01 21:19:55 +02:00
Buginator 0c73d7516f Partial Revert of r7447, AI scripts all reverted back.
Will fix the issue another way. Old (skirmish) savegames from previous versions of the game will work again.

refs ticket:406


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7580 4a71c877-e1ca-e34f-864e-861f7616d084
2009-05-30 19:24:48 +02:00
Guangcong Luo 9000a57144 Fix bug #541 - Uninstaller misses some files.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7544 4a71c877-e1ca-e34f-864e-861f7616d084
2009-05-28 09:59:31 +02:00
Guangcong Luo 2d6d0656d5 Stop AI from using player's truck (fixes bug #406). Comment multiTemplateSetup a bit better.
This is a somewhat hacky fix (gives human players ConstructorDroid and computer players ConstructionDroid). The template system has too many eldritch horrors that to fix it properly requires rewriting the entire template code (did you know it loads human player templates from player 5? And so if player 5 is an AI player, it uses a ridiculously complicated workaround?)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7447 4a71c877-e1ca-e34f-864e-861f7616d084
2009-05-16 16:07:15 +02:00
Buginator 395f677099 Properly fix intfac.img & infac.h
After a short (*cough*) delay, finally add Zarel's new icons from ticket:247.  (fixes ticket:247) 

Move leave / disconnect icon to top(ish) right of screen.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7380 4a71c877-e1ca-e34f-864e-861f7616d084
2009-05-10 19:18:13 +02:00
Guangcong Luo ad647da647 "Player disconnected" and "Player left" icons.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7360 4a71c877-e1ca-e34f-864e-861f7616d084
2009-05-09 23:29:54 +02:00
Guangcong Luo 20f0ddc547 Team selector is now labeled "TEAM" and teams are colored and lettered A-H. The original numbers were changed to letters so they can no longer be confused with player numbers.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7142 4a71c877-e1ca-e34f-864e-861f7616d084
2009-04-24 14:16:07 +02:00
Buginator c2e5d2462f Adds password support to warzone.
Adds feedback from the lobby server.

Notes: You have to enter a password *first*, and then either host the game, or join a game.

Thanks to elio for the new icons!


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7079 4a71c877-e1ca-e34f-864e-861f7616d084
2009-04-19 23:45:25 +02:00
Per Inge Mathisen 8b9ed44a6f New radar detector turret graphics by elio
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@6972 4a71c877-e1ca-e34f-864e-861f7616d084
2009-04-08 14:04:26 +02:00
Per Inge Mathisen cfe68c3602 Add radar detector turret to the game. It will detect and target enemy sensors up to twice their
range away. Both land and air droids can be assigned to it. See ticket #340 for more discussion.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6955 4a71c877-e1ca-e34f-864e-861f7616d084
2009-04-06 13:09:09 +02:00
Elio Gubser b3d3a57b98 accidentally changed the python body pie when I commited the new wheels
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6861 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-17 11:09:28 +01:00
Per Inge Mathisen e06f58695e Fix SQL stats build for 'make dist'
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6855 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-15 23:42:28 +00:00
Elio Gubser 3e993b6eb8 new wheels propulsion graphics by Mysteryem. including a slight change to the texturing on the light wheels
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6845 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-14 09:20:23 +00:00
Gerard Krol 71bc279c9e Fix some spelling errors in debug messages and comments. Patch by Paul Wise <pabs3>.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6832 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-11 11:51:40 +00:00
Gerard Krol 73d4569733 Load the new terrain textures when going from cam1->cam2 or cam2->cam3. This fixes bug #299.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6831 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-11 11:50:55 +00:00
Per Inge Mathisen a223d5598d New map 4c-Urban-Chaos by Mysteryem.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6827 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-09 18:30:41 +00:00
Per Inge Mathisen 73ba9f3a1a Correct water edges on little egypt map. Fix by Mysteryem. Closes gna.org bug #9658.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6826 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-09 18:28:17 +00:00
Guangcong Luo ba8608f40d Spelling corrections.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6804 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-07 22:03:22 +00:00
Per Inge Mathisen cbdff3e45d Update backdrops by cathuria with new versions. Closes ticket #287.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6798 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-07 19:08:26 +00:00
Per Inge Mathisen 28c7cb4abb Add new backdrop by B. V. Edwards <cathuria>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6768 4a71c877-e1ca-e34f-864e-861f7616d084
2009-03-02 22:57:26 +00:00
Per Inge Mathisen 58546965b7 Delete commented out references to non-existent files from gamedesc.lev
Delete two unused and broken map files that either belongs to an expand mission or is unreferenced.
Add basic unit testing framework for testing all map files in data/base.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6728 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-26 19:41:25 +00:00
Gerard Krol 5601741b95 Brace for impact, this is the new terrain renderer!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6682 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 23:35:21 +00:00
Gerard Krol 3fa8a7e4ce The textures for the new terrain renderer. These are committed separately to make reverting the actual code changes easier.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6681 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 23:32:30 +00:00
Giel van Schijndel 6e1d019403 * Update SQLite stats database
* Fix loading of stats from the SQLite database (utilised in the campaign)

This fixes #276 and #269.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6670 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 21:09:37 +00:00
Guangcong Luo c74230d192 Commit patch #77 - Anti-aliased full-sized recolored cursors
(It's been months... We really shouldn't sit on patches with no objections for this long...)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6656 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-17 05:57:08 +00:00
Giel van Schijndel d862f39362 Don't add a separating comma if we've already printed the last column definition
This was done when we'd have a C-only-field.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6649 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:46:45 +00:00
Giel van Schijndel 99d6bf1529 Bring stats-db2.data.sql in sync with the stats
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6648 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:46:42 +00:00
Giel van Schijndel 4d7cb371e7 iAudioFireID and iAudioImpactID aren't stored in the CSV files, so don't store them in the database either (for now)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6647 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:32:40 +00:00
Giel van Schijndel 57de43c140 * Generate CREATE VIEW statements in the SQL schema
* Use these VIEWs instead of rather complicated SELECT statements in the C SQLite loading code

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6646 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:32:29 +00:00
Guangcong Luo 1f5ab803ed Updated MinGW32 makefiles; fix "multiple half-tracks" bug.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6639 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 05:49:09 +00:00
Dennis Schridde aac41748dc Bump copyright
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6617 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-10 18:01:48 +00:00
Giel van Schijndel 449d93267e * Add CSV field entries for ECM, REPAIR and BRAIN
* Generate SQL INSERT statements from CSV data for ECM
  - REPAIR and BRAIN are still "exceptional" cases requiring syntactical extensions to the DB mini/meta language

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6579 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-01 19:10:29 +00:00
Giel van Schijndel 1f4e369cf2 * Add a new struct-level qualifier: %csv-field-override
- This qualifier allows overriding of CSV field numbers given in base classes
  - This is required for the WEAPON stats because it differs from most other stats in that it doesn't have the "designable" field as the last CSV field
 * Specify all CSV field numbers for the fields in struct WEAPON
 * Generate SQL INSERT statements from weapons.txt


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6553 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-22 22:18:48 +00:00
Giel van Schijndel 2d569239a1 Convert MSWord document c1prox.doc to an OpenDocument Flat XML document
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6544 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 15:31:38 +00:00
Gerard Krol 71af833dd5 Add an urban sky and (for now) also use it for the Rockies.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6347 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-17 10:02:28 +00:00
Gerard Krol a5128f0d6d Rename the current skybox texture page to page-25-sky-arizona and use the entire texture, instead of only the bottom half of
it. This will make it easier to change the sky for the different areas.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6345 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-17 08:06:49 +00:00
Giel van Schijndel 5f05dd99e6 Check for Perl in the configure script, rather than just assuming it's installed
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6343 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 19:13:39 +00:00
Giel van Schijndel bcca523e55 Remove unused SQL files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6338 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 16:29:14 +00:00
Giel van Schijndel 3cc8d0e1a2 * Use the database-meta-language code generator to generate a new stats loading function: loadPropulsionStatsFromDB
* Get rid of the (previous) handcrafted version for loadPropulsionStatsFromDB
 * Get rid of the old (handcrafted) `propulsion` table and replace it with the autogenerated `PROPULSION` table

NOTE: Only src/data.c src/stats-db.[ch] src/stats-db2.tpl got changed manually, the other changes where generated from these

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6337 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 16:28:23 +00:00
Giel van Schijndel 27856b5de5 * Make sure to wrap the produced SQL INSERT statements in a TRANSACTION
* At the start of a new struct's data place the name of that struct

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6333 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 16:28:12 +00:00
Giel van Schijndel bfdc0728be Remove unused SQL files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6332 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 16:28:09 +00:00
Giel van Schijndel db0253a0d8 * Use the database-meta-language code generator to generate a new stats loading function: loadSensorStatsFromDB
* Get rid of the previous (handcrafted) version for loadSensorStatsFromDB
 * Get rid of the old `sensor` table in the database and replace it with the autogenerated `SENSOR` table

This addresses #2


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6327 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 03:52:34 +00:00