added support for ambient light

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4737 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-12-03 12:21:21 +00:00
parent cbec4bbf02
commit d1253d6394
5 changed files with 32 additions and 15 deletions
+1
View File
@@ -460,6 +460,7 @@ bool empty_world(int factor, bool force) // main empty world creation routine
copystring(hdr.maptitle, "Untitled Map by Unknown", 128);
copystring(hdr.mediareq, "", 128); // MediaPack
hdr.waterlevel = -100000;
hdr.ambient = 0;
setwatercolor();
loopi(sizeof(hdr.reserved)/sizeof(hdr.reserved[0])) hdr.reserved[i] = 0;
loopk(3) loopi(256) hdr.texlists[k][i] = i;