Commit Graph

189 Commits (411b172dace5bcc414e96e16bfb5e17db31eba82)

Author SHA1 Message Date
Per Inge Mathisen cd91da0caa Add right and left scroll bars to build menu tabs. By Buginator in patch #870 with
some cosmetic fixes by me.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2974 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-03 20:47:05 +00:00
Christian Ohm e21ccef5d7 Fix some terrain tile textures which had purple fringes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2962 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-02 19:13:04 +00:00
Per Inge Mathisen 51daa7e62f Remove the NODRAWTILE bit. We do not need it, and it is in the way of progress.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2928 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-01 15:17:29 +00:00
Per Inge Mathisen 0d7d6dee26 Extend tagfile saves to cover droid movement information. Improve tagfile error reporting somewhat.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2868 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 22:23:40 +00:00
Per Inge Mathisen bacb7975b1 Add new tagfile method to read and write 32bit signed arrays. Fix error that
would interpret floating point arrays as 16bit.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2867 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 21:05:19 +00:00
Per Inge Mathisen 5d77ed8d9f Remove alpha channel from two new backdrops, since those were messing up campaign when used.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2856 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 19:35:40 +00:00
Per Inge Mathisen f76cffb718 Remove mysterious and never used currRayAng from droid object definition.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2833 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-18 22:04:23 +00:00
Per Inge Mathisen 78a9247254 Extend new savegame format to cover orders, formation, and targets.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2819 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-13 20:59:44 +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
Per Inge Mathisen dfac006aa5 Extend new savegame format to save game messages.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2791 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 23:26:19 +00:00
Per Inge Mathisen ae9a987d92 Properly add structures and features to new savegame format.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2790 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 22:34:07 +00:00
Per Inge Mathisen 6e163d9003 Extend new savegame code to save game objects. Droids saved fully, while structures
and features still have a way to go.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2786 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 20:28:28 +00:00
Per Inge Mathisen bfdd5e66ca Make water blue in minimap. Please let me know how you like this change.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2736 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-05 21:42:59 +00:00
Giel van Schijndel bb1fd8660a * Enlarge mission timer field to be able to contain the text
* Enlarge transportation timer field to be able to contain the time text

patch #831 by Buginator


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2724 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-05 15:32:52 +00:00
Giel van Schijndel 533e7e92bf * Use spaces for line-out purposes (rather than tabs)
* Tune down the volume of the oil-pumps, power-spikes and power hums a bit, to make them less dominant (and annoying) (from patch #822 by Buginator)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2681 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-02 22:37:20 +00:00
Per Inge Mathisen 5f39fd4fe1 Add testdata to list of directories to add to warzone.wz in Makefile.raw too
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2675 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-31 17:40:55 +00:00
Giel van Schijndel 613aa478e5 * Declare the .wz archives as PHONY targets in the raw makefile system
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2674 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-31 12:41:26 +00:00
Per Inge Mathisen 43196aaf94 Add testdata to list of directories to install. Bug reported by Buginator on IRC.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2667 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-29 20:14:03 +00:00
Per Inge Mathisen dd4898fe2f Beginnings of a new savegame format. Each time you save, a new file with the
extension .wzs is added to your savegame directory. This is the new world.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2602 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-23 20:52:51 +00:00
Per Inge Mathisen 45988bd322 Also add definition used in unit test for tagfile bools.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2600 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-23 20:22:00 +00:00
Per Inge Mathisen c9b25c5738 Add the tagfile framework that we will use for our new savegame format, and related
unit tests. First sketch of new defined savegame format in tagfile_map.def.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2586 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-22 18:40:34 +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
Roman C e0dc89e031 Updated Aivolution AI to be compatible with the recent changes to the scripting functions (parameter numbers of some functions were changed).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2535 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-08 12:55:07 +00:00
Roman C 5a5d16a8a4 - fixed a bug that would prevent AIs from building certain types of cyborgs, since some of their components were not available
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2497 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-29 15:14:11 +00:00
Roman C 8d7c7810ec Scripting engine update:
- some functions dealing with structure quantity at some location now additionally take a boolean which indicates whether half-built structures should be ignored (stock AI is updated accordingly)
- added sqrt() and exp() functions
- added friendlyWeapObjCostInRange() function to calculate cost of friendly units within a certain range
- CALL_RESEARCHCOMPLETED now additionally returns structure that has completed research and its owner

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2495 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-29 15:04:25 +00:00
Roman C ab81e57255 Fixed bug #8690, patch by Pallas.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2473 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-25 13:33:45 +00:00
Dennis Schridde cab88a8a7d - Make "make -C data data" recursively build mods as well. SUBDIRS is apparently ignored for target!=all.
- Add ABOUT-NLS, which is apparently required by gettext. (Copied from gettext-0.16.1)
- Update po


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2465 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-22 11:45:49 +00:00
Per Inge Mathisen 46a9f57922 Fix canvas offset of grim mod terrain textures, so that they can be properly
opened in the gimp program.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2461 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-16 17:26:11 +00:00
Roman C 041eedd7fd Fixed commands.txt file describing available commands for Aivolution AI.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2417 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-19 11:21:02 +00:00
Giel van Schijndel 55a5837ef3 * Move AIvolution from data/multiplay/skirmish/customai to data/mods/global
* Make sure the buildsystem now constructs a global mod aivolution.wz from AIvolution (you can use it using "--mod aivolution" or "--mod aivolution.wz")
 * Add the GPL text to Grim's GFX mod for emphasis (as it was in the grim.wz archives in the distributed releases)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2411 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 19:59:28 +00:00
Giel van Schijndel 436523e700 * Don't add data/locale to warzone.wz since gettext can't access these files through PhysFS but needs direct access to them (through stdio.h stuff)
* ./configure && make && make install (and the NSIS installer) will make sure that the gettext message catalogs are in a decent location

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2407 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 18:37:08 +00:00
Giel van Schijndel 8fbf62c1b2 * Get grim.wz from data/mods/global/grim.wz instead of data/grim.wz for the NSIS installers
* Fix data/Makefile.raw by moving make-target/make-rule $(SUBDIRS) below "all"

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2406 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 18:31:35 +00:00
Giel van Schijndel b360d380b2 * Move data/grim to data/mods/global/grim
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2404 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 17:42:17 +00:00
Giel van Schijndel cbb398882d * First create $(DESTDIR)$(pkgdatadir)/mods/global before installing grim.wz in it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2390 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 20:40:11 +00:00
Giel van Schijndel 8faa60aa63 * Update Grim's GFX mod for r2300
* Rewritten texture loader: terrain texture tiles are now in separate files rather than concatenated in one large image file
 * Convert tileset to loose files

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2388 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:59:15 +00:00
Giel van Schijndel 0fcde559bc * Update Grim's GFX mod for r2124:
* strings.txt removal

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2387 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:41:21 +00:00
Giel van Schijndel 33aea77e60 * Add Grim's GFX mod (this version would work cleanly with r2123; I'll update it soon after this commit)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2386 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:38:28 +00:00
Giel van Schijndel 0ba8c36b31 * Fix building of mp.wz by the raw Makefiles
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2385 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 17:21:21 +00:00
Roman C 3704de1f71 Balance:
-increased reload time of EMP Cannon from 5 to 8 seconds
-EMP Cannon will now disable units in its splash radius of 2x2 tiles, with probability of 50%

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2350 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-07 15:10:43 +00:00
Roman C 5c5e82301a Fixed some template names again.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2332 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-03 12:40:18 +00:00
Giel van Schijndel 0f75801eac * fix error in raw makefiles; we want the data/locale directory in the warzone.wz file; not mp.wz
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2331 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-03 12:04:24 +00:00
Per Inge Mathisen e6629b123c Add transparency to water tiles. This closes bug report #9657.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2316 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-02 14:46:35 +00:00
Per Inge Mathisen 7bd7f71d8b Fix broken cam 2 and 3 texture references.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2305 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-01 13:38:30 +00:00
Per Inge Mathisen f999c48d46 Rewritten texture loader. The textures are reimported from the original PCX files,
since they old ones we had had scaling artifacts on the edges, and they have been
split up into one file per texture. We now also use custom mipmaps down to 16x16 
size for improved scaling and interpolation. Texture page (atlas) assembly is now
done with OpenGL rather than by shuffling pixels directly in memory.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2300 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-31 20:16:38 +00:00
Per Inge Mathisen af3631c5f9 Get radar colours from radar text files instead of samples of the terrain tiles.
The radar files use HTML-like hex values for colours (ie FFFFFF is clear white).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2295 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-31 13:02:31 +00:00
Giel van Schijndel 87c955e52e * Add locale directory to raw makefile buildsystem
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2280 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-30 12:08:35 +00:00
Dennis Schridde f509873c0e mp-names.patch by Martin Koller.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2276 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-30 00:27:33 +00:00
Per Inge Mathisen 464e580967 Roll back the latest, accidential change to this texture page.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2272 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-29 17:41:21 +00:00