Commit Graph

3427 Commits

Author SHA1 Message Date
Ykkrosh cf44963cbf Exefied cxxtestgen.pl
This was SVN commit r3983.
2006-06-08 22:28:23 +00:00
janwas 05b3867104 bugfix: base32 now 0-terminates output string
This was SVN commit r3982.
2006-06-08 21:47:06 +00:00
janwas d0acaecc5c # housekeeping
fix warnings in self tests
make win_pre_main_init manually callable and remove the main() hook (see
rationale at decl of win_pre_main_init)

This was SVN commit r3981.
2006-06-08 21:27:03 +00:00
janwas 9542ecdd7e # boatload of fixes to get self-tests to compile+mostly run
refs #117

stub_impl_hack: defines a function otherwise provided by main.cpp

remove old self_test.h contents (e.g. TEST); superceded by cxxtestgen
TS_ASSERT etc.
only include self_test from a test (otherwise, cxxtest include dir won't
be set)
cxxtest won't run tests named only "test"; add more descriptive name

FIXES uncovered by self tests
lib: infinite loop in log2
lockfree: incorrect params

This was SVN commit r3979.
2006-06-08 19:03:43 +00:00
janwas 48f0794a4f improvement to test project generation: avoid having to recreate workspace twice after adding test files.
add error_dialog.rc to test.exe and use entry() to do normal lib init.

This was SVN commit r3978.
2006-06-08 18:48:40 +00:00
olsner c59de80915 # Integrated our new unit testing framework with premake to get automated testing after every re-compile.
Trac #117

This was SVN commit r3975.
2006-06-07 22:19:42 +00:00
olsner 76cbda8713 This was SVN commit r3971. 2006-06-07 22:15:29 +00:00
olsner 74cfa7dd4d This was SVN commit r3970. 2006-06-07 22:14:11 +00:00
Matei ac144581be Set water repeat period to 16.
This was SVN commit r3969.
2006-06-07 19:15:47 +00:00
Matei b0647229a5 Increased water repeat period to 20 for Jason's new water.
This was SVN commit r3968.
2006-06-07 17:24:00 +00:00
janwas cb9857185e more tiny fixes/improvements (finished on that front)
This was SVN commit r3967.
2006-06-07 14:22:26 +00:00
Wijitmaker c59da97ed7 another shot at the water, less bump
This was SVN commit r3966.
2006-06-07 08:06:00 +00:00
Mythos_Ruler 65f07e300f #Wintry goodies
This was SVN commit r3965.
2006-06-07 07:42:58 +00:00
Mythos_Ruler ba9e7c13c4 This was SVN commit r3964. 2006-06-07 07:42:11 +00:00
Wijitmaker 127c5113d2 new water
This was SVN commit r3963.
2006-06-07 07:33:55 +00:00
janwas 8ebf16749f fix: don't use debug mode suffix on *nix
This was SVN commit r3962.
2006-06-07 04:44:21 +00:00
janwas ec6ed39d0d further cleanup+documentation; move external library code into separate file
This was SVN commit r3961.
2006-06-07 04:34:48 +00:00
janwas 137487c521 add initial self-test project creation
This was SVN commit r3960.
2006-06-07 03:02:20 +00:00
janwas 5f7875a243 rename i18n's tests subdirectory tests2, so that it doesn't get confused as a self-test directory
This was SVN commit r3959.
2006-06-07 03:01:25 +00:00
olsner 570c248b92 The first test, and support file for it and future tests
This was SVN commit r3958.
2006-06-07 02:30:47 +00:00
Matei 0ecb2dad1e Updates to the sample tech.
This was SVN commit r3957.
2006-06-07 01:42:17 +00:00
Matei 718f2fe8f1 More tech bug fixes.
This was SVN commit r3956.
2006-06-07 01:40:42 +00:00
janwas 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
Matei 40f29a8345 Some fixes for techs.
This was SVN commit r3954.
2006-06-07 01:04:41 +00:00
Matei 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
Matei 19c31d97ff Updated water parameters for Jason's new water textures.
This was SVN commit r3948.
2006-06-05 21:02:29 +00:00
Wijitmaker 13b76f2540 # Altered water textures
This was SVN commit r3947.
2006-06-05 08:55:38 +00:00
janwas 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
olsner 61f40e4775 Minor modifications to port new build setup to linux
This was SVN commit r3943.
2006-06-04 00:26:36 +00:00
Ykkrosh 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
Matei 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
Matei c1b70dcea5 Converted water normalmaps to lossless ABGR DDS'es.
This was SVN commit r3938.
2006-06-03 21:45:57 +00:00
janwas 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
Ykkrosh 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
Wijitmaker 1036d9944d ships with props
This was SVN commit r3934.
2006-06-02 07:41:12 +00:00
janwas 7f7c74a2b3 slight improvement: make pyrogenesis the default project.
This was SVN commit r3933.
2006-06-02 04:13:37 +00:00
janwas 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
janwas 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
Ykkrosh 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
Ykkrosh 9124f7266c Tidied up some include paths
This was SVN commit r3929.
2006-06-02 01:01:39 +00:00
janwas 0f7dd7d2b4 new PCH dirs for each static library project
This was SVN commit r3927.
2006-06-01 23:38:42 +00:00
Matei 81df8e5473 Moved default horizon height down to -150.
This was SVN commit r3925.
2006-06-01 17:05:42 +00:00
Matei 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
Matei bca1f982eb This was SVN commit r3921. 2006-06-01 03:26:51 +00:00
Matei 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
Matei 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
Ykkrosh 99e0dbddca Added unique names for variants (in one actor)
This was SVN commit r3918.
2006-05-31 20:46:57 +00:00
Ykkrosh 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