Author: gerard_
Date: Wed Nov 26 14:17:44 2008
New Revision: 6390
URL: http://svn.gna.org/viewcvs/warzone?rev=6390&view=rev
Log:
Now draw the water as a giant quad at a certain water level. This reduces the
amount of polygons drawn. A field
height_new is also added to the terrain data which stores the map height as a
float. This removes the limitation
of only 255 different positive height levels. Currently this is quite a hack so
it will need some tidying up.
Additionally, the opengl color is set to white before drawing the decals so
they don't end up black.
Modified:
branches/terrain/src/component.c
branches/terrain/src/display3d.c
branches/terrain/src/map.c
branches/terrain/src/map.h
branches/terrain/src/radar.c
branches/terrain/src/terrain.c
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits