add missing minimap support for games

This commit is contained in:
Thomas Debesse 2018-01-28 04:27:19 +01:00
parent aa696e8cf8
commit 6649445a46
4 changed files with 20 additions and 1 deletions

View file

@ -64,6 +64,12 @@
0, /* lightmap width/height */ 0, /* lightmap width/height */
0, /* lightmap gamma */ 0, /* lightmap gamma */
0, /* lightmap compensate */ 0, /* lightmap compensate */
0, /* minimap size */
0, /* minimap sharpener */
0, /* minimap border */
qfalse, /* minimap keep aspect */
MINIMAP_MODE_GRAY, /* minimap mode */
NULL, /* minimap name format */
NULL, /* bsp file prefix */ NULL, /* bsp file prefix */
0, /* bsp file version */ 0, /* bsp file version */
qfalse, /* cod-style lump len/ofs order */ qfalse, /* cod-style lump len/ofs order */

View file

@ -85,6 +85,12 @@
128, /* lightmap width/height */ 128, /* lightmap width/height */
1.0f, /* lightmap gamma */ 1.0f, /* lightmap gamma */
1.0f, /* lightmap compensate */ 1.0f, /* lightmap compensate */
512, /* minimap size */
1.0f, /* minimap sharpener */
0.0f, /* minimap border */
qtrue, /* minimap keep aspect */
MINIMAP_MODE_GRAY, /* minimap mode */
"%s.tga", /* minimap name format */
"IBSP", /* bsp file prefix */ "IBSP", /* bsp file prefix */
46, /* bsp file version */ 46, /* bsp file version */
qfalse, /* cod-style lump len/ofs order */ qfalse, /* cod-style lump len/ofs order */

View file

@ -72,6 +72,12 @@ game_t struct
128, /* lightmap width/height */ 128, /* lightmap width/height */
1.0f, /* lightmap gamma */ 1.0f, /* lightmap gamma */
1.0f, /* lightmap compensate */ 1.0f, /* lightmap compensate */
512, /* minimap size */
1.0f, /* minimap sharpener */
0.0f, /* minimap border */
qtrue, /* minimap keep aspect */
MINIMAP_MODE_WHITE, /* minimap mode */
"../minimaps/%s.tga", /* minimap name format */
"IBSP", /* bsp file prefix */ "IBSP", /* bsp file prefix */
46, /* bsp file version */ 46, /* bsp file version */
qfalse, /* cod-style lump len/ofs order */ qfalse, /* cod-style lump len/ofs order */

View file

@ -167,6 +167,7 @@
<ClCompile Include="image.c" /> <ClCompile Include="image.c" />
<ClCompile Include="main.c" /> <ClCompile Include="main.c" />
<ClCompile Include="mesh.c" /> <ClCompile Include="mesh.c" />
<ClCompile Include="minimap.c" />
<ClCompile Include="model.c" /> <ClCompile Include="model.c" />
<ClCompile Include="path_init.c" /> <ClCompile Include="path_init.c" />
<ClCompile Include="shaders.c" /> <ClCompile Include="shaders.c" />
@ -240,4 +241,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">
</ImportGroup> </ImportGroup>
</Project> </Project>