1
0
forked from mirrors/0ad
Commit Graph

2607 Commits

Author SHA1 Message Date
Wijitmaker 7e7e0cd052 Demo map for Ken featuring all the completed art work so far of structures/units
This was SVN commit r2901.
2005-10-12 00:37:05 +00:00
Wijitmaker 30b80c032d Alexander Hero (hopefully I included everything)
This was SVN commit r2900.
2005-10-11 11:59:26 +00:00
Mythos_Ruler 8d37fba12f This was SVN commit r2899. 2005-10-11 05:22:18 +00:00
Wijitmaker e05ca36bc5 Changed water color/depth/alpha again
This was SVN commit r2897.
2005-10-10 23:05:53 +00:00
Ykkrosh 1b59f4c56e Keep renderer in sync with simulation when running too slowly for the sim to keep up
This was SVN commit r2895.
2005-10-10 19:49:02 +00:00
janwas f2ccab089c new cumulative timer as requested for entity slowdown investigation.
use SUM_TIMER; see comments in source+header.

(i've tested this on my laptop, but only get as far as the main menu.
hopefully this won't break anything :S)

This was SVN commit r2893.
2005-10-10 17:33:34 +00:00
prefect 6efb1e1c00 Single pass player color rendering.
Falls back to a simpler formula when only 2 TMUs are available.
CRenderer is now a JS object called "renderer" for scripting.

This was SVN commit r2891.
2005-10-10 14:15:28 +00:00
Mythos_Ruler 868649d491 This was SVN commit r2890. 2005-10-10 08:17:17 +00:00
Mythos_Ruler 57b8886f63 This was SVN commit r2889. 2005-10-10 05:25:56 +00:00
Matei faa6a78304 Added LOS setting to GameAttributes. Also fixed a small bug with LOS rendering (the patch's render data wasn't updated for LOS until the second frame after it became visible, displaying it in black for 1 frame).
This was SVN commit r2887.
2005-10-10 03:35:32 +00:00
Matei e294e30c51 Added LOS setting to game setup screen.
This was SVN commit r2886.
2005-10-10 03:34:45 +00:00
Mythos_Ruler 575500169d This was SVN commit r2885. 2005-10-10 02:24:48 +00:00
Mythos_Ruler 84d47305ea This was SVN commit r2884. 2005-10-10 02:24:00 +00:00
Acumen 3414e847be Updated the temporary Bireme so it inherited from the ship template instead of the Female Citizen (which was fairly disturbing).
This was SVN commit r2883.
2005-10-09 14:22:55 +00:00
Wijitmaker f2862de50e few xml error fixes
This was SVN commit r2882.
2005-10-09 11:17:40 +00:00
Matei c468eedbbb Sped up LOS rendering.
This was SVN commit r2880.
2005-10-09 08:14:42 +00:00
Matei 57cfc7c6ac Made LOS drawn using terrain vertex color (which requires some terrain render data to be rebuilt each frame, but is faster).
This was SVN commit r2878.
2005-10-09 04:40:18 +00:00
Ykkrosh aa1348b6a8 Atlas: Disable LOS when editing. Set up initial terrain data before starting CGame (since initialisation of LOS (and probably other things in the future) wants to know about the terrain).
World: Deallocate LOSManager.

This was SVN commit r2877.
2005-10-09 04:29:58 +00:00
Matei 0ed2815c8b Added initial version of LOS, and updated minimap to show both LOS and water.
LOS issues still outstanding:
- LOS looks ugly because of quad tesselation into 2 triangles
- Quad tesselation is unspecified by OpenGL (in fact using GL_QUADS on
LOS quads seemed to give different tesselations than it did for the
underlying terrain quads, but terrain rendering also used GL_QUADS).
This should be fixed once we decide on the quad tesselation issue.
- Units with traits.vision.permanent set are visible through FOW even if
you havent seen them before; this should only be true when you have seen
them before. But it gets even more complicated - if a permanent unit
seen through FOW dies or gets upgraded or something, perhaps you should
remember the old version. I'm not completely sure how to do this
(probably involves cloning its actor somehow).

This was SVN commit r2876.
2005-10-09 03:43:03 +00:00
Ykkrosh 7ebdefec4b Atlas: improved brushes
This was SVN commit r2875.
2005-10-09 03:26:16 +00:00
Matei 7fc8713794 Made the LOS properties slightly more realistic.
This was SVN commit r2874.
2005-10-09 03:00:03 +00:00
Wijitmaker d4663954f2 Replaced the temporary ship with a new and improved bireme, stuck some units on the prop points for a sense of scale.
This was SVN commit r2873.
2005-10-09 01:21:31 +00:00
Acumen 5070ced96f Properties for LOS for Matei: traits.vision.los (structures, units), traits.vision.permanent (structures, gaia).
This was SVN commit r2872.
2005-10-08 23:00:39 +00:00
Aeros d3721d4491 This was SVN commit r2871. 2005-10-08 08:02:50 +00:00
Aeros c15f69cb85 This was SVN commit r2870. 2005-10-08 07:58:04 +00:00
Ykkrosh 8bc8bcb740 Atlas: more flexible brushes
This was SVN commit r2868.
2005-10-08 03:55:21 +00:00
Ykkrosh 29d6f420fd GameView: removed unused ancient camera code.
Terrain: nicer handling of negative map coordinates (mainly for Atlas
brush previews that fall over the edge).
Misc: reverted seconds->microseconds.

This was SVN commit r2866.
2005-10-07 21:09:29 +00:00
prefect 04650efe7a Lots of gcc -Wall fixes. The common ones:
- switch() statements don't handle all values in an enum
- missing \n at end of file
- non-virtual destructors in classes containing virtual functions
- order of initializers in constructor initializer lists
... some other stuff (signedness, nested comments, unused variables) as
well.

This was SVN commit r2864.
2005-10-07 15:24:29 +00:00
Ykkrosh 8529426fa8 Optimisation: Don't recalculate actor transform data for entities that haven't moved
This was SVN commit r2862.
2005-10-07 02:44:54 +00:00
prefect dbd58f4011 Remove CRenderer::Close(), which wasn't called anyway and the only reasonable
calling site would have been just before the destructor.
m_VertexShader is no longer leaked.

This was SVN commit r2860.
2005-10-06 16:07:36 +00:00
greybeard 6b25cafe05 The const size_t GFX_DRV_VER_LEN was increased from 64 to 256 to accommodate extraneous drivers found in the windows registry. This was made to prevent an assertion in wdetect.
This was SVN commit r2858.
2005-10-06 03:45:33 +00:00
prefect bc8eba1002 Work around a bug in ATI's Linux OpenGL driver.
This was SVN commit r2857.
2005-10-06 03:29:26 +00:00
prefect d2ee50031c Fix shlight.vs for ATI cards.
The NVidia shader compiler is not as strict as the ATI compiler.

This was SVN commit r2856.
2005-10-05 19:29:52 +00:00
prefect 13697b8512 Stupid bug in VertexArrayIterator template - forgot a return *this.
This was SVN commit r2854.
2005-10-05 16:54:10 +00:00
prefect f1ee2cd66d Add the notion of render paths and an appropriate configuration option.
Add Ogl_Shader and Ogl_Program handle types for shaders/programs loaded
from
files.
In the vertexshader render path, use a vertex program for lighting for
optimization.

This was SVN commit r2853.
2005-10-05 16:42:09 +00:00
Mythos_Ruler 539460abd8 This was SVN commit r2852. 2005-10-05 08:35:14 +00:00
Mythos_Ruler 7e8ab14139 This was SVN commit r2851. 2005-10-05 07:38:55 +00:00
Mythos_Ruler 639a1ee8cb This was SVN commit r2850. 2005-10-05 07:38:04 +00:00
Mythos_Ruler 932cab0da1 This was SVN commit r2849. 2005-10-05 07:37:34 +00:00
Wijitmaker 6859ce1e52 ooops missing texture I shouldn't have renamed
This was SVN commit r2848.
2005-10-05 05:23:17 +00:00
Wijitmaker 72d71ae3a9 renamed some shoreline textures, painted the terrain on the 0ad map, and fixed a bad link in the roman barracks entity
This was SVN commit r2847.
2005-10-05 05:03:21 +00:00
prefect a4fc7105be Explicitly call VertexBufferManager cleanup code, since we can't rely on
the order of destructors called for global instances.

This was SVN commit r2846.
2005-10-04 20:54:47 +00:00
Mythos_Ruler a181ef1fef This was SVN commit r2845. 2005-10-04 07:03:07 +00:00
Mythos_Ruler 57a9941176 This was SVN commit r2844. 2005-10-04 07:02:33 +00:00
Ykkrosh 721f6e4a1e Atlas: [very] primitive brushes
This was SVN commit r2843.
2005-10-04 02:50:59 +00:00
Acumen 7abf24b6c6 Possible speed optimisation for gaia entities (don't inherit the usual events and the entity script).
This was SVN commit r2842.
2005-10-03 20:57:10 +00:00
prefect 5e3b6fcbe3 goto crosses initialization (deja vu? ;)).
This was SVN commit r2840.
2005-10-03 19:37:45 +00:00
Ykkrosh b8c2f424e7 glDrawRangeElements -> glDrawRangeElementsEXT (fixes compilation error; EXT/ARB/etc extensions need to be used for everything not in GL1.1)
Reinserted mu-like symbol.
Fixed some minor warnings.

This was SVN commit r2838.
2005-10-03 16:04:55 +00:00
janwas d367014972 vfs_store: set return value to #bytes written
fix 2 bugs in tex / ogl_tex reported by philip (related to caching) -
thanks!
tex: documented header and improved implementation. add tex_transform_to
for convenience. change tex_write to require going through tex_wrap.

This was SVN commit r2837.
2005-10-03 12:57:31 +00:00
Mythos_Ruler c8b3be282d This was SVN commit r2836. 2005-10-03 05:00:36 +00:00