Home
last modified time | relevance | path

Searched refs:TempAverage (Results 1 – 5 of 5) sorted by relevance

/dports/games/spring/spring_98.0/AI/Skirmish/KAIK/
H A DSpotFinder.cpp32 TempAverage = new float [TotalCells]; in CSpotFinder()
40 delete[] TempAverage; in ~CSpotFinder()
71 return TempAverage; in GetSumMap()
123 float sum = TempAverage[y * MapWidth + x]; in MakeCachePoints()
189 TotalMetal = TempAverage[y * MapWidth + x - 1]; in MakeSumMap()
202 TotalMetal = TempAverage[(y - 1) * MapWidth]; in MakeSumMap()
226 TempAverage[y * MapWidth + x] = TotalMetal; in MakeSumMap()
238 return TempAverage; in MakeSumMap()
373 TotalMetal = TempAverage[(y-1) * MapWidth]; in UpdateSumMapArea()
393 TempAverage[y * MapWidth + x] = TotalMetal; in UpdateSumMapArea()
[all …]
H A DMetalMap.cpp35 TempAverage = new int [TotalCells]; in CMetalMap()
44 delete[] TempAverage; in ~CMetalMap()
182 TotalMetal = TempAverage[y * MetalMapWidth + x - 1]; in GetMetalPoints()
197 TotalMetal = TempAverage[(y - 1) * MetalMapWidth]; in GetMetalPoints()
225 TempAverage[y * MetalMapWidth + x] = TotalMetal; in GetMetalPoints()
245 MexArrayB[i] = TempAverage[i] * 255 / MaxMetal; in GetMetalPoints()
401 TempAverage[sy * MetalMapWidth + xClear] = 0; in GetMetalPoints()
428 TotalMetal = TempAverage[y * MetalMapWidth + x - 1]; in GetMetalPoints()
444 TotalMetal = TempAverage[(y - 1) * MetalMapWidth]; in GetMetalPoints()
470 TempAverage[y * MetalMapWidth + x] = TotalMetal; in GetMetalPoints()
H A DMetalMap.h47 int* TempAverage; variable
H A DSpotFinder.h47 float* TempAverage; variable
/dports/games/spring/spring_98.0/AI/Skirmish/AAI/
H A DAAIMap.cpp1952 int* TempAverage = new int [TotalCells]; in SearchMetalSpots() local
1987TempAverage[y * MetalMapWidth + x] = TotalMetal; //set that spots metal making ability (divide by … in SearchMetalSpots()
1994 …MexArrayB[i] = TempAverage[i] * 255 / MaxMetal; //scale the metal so any map will have values 0-2… in SearchMetalSpots()
2102 SafeDeleteArray(TempAverage); in SearchMetalSpots()