Commit Graph

24 Commits (b464ee82a5257092ff979daa03111c6b3b76ca4a)

Author SHA1 Message Date
Giel van Schijndel 0d997d617f Remove `hitPoints` from the code as it's never used.
It's loaded in from the stats files and copied all over a dozen places, but never actually __used__.

NOTE: This __shouldn't__ break savegames, I've checked it quite thoroughly, but game.c is evil & large enough that the chance exists I made a mistake in this department.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5454 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-09 19:02:19 +00:00
Elio Gubser 3695f6258b minor change of the power bar gradient
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5394 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-06 09:14:36 +00:00
Elio Gubser 147d658ade completed intfac1.svg
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5393 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-06 08:57:49 +00:00
Elio Gubser 7372b84341 Working on intfac2.svg, colours aren't correct in this version
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5392 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-06 08:42:19 +00:00
Per Inge Mathisen 4f63fba465 Add the map 8c-cockate by forum user zydonk. Original work licensed under the GPL.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5286 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-21 17:38:53 +00:00
Per Inge Mathisen a1c47bccf8 patch #1075: Simplify playlist code. Thanks to Giel for patch review.
The playlist file is no a simple list of files to play during the game.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5281 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-21 15:40:56 +00:00
Elio Gubser 66e2bee6d3 main interface buttons finished
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5275 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-19 20:07:24 +00:00
Elio Gubser 364c32afea working on buttons, i replaced my close button with kreuvf's, copyright added 'Copyright (C) 2008 Steven Koenig (for the Close Button)'
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5267 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-18 19:37:31 +00:00
Dennis Schridde c9b9e98dc9 Fix "Create default playlist file; This is an ugly HACK which should be FIXME'd into oblivion some other time" by adding a default playlist file to base.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5263 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-18 18:25:35 +00:00
Per Inge Mathisen 1c3835ce23 Add original music soundtracks. If you have a playlist already, you need to delete it
or add the music to it manually.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5261 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-17 19:32:17 +00:00
Elio Gubser ed4d0af31a working on main-ingame icons
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5252 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-13 20:41:11 +00:00
Elio Gubser e5b6cf18b6 continuing work on intfac1.svg
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5237 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-08 17:00:12 +00:00
Dennis Schridde 8b2859c7e9 A dummy model, useful for testing
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5209 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-01 10:13:36 +00:00
Elio Gubser f8261c6427 beginning with intfac1, it's fairly big atm, because i copied some frontend svg's into
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5208 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-01 06:48:57 +00:00
Elio Gubser a955be34c5 intfac0.svg done
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5197 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-28 18:40:29 +00:00
Elio Gubser bab67317cd intfac0.svg almost done
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5195 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-26 20:12:16 +00:00
Elio Gubser fb0ffbc567 made the blue target pointer (when opening with inkscape there is also a circle-version of this pointer outside the border lines, but i'm not proud of it)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5194 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-26 18:44:13 +00:00
Giel van Schijndel 1d739ce56b * Pass the table name as well from the .wrf resource file
* "table" will now attempt to load the given resource type from the given table (in the currently opened database)
 * Maintain the current database's name (for error message, etc.)
 * Pass the table name to the database loading functions and use it (in combination with sqlite3_mprintf) to produce the SQL statements


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5189 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-25 19:38:59 +00:00
Giel van Schijndel 452c167e9a * Add a new resource loading function type: RES_TABLELOAD
* Add two new keywords to the .wrf files: "database" and "table"
  * "database" will cause the given filename to be opened as a database file (using SQLite3)
  * "table" will attempt to load the given resource type from the currently opened database
 * Don't open the database in the file loading functions (src/data.c) anymore; turn them in table loading functions instead (which get the current database passed as a paramter)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5188 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-25 19:38:53 +00:00
Giel van Schijndel d193dce6f9 * Add a new resource type (for use with .wrf files): DBSENSOR which is similar to SSENSOR, with as difference that instead of a CSV file it specifies an SQLite database file to load from
* Add the code to load sensors from the sensor table of the given database file (function `loadSensorStatsFromDB`)
  * This code will make sure to load the sensor stats-data in a similar manner (i.e. the resulting data in-memory should be the same) to the sensor.txt loading code
 * Use this stats loading implementation on single player


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5182 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-25 15:41:04 +00:00
Giel van Schijndel ce7928738f * Add a new resource type (for use with .wrf files): DBECM which is similar to SECM, with as difference that instead of a CSV file it specifies an SQLite database file to load from
* Add the code to load ECM entries from the ecm table of the given database file (function `loadECMStatsFromDB`)
  * This code will make sure to load the ECM stats-data in a similar manner (i.e. the resulting data in-memory should be the same) to the ecm.txt loading code
 * Use this stats loading implementation on single player


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5178 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-25 14:58:03 +00:00
Elio Gubser 3c235cb99f made the circle background
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5172 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-25 09:36:38 +00:00
Elio Gubser 797050d523 frontend4 finished so far, working on intfac's now. these svg's haven't been optimised yet (lots of unused defs)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5170 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-24 15:37:05 +00:00
Dennis Schridde 85ab4e02e9 Move base files from data/ into data/base/ (and stuff from warzone.wz to base.wz respecitively).
Should not create any problems, buildsystems were changed (MacOSX, please test).
Reason: Organisation, later: simplification.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5156 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-23 21:42:44 +00:00