Commit Graph

22 Commits (970d167c4fc9e32cbd209482e0fa15b2be364e16)

Author SHA1 Message Date
Giel van Schijndel cac17150d3 * Convert the `propulsion.txt` and `bodypropulsionimd.txt` stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4052 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-14 22:11:00 +00:00
Giel van Schijndel 1dac4a46a2 Split schema and data up into seperate SQL files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4012 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-11 15:57:04 +00:00
Giel van Schijndel add956c36d Change all 'trailGfx' columns that where '0' to NULL instead
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4002 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-10 22:58:02 +00:00
Giel van Schijndel c620910020 Add some SQL VIEWs to extract data in a similar way as how it's stored in the CSV files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3966 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 22:24:26 +00:00
Giel van Schijndel cb470b1697 * Convert the 'structureweapons.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3965 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:32:52 +00:00
Giel van Schijndel e4ac82a18a Update comment to mention which table.column is referred by an integer ID value in the structures table
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3964 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:10:17 +00:00
Giel van Schijndel e4af0a7735 * Convert the 'structures.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3963 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:08:49 +00:00
Giel van Schijndel 30f2e438c0 * Convert the 'sensor.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3962 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 20:54:47 +00:00
Giel van Schijndel e944a82dae * Convert the 'ecm.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3961 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 19:29:20 +00:00
Giel van Schijndel 4cfa907249 * Use NULL where appropriate
* Fix a typo in a column name


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3960 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 19:10:59 +00:00
Giel van Schijndel b221414e8e Convert the 'body.txt' stats to the SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3959 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 18:40:07 +00:00
Giel van Schijndel f940f4624b * Convert the 'construction.txt' stats to the SQLite database
* Fix some comments


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3957 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 16:25:46 +00:00
Giel van Schijndel f55d9ac013 Convert the 'brain.txt' stats to the SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3956 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 16:09:20 +00:00
Giel van Schijndel db4896b8cc Remove old database junk (from the original M$ Access DB)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3893 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-02 19:09:50 +00:00
Giel van Schijndel 799bc88f1c Dump all the weapon stats in an SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3892 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-02 19:08:24 +00:00
Dennis Schridde b72d76fd3b Replace spaces in filenames with underscores.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3369 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:32:32 +00:00
Giel van Schijndel 5772327c83 * Ahum, shouldn't have committed this file yet (as it is CSV still...)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3289 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:05:46 +00:00
Giel van Schijndel f2164d0d07 * Add SQL conversions of some stats files (from the campaign directory) (all are valid SQLite syntax)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3288 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:03:45 +00:00
Giel van Schijndel 7eaafe039c * Fix a typo in r2814, '''flame_id''' --> '''flame_imd'''
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2815 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-12 22:19:47 +00:00
Giel van Schijndel ff1cfed275 * Make sure to qualify `component_id` as a unique key (in table Weapons)
* Add tables Body, BodySize and Technology Type
 * Remove Query "Armour" as it didn't yield any results anyway

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2814 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-12 22:16:42 +00:00
Giel van Schijndel 8566e972d5 * Add some SQL statements (SQLite likes them enough) to create tables in the form of the "original" data set
* Set mime-type of SQL query files to text/x-sql since it is more than just plain text

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2811 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-12 19:51:24 +00:00
Giel van Schijndel bcd84497bd * Add SQL Queries extracted from the M$ Access DB as provided in the original source tree
This addresses #2 ( https://trac.mortis.eu/warzone/ticket/2 )

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2564 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-19 22:38:22 +00:00