Commit Graph

3405 Commits

Author SHA1 Message Date
82dc962a56 # further cleanup to build system
remove platform specific code, provide "external library" definitions,
automatically add static libs to main EXE project.

This was SVN commit r3955.
2006-06-07 01:40:24 +00:00
40f29a8345 Some fixes for techs.
This was SVN commit r3954.
2006-06-07 01:04:41 +00:00
b631ac6007 Modified the example tech a little.
This was SVN commit r3953.
2006-06-07 01:03:47 +00:00
pyrolink
7aad858966 forgot to add this
This was SVN commit r3952.
2006-06-06 23:50:21 +00:00
pyrolink
e4c40841b2 #Configurable game speed, techs, elevation attack bonus
-techs are not operational yet
-set the game speed with setSimRate() in the console or in the config
file under hotkey.speed.increase or hotkey.speed.decrease
-made a few other small fixes

This was SVN commit r3950.
2006-06-06 06:31:17 +00:00
19c31d97ff Updated water parameters for Jason's new water textures.
This was SVN commit r3948.
2006-06-05 21:02:29 +00:00
13b76f2540 # Altered water textures
This was SVN commit r3947.
2006-06-05 08:55:38 +00:00
b8c131c431 # housekeeping
* zip.h removed old test symbols
* path_util fixed bug in mixed-separating-slash handling
* renamed ERR_OK to INFO_OK; allows searching for "return ERR_" to yield
all actual errors (instead of having to filter out ERR_OK)

This was SVN commit r3945.
2006-06-04 22:27:40 +00:00
61f40e4775 Minor modifications to port new build setup to linux
This was SVN commit r3943.
2006-06-04 00:26:36 +00:00
4da75f049d Added resetGUI() JS function, to quickly reload the entire GUI (probably not very reliably)
This was SVN commit r3941.
2006-06-03 23:02:37 +00:00
908bd279ad Water manager will now load normal maps as DDS instead of TGA.
This was SVN commit r3939.
2006-06-03 21:49:22 +00:00
c1b70dcea5 Converted water normalmaps to lossless ABGR DDS'es.
This was SVN commit r3938.
2006-06-03 21:45:57 +00:00
8bba11af2b remove vfs_display; greatly speeds up startup when -quickstart isn't specified, although that is strongly recommended.
This was SVN commit r3937.
2006-06-03 21:21:59 +00:00
54c1508db6 Renamed autobuilt ps.exe to pyrogenesis.exe, to match the new project layout.
Fixed Atlas project creation.
Improved VS2005 linking speed.
Added work-in-progress environment (water, sun) editing to Atlas.

This was SVN commit r3935.
2006-06-03 05:08:32 +00:00
1036d9944d ships with props
This was SVN commit r3934.
2006-06-02 07:41:12 +00:00
7f7c74a2b3 slight improvement: make pyrogenesis the default project.
This was SVN commit r3933.
2006-06-02 04:13:37 +00:00
41e9830504 massive cleanup together with philip (collaborating in real-time :D)
- restructure+cleanup; move copy-pasted code into common functions.
- split project up into subpackages
- documented build system and rationale

This was SVN commit r3932.
2006-06-02 04:07:18 +00:00
5814e10126 # complete revamp of build system in preparation for automated self tests.
* now splits everything up into independent static libraries.
* fixed a great deal of incorrect #include statements. all headers must
now be specified with their full path relative to source. exception: if
file being included and including file are in the same directory, no
path needed.
use <> when relying on the build system's include path (e.g. for system
headers and external libraries, e.g. boost), otherwise "".

* temporarily renamed maths/Vector2D to Vector2D_Maths to avoid
conflict. these should be merged.
* hacked around VC linker stupidness when building static libs; texture
codecs must now be registered manually.

This was SVN commit r3931.
2006-06-02 03:56:24 +00:00
5f7855f7f0 Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/.
This was SVN commit r3930.
2006-06-02 02:10:27 +00:00
9124f7266c Tidied up some include paths
This was SVN commit r3929.
2006-06-02 01:01:39 +00:00
0f7dd7d2b4 new PCH dirs for each static library project
This was SVN commit r3927.
2006-06-01 23:38:42 +00:00
81df8e5473 Moved default horizon height down to -150.
This was SVN commit r3925.
2006-06-01 17:05:42 +00:00
bde2a0b0c7 # Fixed a pathfinder bug.
The pathfinder was pushing locations with negative coordinates (or
coordinates larger than the map size) onto the queue, which led to
memory corruption in CAStarEngine's node array and later a crash in its
destructor.

This was SVN commit r3923.
2006-06-01 06:04:32 +00:00
bca1f982eb This was SVN commit r3921. 2006-06-01 03:26:51 +00:00
ccb468e337 Small updates to the water shader: Refractions will now be less wavy than reflections, which makes it slightly easier to look through the water, and the water will get less transparent faster at low view angles (my project used different scale so this wasn't happening as fast as it should).
This was SVN commit r3920.
2006-05-31 22:39:29 +00:00
aa9a1c4f29 Reflection and refraction cameras should now take more advantage of the textures' resolutions, by stretching the image according to the inverse of the screen's aspect ratio to cover it all without requiring a larger Field of View. This should result in higher-resolution reflections and refractions.
Also increased water repeat period slightly, to 17.

This was SVN commit r3919.
2006-05-31 22:37:23 +00:00
99e0dbddca Added unique names for variants (in one actor)
This was SVN commit r3918.
2006-05-31 20:46:57 +00:00
a9dfb016ca # Fixed self-shadowing in Atlas
(The ShadowMap object was being destroyed/recreated, and thus forgot
that it had been told to use depth textures)

This was SVN commit r3916.
2006-05-31 16:42:50 +00:00
Aeros
5eef6f4951 #Winter skin for Celt Structures
This was SVN commit r3915.
2006-05-31 07:41:31 +00:00
d605cb39ec # Atlas editor: Control over 'random' actor variations.
Actor variation selection (though not saved to maps, so not very
useful).
Added more levels of complexity to the waiting-for-game-to-respond
message pump, to fix reentrancy problems.
Use number keys to assign player to selected unit.

This was SVN commit r3913.
2006-05-31 05:27:02 +00:00
e0dfbe719d # add boatload of self-tests
(these are the old self-tests ripped out as well as new ones)
note: have not run yet; several would surely fail if they run (can't
anyway until cxxtest is installed)

This was SVN commit r3912.
2006-05-31 04:17:45 +00:00
1ead202b24 # add CppDoc comments; prepare for automated testing
ia32: prepend CPUCap enum names and rdtsc with ia32 to avoid conflicts.
move all self tests into separate headers as required for Cxxtest.
adts: remove some dead code.

add CppDoc comments to debug, lib (with heavy cleanup), tex, tex_codec,
snd_mgr
slight improvements to path

tex: refactor; split out tex_decode and encode to allow self-test

This was SVN commit r3911.
2006-05-31 04:01:59 +00:00
835bfbc74f This was SVN commit r3910. 2006-05-29 08:36:42 +00:00
bc368485da This was SVN commit r3909. 2006-05-29 08:34:46 +00:00
76a2116da5 fixed horse actor color randomization
This was SVN commit r3908.
2006-05-29 08:32:46 +00:00
03a08e00a5 # Fixed infinite loop.
Also fixed sectorDivs so it's always initialised, since the complaints
were annoying.
Camera: Added a const.
Super cavalry: Added required(?) aura attributes.

This was SVN commit r3906.
2006-05-29 03:28:54 +00:00
1a8cb85e08 Some water-related bug fixes:
- Underwater tiles will be tested against the frustum with a bounding
box including the water surface, so the water gets drawn even if the
terrain is off-screen.
- Transparent objects (e.g. trees) should now interact with water
properly. I did this by rendering them twice, first before the water, so
it overlaps the underwater pieces, then after, so the above-water pieces
overlap the water (the water now writes Z as well as colour to allow
this). Before, only the first pass was done, so the tops of trees were
covered by water. There might be more efficient ways of doing this - the
best could be for the transparent objects to be drawn with a shader that
always either discards a pixel or writes alpha of 1.0 instead of using
2-pass depth write then colour write.

This was SVN commit r3904.
2006-05-29 00:49:09 +00:00
7ac2fc94a9 Updates to the water shaders and a fix to stamina bar display on ships.
This was SVN commit r3903.
2006-05-28 22:00:01 +00:00
67ede785d5 Updates to water and a fix for a rendering bug with bar textures
This was SVN commit r3902.
2006-05-28 21:58:56 +00:00
b6055f891b This was SVN commit r3901. 2006-05-28 10:34:50 +00:00
f8de293512 Water manager will now load uncompressed TGA's rather than DDS'es.
This was SVN commit r3900.
2006-05-28 09:55:44 +00:00
36533151d6 Small water tweaks, and TGA (lossless) versions of the water textures.
This was SVN commit r3899.
2006-05-28 09:52:34 +00:00
106f59c5c7 # Added fancy water.
This was SVN commit r3897.
2006-05-28 02:13:32 +00:00
27c38e2fc8 Full fancy water shaders.
This was SVN commit r3896.
2006-05-28 02:10:23 +00:00
0b4ab29dc2 This was SVN commit r3895. 2006-05-26 21:40:30 +00:00
f0615df318 # Initial work on fancy water.
Also, horizon height (skybox vertical offset) can now be set from the
console with renderer.horizonHeight.

This was SVN commit r3893.
2006-05-25 05:46:17 +00:00
965b4c9f92 Some water shaders, with per-pixel fresnel and lighting but no reflection and refraction yet.
This was SVN commit r3892.
2006-05-25 05:43:32 +00:00
e02d42b746 # Loading screen now uses dynamic textures for random backgrounds.
Thanks, Philip. (y)

This was SVN commit r3891.
2006-05-25 03:05:06 +00:00
9ecd5e8a25 # Horses now walk as well as galloping
Fixed other actor speed issues, upgraded appropriate Greek actors to do
citizen soldier functions

This was SVN commit r3890.
2006-05-23 08:51:26 +00:00
a3b9d7d946 Fixed path of terrains.xml - was ".../types/grass//terrains.xml", which caused it to not be found, which caused terrain textures without their own .xml to be ignored.
Removed GetRandomTexture, since it's never used.

This was SVN commit r3888.
2006-05-21 23:22:55 +00:00