Make parameter to RAY_CALLBACK void* instead of PROPULSION_TYPE.
- Often it was not interpreted anyway, and in the single case where it is used a PROPULSION_TYPE* is now passed.
- Allows more generic raycasting with less globals to keep state. (Not used currently, all globals remain in use.)
Cleanup rayPointsToAngle and add Vector3f wrapper.
Fix an occasion where magic 360 was used instead of NUM_RAYS.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5244 4a71c877-e1ca-e34f-864e-861f7616d084
New licensing readme as found in http://forums.wz2100.net/viewtopic.php?f=6&t=1818#p17202
Move non-GPL information into seperate file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5241 4a71c877-e1ca-e34f-864e-861f7616d084
* headings use sans-serif, non-headings use serif - typographic standard
* <a> that contain an href will show the URL in brackets after the </a>
* <a> is no longer underlined and normal text colours are used
* added new class 'locallink' to suppress URLs in brackets for href="#..."
* <pre> border thinned and solid instead of dashed
* <hr> increased width, reduced height
English XHTML readme:
* added class="locallink" to every <a> with href="#..."
* removed first line-break in <pre> to prevent empty line
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5238 4a71c877-e1ca-e34f-864e-861f7616d084
This breaks network compatibility with everything older than this commit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5234 4a71c877-e1ca-e34f-864e-861f7616d084
* Fix win32 version info
* We live in 2008 now...
* Use 2.0.993.0 instead of 2.0.3.0 for 2.1 beta3 (the same scheme was used for beta1 & beta2)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5227 4a71c877-e1ca-e34f-864e-861f7616d084
* Added style for <em> to style-sheets
English readmes:
* Updated 'Configuration' (includes 'WZ-dir and configuration file', 'Command-line options', 'Music' and 'Multiplaying via the internet')
* Added empty dummy sections 'Cheats' and 'Debug-keys' to not forget to add them (later), updated TOC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5220 4a71c877-e1ca-e34f-864e-861f7616d084
* Updated 'Contents of Warzone 2100', 'State of the game' and 'Reporting Bugs'
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5213 4a71c877-e1ca-e34f-864e-861f7616d084
* This replaces O(n * m * l) behaviour with O(n + m * l) behaviour (where n is the amount of rows returned by a query, m the amount of columns resulting from a query and l the average length of each column's name)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5202 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a new colour: WZCOL_MENU_SHADOW
* Use this colour instead of WZCOL_MENU_BACKGROUND to create a "Black shadow"
Closes#11; patch by Buginator
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5201 4a71c877-e1ca-e34f-864e-861f7616d084
* Use an "inheritance"-like approach when loading the stats and load all BASE_STATS and COMP_BASE_STATS in a single function rather than duplicating it in every loading function (cuts down in 230 lines, whee!)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5199 4a71c877-e1ca-e34f-864e-861f7616d084
* Assume __all__ windows builds use Bison 2.1 (this isn't correct, but it's the best I can currently do, as Bison provides no version macros aside from a string macro)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5196 4a71c877-e1ca-e34f-864e-861f7616d084
* "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
* 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
* Open the SQLite3 database in src/data.c before invoking a load.*StatsFromDB function
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5187 4a71c877-e1ca-e34f-864e-861f7616d084
* Dropped the "GPL" in "Warzone 2100 GPL"
XHTML-readmes:
* Moved ids of anchors containing nothing else to the parent block-level element
* Added information about title and hreflang to outgoing links
CSS-files:
* Corrected stylesheets; now valid and no warnings
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5185 4a71c877-e1ca-e34f-864e-861f7616d084
* 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