Commit Graph

552 Commits (677c52277e47086ed17254e55f061450f7c94754)

Author SHA1 Message Date
Dennis Schridde a3f46201bb Fix out-of-source build: Relative paths to srcdir were double applied
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6748 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-28 19:41:20 +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
Per Inge Mathisen ebd9718aff Put naval propulsion back. Mistakenly removed in r6695.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6696 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 19:50:52 +00:00
Guangcong Luo ae28099a95 Rebalance 0.2.4 - fixes many balance problems. Changes documented on Warzone Guide - currently available at http://guide.wz2100.net/new/
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6695 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 18:06:37 +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
Dennis Schridde b3ea581e61 Fix wrong dependency in win32 data creation, and use correct names after dir rename
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6668 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-20 15:25:57 +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 3da7593492 spelling corrections
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6645 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 08:18:25 +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
Per Inge Mathisen 0bd4f60a78 Set svn eol-style native to scripts files and svg files that are missing it while I'm at it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6585 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-04 23:09:36 +00:00
Per Inge Mathisen bb9bc6e335 Set svn:eol-style native on some TXT files that are missing the property.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6584 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-04 23:04:18 +00:00
Per Inge Mathisen 1154d45ed1 Set svn:eol-style property on some WRF files that are missing it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6583 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-04 23:03:10 +00:00
Per Inge Mathisen fac247afba Fix bad texture page names in some PIE files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6582 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-04 23:00:47 +00:00
Per Inge Mathisen 28e24651e5 Fix missing svn:eol-style property on some PIE files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6581 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-04 22:30:42 +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
Guangcong Luo eccab0f6af The rest of my naming inconsistency fixes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6574 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-31 20:05:05 +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
René Jürgens 1e8738943c paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6489 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:33:51 +00:00
René Jürgens 6d8e785cda paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6488 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:33:47 +00:00
René Jürgens 495b750653 paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6487 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:40 +00:00
René Jürgens 046692a397 paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6486 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:36 +00:00
René Jürgens d7c55d5ae9 paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6485 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:31 +00:00
René Jürgens 1d6541278f paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6484 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:08 +00:00
René Jürgens 434bae24c7 paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6483 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:05 +00:00
René Jürgens 97a4754891 paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6482 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:01 +00:00
René Jürgens 342bf90bb8 paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6481 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:58 +00:00
René Jürgens 3d0f5d5e0d paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6480 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:54 +00:00
René Jürgens 4fea33ecca paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6479 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:31 +00:00
René Jürgens 3e137a5ebd paste new ntw mod files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6478 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:28 +00:00
René Jürgens 7f2bf8a30b deleting all ntw mod files in the trunk version for a ntw mod update.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6477 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:28:46 +00:00
Giel van Schijndel 448431d344 Rename the NTW mod's directory back to "ntw"
r6474 changed it to "ntw mod", but that directory path adds little, and introduces problems with our build systems due to the embedded space and makes maintaining compatibility with [milestone:2.1] more difficult (considering that NTW is already packaged as part of 2.1.0 in Debian and Gentoo).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6476 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 19:55:26 +00:00
René Jürgens d273dcdaa2 01_ wrfs are not needed for ntw mod.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6475 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 18:28:10 +00:00
René Jürgens 159aa080f0 Please call it NTW Mod not only NTW.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6474 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 18:21:31 +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 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