Commit Graph

511 Commits (28f63005bc14effd102ebd9ef808ace58d57ba3a)

Author SHA1 Message Date
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 879f129703 Exclude the Makefiles from base.wz and mp.wz for the Windows raw Makefile build system as well
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6328 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 13:45:41 +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
Giel van Schijndel b918d96671 * Stuff the CONSTRUCT stats in the SQLite database
* Use the database-meta-language code generator to generate a new stats loading function: loadConstructStatsFromDB
 * Add a new resource type, DBCONSTR, which uses loadConstructStatsFromDB to load the construction stats
 * Employ this new type in "base"

This addresses #2


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6326 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 03:43:29 +00:00
Giel van Schijndel 1835d9aa04 Add a new code generator to generate a series of INSERT statements from the CSV files to fill a database with
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6322 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 02:20:42 +00:00
Giel van Schijndel 903b23ce7f Store SENSOR->location as "enum LOC" instead of an UDWORD
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6320 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 01:45:44 +00:00
Giel van Schijndel 31f8183789 Forgotten to update in r6318
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6319 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 01:42:43 +00:00
Giel van Schijndel 5b1c63f31c Mark optional IMD_model fields as such
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6315 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-16 00:34:39 +00:00
Giel van Schijndel d57d5d5001 Generate the SQL table definition as well
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6313 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-15 22:02:30 +00:00
Gerard Krol 7c6366f930 Fix a bug in the Skirmish AI that caused it to build loads of bunkers at oil derricks. Also change the type of a variable from PUBLIC to
PRIVATE, as it is not defined in the .vlo. The current scripting engine does not seem to notice, but this helps 
the wz2lua converter.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6306 4a71c877-e1ca-e34f-864e-861f7616d084
2008-11-15 13:00:27 +00:00
Buginator 03990706e6 Disables the AI from executing the reassignAI() routine, which is broken, and it instead took control of a human player, and not the dropped player (which doesn't make sense to do, since we nuke all that player's stuff.)
See ticket:105 for more info.
Fixes bug #12398 , bug  #12443


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6186 4a71c877-e1ca-e34f-864e-861f7616d084
2008-10-18 18:38:25 +00:00
Giel van Schijndel 810fac209b * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line
* Alphabetically sort the file lists

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6144 4a71c877-e1ca-e34f-864e-861f7616d084
2008-10-13 13:04:37 +00:00
Per Inge Mathisen 36f3ec168c From ticket #97: Change height of some buildings so that they can fire over walls as they should. Patch by Zarel.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6130 4a71c877-e1ca-e34f-864e-861f7616d084
2008-10-11 15:09:35 +00:00
Giel van Schijndel d871a85964 Add video playback support:
* Add support for decoding and displaying of OggTheora/Vorbis videos
 * Change all references to *.rpl files to *.ogg files (and lower case them)
 * Add a new menu (and config) option for selecting the size at which to display videos (1x (native), 2x, full screen)

This closes ticket:64 and ticket:46

Code changes are ticket:64 (patch by Gerard Krol, Giel van Schijndel and Buginator)

FMVs can be found at http://download.gna.org/warzone/videos/sequences_ogg.zip (for now at least)
Videos encoded by Angus Lees


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6119 4a71c877-e1ca-e34f-864e-861f7616d084
2008-10-08 18:24:19 +00:00
Freddie Witherden 8573255b29 Commit patch #94 by Zarel. This gives logical names to things such as Nexus resistance circuits and repair turrets.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6118 4a71c877-e1ca-e34f-864e-861f7616d084
2008-10-07 22:31:28 +00:00
Giel van Schijndel 58117a87c0 * Remove duplicate sound effect pcv483.ogg
* Rename pcv483.ogg to power-transferred.ogg


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6117 4a71c877-e1ca-e34f-864e-861f7616d084
2008-10-04 21:49:58 +00:00
Per Inge Mathisen 4a9c00e469 Revert tagfile changes in r6084, r6080 and r6079. Apparently not ready for the unwashed masses yet.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6102 4a71c877-e1ca-e34f-864e-861f7616d084
2008-10-02 21:50:05 +00:00
Freddie Witherden 31c5bf6f47 Commit patch #79 which improves the accuracy of the lassat and reduces the delay-time. Patch by Zarel.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6099 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-29 22:00:40 +00:00
Per Inge Mathisen b66897f058 Port to trunk the fix for virtual group recursion from tagfile branch. Add unit test to ensure
it never comes back.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6084 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-26 19:14:56 +00:00
Per Inge Mathisen 6fc021819c Do a dummy load of basic object data from tagfile to stress test tagfile system. Ported from work in tagfile branch.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6079 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-26 17:45:18 +00:00
Giel van Schijndel 372851ea71 Fix typo that prevented the multiplayer mod from being installed
Patch by Paul Wise <pabs>, this closes bug #12313

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6043 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-18 18:31:15 +00:00
Giel van Schijndel be491b38f5 * Fix weird naming of research upgrade path
- e.g. Sensor Upgrade -> Sensor Upgrade (note the lack of an Mk2)
 * Fix several naming inconsistencies

This closes ticket:56, patch by <Zarel>


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6032 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-15 20:34:46 +00:00
Giel van Schijndel 2c616f323e Trunk is currently broken when playing music and switching between the "base" and "mp" mods, see ticket:57.
This revision fixes ticket:57. We (Buginator, EvilGuru and Giel) decided to use the fix suggested in ticket:57 for now and to use [wiki:Proposal:ModMounting] on a later date. I.e. fix the problem now (however dirty the solution may be), and implement a properly designed one later on, instead of letting trunk remain broken until said proposal is worked out in enough detail.

This revision fixes bug #11847, bug #11875, bug #11898, bug #11976, bug #11989, bug #12017, bug #12250 and bug #12280.

Patch by Buginator and myself


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6028 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-14 20:36:50 +00:00
René Jürgens afd15e3dc5 git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6023 4a71c877-e1ca-e34f-864e-861f7616d084 2008-09-14 15:40:13 +00:00
René Jürgens ec42455709 test
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6022 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-14 15:39:49 +00:00
Giel van Schijndel 5daf3d8035 Simplify the automake processed makefiles in data/
* Getting rid of the custom crafted installation rules
 * Replace them with a single automake primary build rule: nodist_<instdir>_DATA

This closes ticket:62

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5995 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-12 08:19:57 +00:00
Giel van Schijndel c2f0855e00 NTW is a multiplay mod, not a global mod. So move it to data/mods/multiplay.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5989 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-11 09:12:38 +00:00
Steven Koenig d755c30648 * Set power generator output boost for Gas Turbine Generator to +30%
* This fixes bug #12262
* Added myself to the AUTHORS file


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5955 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-07 17:59:16 +00:00
Per Inge Mathisen 77f057bd08 Fix team colours in naval PIE propulsion file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5813 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-14 20:13:18 +00:00
Elio Gubser 1465f18367 reversed first line because order green, orange, grey... is hardcoded
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5812 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-14 20:07:11 +00:00
Per Inge Mathisen 44861ebd89 Add naval propulsion PIE model and texture.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5803 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-13 19:15:55 +00:00
Giel van Schijndel 77404123a6 Update player[1-7].[sv]lo so that they're "generated" from the last version of player0.[sv]lo r5726 didn't use the latest version somehow
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5783 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-08 14:45:11 +00:00
Elio Gubser f7e29e9709 new data directory for svg-icons, there's no naming specification yet
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5780 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-07 13:50:33 +00:00
Elio Gubser fce4029e9d small changes in intfac1(hammer modified), intfac2(new weapon icon) and frontend2(nicer computer-ai)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5779 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-07 12:37:46 +00:00
Dennis Schridde 87f127c146 Do not autogenerate aivolution scripts
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5726 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-01 17:39:10 +00:00
Giel van Schijndel 068d2d3174 Move the last translatable string that's used by the scripts into the scripts themselves: _("Return to LZ")
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5708 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-29 18:28:40 +00:00
Giel van Schijndel e48619f9eb Convert data/base/messages/resmessagesall.txt to the new research message format
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5702 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-29 00:26:41 +00:00
Giel van Schijndel 1c22e4e314 I forgot to commit the changes to data/mp/messages/resmessagesall.rmsg in r5700
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5701 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-29 00:15:33 +00:00
Giel van Schijndel a2a08db52e Convert data/mp/messages/resmessagesall.txt to the new research message format
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5700 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-29 00:12:07 +00:00
Giel van Schijndel b122c5a07c Convert resmessages1.txt and resmessages3.txt to the new research message format
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5699 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-28 23:48:49 +00:00
Giel van Schijndel aaf666d026 Convert resmessages2.txt and resmessages23.txt to the new research message format
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5698 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-28 23:27:15 +00:00
Giel van Schijndel e5ca53e2ec Convert resmessages12.txt and messages.txt to the new research message format
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5697 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-28 22:49:28 +00:00
Giel van Schijndel 090c069f5e Remove data/mp/messages/multiplay.txt as it's ''exactly'' the same as data/base/messages/multiplay.txt (and base depends on this one as well)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5696 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-28 21:47:45 +00:00
Per Inge Mathisen 7f768ba83e Add naval propulsion, appropriating the unused 'Propellor'
propulsion for this purpose. To test, use 'give all' cheat
before design, and the ctrl+o menu to place.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5691 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-28 09:15:20 +00:00