Skip to content

Commit c27fee4

Browse files
committed
- leave dev messages to the Debug version
1 parent 3003372 commit c27fee4

File tree

11 files changed

+116
-98
lines changed

11 files changed

+116
-98
lines changed

DriverLevelTool/driver_routines/level.cpp

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ void DetectLevelFormat(IVirtualStream* pFile)
7373
break;
7474
case LUMP_JUNCTIONS2:
7575
{
76-
MsgInfo("Assuming it's a 'Driver 2 DEMO' 1.6 alpha LEV file\n");
76+
MsgInfo("Detected 'Driver 2 DEMO' 1.6 alpha LEV file\n");
7777
g_format = LEV_FORMAT_DRIVER2_ALPHA16; // as it is an old junction format - it's clearly a alpha 1.6 level
7878
break;
7979
}
8080
case LUMP_JUNCTIONS2_NEW:
8181
{
82-
MsgInfo("Assuming it's a 'Driver 2' final LEV file\n");
82+
MsgInfo("Detected 'Driver 2' final LEV file\n");
8383
g_format = LEV_FORMAT_DRIVER2_RETAIL; // most recent LEV file
8484
break;
8585
}
@@ -92,7 +92,7 @@ void DetectLevelFormat(IVirtualStream* pFile)
9292
case LUMP_SUBDIVISION:
9393
default: // maybe Lump 11?
9494
{
95-
MsgInfo("Assuming it's a 'Driver 1' LEV file\n");
95+
MsgInfo("Detected 'Driver 1' LEV file\n");
9696
g_format = LEV_FORMAT_DRIVER1;
9797
break;
9898
}
@@ -150,67 +150,67 @@ void ProcessLumps(IVirtualStream* pFile)
150150
switch (lump.type)
151151
{
152152
case LUMP_MODELS:
153-
MsgWarning("LUMP_MODELS ofs=%d size=%d\n", pFile->Tell(), lump.size);
153+
DevMsg(SPEW_WARNING, "LUMP_MODELS ofs=%d size=%d\n", pFile->Tell(), lump.size);
154154
g_levModels.LoadLevelModelsLump(pFile);
155155
break;
156156
case LUMP_MAP:
157-
MsgWarning("LUMP_MAP ofs=%d size=%d\n", pFile->Tell(), lump.size);
157+
DevMsg(SPEW_WARNING, "LUMP_MAP ofs=%d size=%d\n", pFile->Tell(), lump.size);
158158
g_levMap->LoadMapLump(pFile);
159159
break;
160160
case LUMP_TEXTURENAMES:
161-
MsgWarning("LUMP_TEXTURENAMES ofs=%d size=%d\n", pFile->Tell(), lump.size);
161+
DevMsg(SPEW_WARNING, "LUMP_TEXTURENAMES ofs=%d size=%d\n", pFile->Tell(), lump.size);
162162
g_levTextures.LoadTextureNamesLump(pFile, lump.size);
163163
break;
164164
case LUMP_MODELNAMES:
165-
MsgWarning("LUMP_MODELNAMES ofs=%d size=%d\n", pFile->Tell(), lump.size);
165+
DevMsg(SPEW_WARNING, "LUMP_MODELNAMES ofs=%d size=%d\n", pFile->Tell(), lump.size);
166166
g_levModels.LoadModelNamesLump(pFile, lump.size);
167167
break;
168168
case LUMP_SUBDIVISION:
169-
MsgWarning("LUMP_SUBDIVISION ofs=%d size=%d\n", pFile->Tell(), lump.size);
169+
DevMsg(SPEW_WARNING, "LUMP_SUBDIVISION ofs=%d size=%d\n", pFile->Tell(), lump.size);
170170
break;
171171
case LUMP_LOWDETAILTABLE:
172-
MsgWarning("LUMP_LOWDETAILTABLE ofs=%d size=%d\n", pFile->Tell(), lump.size);
172+
DevMsg(SPEW_WARNING, "LUMP_LOWDETAILTABLE ofs=%d size=%d\n", pFile->Tell(), lump.size);
173173
break;
174174
case LUMP_MOTIONCAPTURE:
175-
MsgWarning("LUMP_MOTIONCAPTURE ofs=%d size=%d\n", pFile->Tell(), lump.size);
175+
DevMsg(SPEW_WARNING, "LUMP_MOTIONCAPTURE ofs=%d size=%d\n", pFile->Tell(), lump.size);
176176
break;
177177
case LUMP_OVERLAYMAP:
178-
MsgWarning("LUMP_OVERLAYMAP ofs=%d size=%d\n", pFile->Tell(), lump.size);
178+
DevMsg(SPEW_WARNING, "LUMP_OVERLAYMAP ofs=%d size=%d\n", pFile->Tell(), lump.size);
179179
LoadOverlayMapLump(pFile, lump.size);
180180
break;
181181
case LUMP_PALLET:
182-
MsgWarning("LUMP_PALLET ofs=%d size=%d\n", pFile->Tell(), lump.size);
182+
DevMsg(SPEW_WARNING, "LUMP_PALLET ofs=%d size=%d\n", pFile->Tell(), lump.size);
183183
g_levTextures.ProcessPalletLump(pFile);
184184
break;
185185
case LUMP_SPOOLINFO:
186-
MsgWarning("LUMP_SPOOLINFO ofs=%d size=%d\n", pFile->Tell(), lump.size);
186+
DevMsg(SPEW_WARNING, "LUMP_SPOOLINFO ofs=%d size=%d\n", pFile->Tell(), lump.size);
187187
g_levMap->LoadSpoolInfoLump(pFile);
188188
break;
189189
case LUMP_STRAIGHTS2:
190-
MsgWarning("LUMP_STRAIGHTS2 ofs=%d size=%d\n", pFile->Tell(), lump.size);
190+
DevMsg(SPEW_WARNING, "LUMP_STRAIGHTS2 ofs=%d size=%d\n", pFile->Tell(), lump.size);
191191
break;
192192
case LUMP_CURVES2:
193-
MsgWarning("LUMP_CURVES2 ofs=%d size=%d\n", pFile->Tell(), lump.size);
193+
DevMsg(SPEW_WARNING, "LUMP_CURVES2 ofs=%d size=%d\n", pFile->Tell(), lump.size);
194194
break;
195195
case LUMP_JUNCTIONS2:
196-
MsgWarning("LUMP_JUNCTIONS2 ofs=%d size=%d\n", pFile->Tell(), lump.size);
196+
DevMsg(SPEW_WARNING, "LUMP_JUNCTIONS2 ofs=%d size=%d\n", pFile->Tell(), lump.size);
197197
break;
198198
case LUMP_JUNCTIONS2_NEW:
199-
MsgWarning("LUMP_JUNCTIONS2_NEW ofs=%d size=%d\n", pFile->Tell(), lump.size);
199+
DevMsg(SPEW_WARNING, "LUMP_JUNCTIONS2_NEW ofs=%d size=%d\n", pFile->Tell(), lump.size);
200200
break;
201201
case LUMP_CHAIR:
202-
MsgWarning("LUMP_CHAIR ofs=%d size=%d\n", pFile->Tell(), lump.size);
202+
DevMsg(SPEW_WARNING, "LUMP_CHAIR ofs=%d size=%d\n", pFile->Tell(), lump.size);
203203
break;
204204
case LUMP_CAR_MODELS:
205-
MsgWarning("LUMP_CAR_MODELS ofs=%d size=%d\n", pFile->Tell(), lump.size);
205+
DevMsg(SPEW_WARNING, "LUMP_CAR_MODELS ofs=%d size=%d\n", pFile->Tell(), lump.size);
206206
g_levModels.LoadCarModelsLump(pFile, lump.size);
207207
break;
208208
case LUMP_TEXTUREINFO:
209-
MsgWarning("LUMP_TEXTUREINFO ofs=%d size=%d\n", pFile->Tell(), lump.size);
209+
DevMsg(SPEW_WARNING, "LUMP_TEXTUREINFO ofs=%d size=%d\n", pFile->Tell(), lump.size);
210210
g_levTextures.LoadTextureInfoLump(pFile);
211211
break;
212212
default:
213-
MsgInfo("LUMP type: %d (0x%X) ofs=%d size=%d\n", lump.type, lump.type, pFile->Tell(), lump.size);
213+
DevMsg(SPEW_WARNING, "LUMP type: %d (0x%X) ofs=%d size=%d\n", lump.type, lump.type, pFile->Tell(), lump.size);
214214
}
215215

216216
// skip lump
@@ -251,7 +251,7 @@ void LoadLevelFile(const char* filename)
251251
// seek to begin
252252
g_levStream->Seek(0, VS_SEEK_SET);
253253

254-
MsgWarning("-----------\nloading lev file '%s'\n", filename);
254+
MsgWarning("-----------\nLoading LEV file '%s'\n", filename);
255255

256256
std::string fileName = filename;
257257

@@ -273,17 +273,17 @@ void LoadLevelFile(const char* filename)
273273
// read chunk offsets
274274
g_levStream->Read(&g_levInfo, sizeof(dlevinfo_t), 1);
275275

276-
Msg("levdesc_offset = %d\n", g_levInfo.levdesc_offset);
277-
Msg("levdesc_size = %d\n", g_levInfo.levdesc_size);
276+
DevMsg(SPEW_NORM, "levdesc_offset = %d\n", g_levInfo.levdesc_offset);
277+
DevMsg(SPEW_NORM, "levdesc_size = %d\n", g_levInfo.levdesc_size);
278278

279-
Msg("texdata_offset = %d\n", g_levInfo.texdata_offset);
280-
Msg("texdata_size = %d\n", g_levInfo.texdata_size);
279+
DevMsg(SPEW_NORM, "texdata_offset = %d\n", g_levInfo.texdata_offset);
280+
DevMsg(SPEW_NORM, "texdata_size = %d\n", g_levInfo.texdata_size);
281281

282-
Msg("levdata_offset = %d\n", g_levInfo.levdata_offset);
283-
Msg("levdata_size = %d\n", g_levInfo.levdata_size);
282+
DevMsg(SPEW_NORM, "levdata_offset = %d\n", g_levInfo.levdata_offset);
283+
DevMsg(SPEW_NORM, "levdata_size = %d\n", g_levInfo.levdata_size);
284284

285-
Msg("spooldata_offset = %d\n", g_levInfo.spooldata_offset);
286-
Msg("spooldata_size = %d\n", g_levInfo.spooldata_size);
285+
DevMsg(SPEW_NORM, "spooldata_offset = %d\n", g_levInfo.spooldata_offset);
286+
DevMsg(SPEW_NORM, "spooldata_size = %d\n", g_levInfo.spooldata_size);
287287

288288
// read cells
289289

@@ -299,7 +299,7 @@ void LoadLevelFile(const char* filename)
299299
MsgError("Not a LUMP_LEVELDESC!\n");
300300
}
301301

302-
MsgInfo("entering LUMP_LEVELDESC size = %d\n--------------\n", curLump.size);
302+
DevMsg(SPEW_INFO, "entering LUMP_LEVELDESC size = %d\n--------------\n", curLump.size);
303303

304304
// read sublumps
305305
ProcessLumps(g_levStream);
@@ -321,7 +321,7 @@ void LoadLevelFile(const char* filename)
321321
MsgError("Not a lump 0x24!\n");
322322
}
323323

324-
MsgInfo("entering LUMP_LEVELDATA size = %d\n--------------\n", curLump.size);
324+
DevMsg(SPEW_INFO, "entering LUMP_LEVELDATA size = %d\n--------------\n", curLump.size);
325325

326326
// read sublumps
327327
ProcessLumps(g_levStream);

DriverLevelTool/driver_routines/models.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void CDriverLevelModels::LoadCarModelsLump(IVirtualStream* pFile, int size)
9090
int modelCount;
9191
pFile->Read(&modelCount, sizeof(int), 1);
9292

93-
Msg(" all car models count: %d\n", modelCount);
93+
DevMsg(SPEW_NORM, " all car models count: %d\n", modelCount);
9494

9595
// read entries
9696
carmodelentry_t model_entries[MAX_CAR_MODELS];
@@ -105,7 +105,7 @@ void CDriverLevelModels::LoadCarModelsLump(IVirtualStream* pFile, int size)
105105
// load car models
106106
for (int i = 0; i < MAX_CAR_MODELS; i++)
107107
{
108-
Msg("car model: %d %d %d\n", model_entries[i].cleanOffset != -1, model_entries[i].damOffset != -1, model_entries[i].lowOffset != -1);
108+
DevMsg(SPEW_NORM, "car model: %d %d %d\n", model_entries[i].cleanOffset != -1, model_entries[i].damOffset != -1, model_entries[i].lowOffset != -1);
109109

110110
CarModelData_t& carModelData = m_carModels[i];
111111

@@ -190,7 +190,7 @@ void CDriverLevelModels::LoadLevelModelsLump(IVirtualStream* pFile)
190190
int modelCount;
191191
pFile->Read(&modelCount, sizeof(int), 1);
192192

193-
MsgInfo(" model count: %d\n", modelCount);
193+
DevMsg(SPEW_INFO, " model count: %d\n", modelCount);
194194

195195
for (int i = 0; i < modelCount; i++)
196196
{
@@ -312,10 +312,7 @@ int decode_poly(const char* polyList, dpoly_t* out)
312312
out->detail = 0xFF;
313313
out->flags = 0;
314314

315-
*(uint*)&out->color[0] = 0;
316-
*(uint*)&out->color[1] = 0;
317-
*(uint*)&out->color[2] = 0;
318-
*(uint*)&out->color[3] = 0;
315+
*(uint*)&out->color = 0;
319316

320317
switch (ptype)
321318
{
@@ -330,7 +327,7 @@ int decode_poly(const char* polyList, dpoly_t* out)
330327
{
331328
// F3
332329
*(uint*)out->vindices = *(uint*)&polyList[1];
333-
330+
*(uint*)&out->color = *(uint*)&polyList[8];
334331
// FIXME: read colours
335332

336333
out->flags = FACE_RGB; // RGB?
@@ -340,7 +337,8 @@ int decode_poly(const char* polyList, dpoly_t* out)
340337
{
341338
// F4
342339
*(uint*)out->vindices = *(uint*)&polyList[1];
343-
340+
*(uint*)&out->color = *(uint*)&polyList[8];
341+
344342
// FIXME: read colours
345343

346344
out->flags = FACE_RGB; // RGB?
@@ -359,7 +357,7 @@ int decode_poly(const char* polyList, dpoly_t* out)
359357
*(ushort*)out->uv[2] = *(ushort*)&pft3->uv2;
360358

361359
if(ptype != 10)
362-
*(uint*)out->color = *(uint*)&pft3->color;
360+
*(uint*)&out->color = *(uint*)&pft3->color;
363361

364362
out->page = pft3->texture_set;
365363
out->detail = pft3->texture_id;
@@ -383,7 +381,7 @@ int decode_poly(const char* polyList, dpoly_t* out)
383381
*(ushort*)out->uv[3] = *(ushort*)&pft4->uv3;
384382

385383
if(ptype != 11)
386-
*(uint*)out->color = *(uint*)&pft4->color;
384+
*(uint*)&out->color = *(uint*)&pft4->color;
387385

388386
out->page = pft4->texture_set;
389387
out->detail = pft4->texture_id;
@@ -404,7 +402,8 @@ int decode_poly(const char* polyList, dpoly_t* out)
404402
*(ushort*)out->uv[1] = *(ushort*)&pgt3->uv1;
405403
*(ushort*)out->uv[2] = *(ushort*)&pgt3->uv2;
406404

407-
*(uint*)out->color = *(uint*)&pgt3->color;
405+
*(uint*)&out->color = *(uint*)&pgt3->color;
406+
408407
out->page = pgt3->texture_set;
409408
out->detail = pgt3->texture_id;
410409

@@ -423,7 +422,8 @@ int decode_poly(const char* polyList, dpoly_t* out)
423422
*(ushort*)out->uv[2] = *(ushort*)&pgt4->uv2;
424423
*(ushort*)out->uv[3] = *(ushort*)&pgt4->uv3;
425424

426-
*(uint*)out->color = *(uint*)&pgt4->color;
425+
*(uint*)&out->color = *(uint*)&pgt4->color;
426+
427427
out->page = pgt4->texture_set;
428428
out->detail = pgt4->texture_id;
429429
out->flags = FACE_IS_QUAD | FACE_VERT_NORMAL | FACE_TEXTURED;

DriverLevelTool/driver_routines/models.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct dpoly_t
3535
ubyte vindices[4];
3636
ubyte uv[4][2];
3737
ubyte nindices[4];
38-
CVECTOR color[4];
38+
CVECTOR color;
3939
// something more?
4040
};
4141

DriverLevelTool/driver_routines/regions.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -214,20 +214,20 @@ void CBaseLevelMap::LoadMapLump(IVirtualStream* pFile)
214214
pFile->Read(&m_mapInfo, 1, sizeof(OUT_CELL_FILE_HEADER));
215215

216216
Msg("Level dimensions[%d %d], cell size: %d\n", m_mapInfo.cells_across, m_mapInfo.cells_down, m_mapInfo.cell_size);
217-
Msg(" - num_regions: %d\n", m_mapInfo.num_regions);
218-
Msg(" - region_size in cells: %d\n", m_mapInfo.region_size);
217+
DevMsg(SPEW_NORM," - num_regions: %d\n", m_mapInfo.num_regions);
218+
DevMsg(SPEW_NORM, " - region_size in cells: %d\n", m_mapInfo.region_size);
219219

220220
int dim_x = m_mapInfo.cells_across / m_mapInfo.region_size;
221221
int dim_y = m_mapInfo.cells_down / m_mapInfo.region_size;
222222

223223
Msg("World size:\n [%dx%d] cells\n [%dx%d] regions\n", m_mapInfo.cells_across, m_mapInfo.cells_down, dim_x, dim_y);
224224

225-
Msg(" - num_cell_objects : %d\n", m_mapInfo.num_cell_objects);
226-
Msg(" - num_cell_data: %d\n", m_mapInfo.num_cell_data);
225+
DevMsg(SPEW_NORM, " - num_cell_objects : %d\n", m_mapInfo.num_cell_objects);
226+
DevMsg(SPEW_NORM, " - num_cell_data: %d\n", m_mapInfo.num_cell_data);
227227

228228
// ProcessMapLump
229229
pFile->Read(&m_numStraddlers, 1, sizeof(m_numStraddlers));
230-
Msg(" - num straddler cells: %d\n", m_numStraddlers);
230+
DevMsg(SPEW_NORM, " - num straddler cells: %d\n", m_numStraddlers);
231231

232232
const int pvs_square = 21;
233233
const int pvs_square_sq = pvs_square * pvs_square;
@@ -244,18 +244,18 @@ void CBaseLevelMap::LoadSpoolInfoLump(IVirtualStream* pFile)
244244
{
245245
int model_spool_buffer_size;
246246
pFile->Read(&model_spool_buffer_size, 1, sizeof(int));
247-
Msg("model_spool_buffer_size = %d * SPOOL_CD_BLOCK_SIZE\n", model_spool_buffer_size);
247+
DevMsg(SPEW_NORM, "model_spool_buffer_size = %d * SPOOL_CD_BLOCK_SIZE\n", model_spool_buffer_size);
248248

249249
int Music_And_AmbientOffsetsSize;
250250
pFile->Read(&Music_And_AmbientOffsetsSize, 1, sizeof(int));
251-
Msg("Music_And_AmbientOffsetsSize = %d\n", Music_And_AmbientOffsetsSize);
251+
DevMsg(SPEW_NORM, "Music_And_AmbientOffsetsSize = %d\n", Music_And_AmbientOffsetsSize);
252252

253253
// move further
254254
// this was probably used in early D1 level files for sound banks
255255
pFile->Seek(Music_And_AmbientOffsetsSize, VS_SEEK_CUR);
256256

257257
pFile->Read(&m_numAreas, 1, sizeof(int));
258-
Msg("NumAreas = %d\n", m_numAreas);
258+
DevMsg(SPEW_NORM, "NumAreas = %d\n", m_numAreas);
259259

260260
m_areaData = new AreaDataStr[m_numAreas];
261261
m_areaTPages = new AreaTPage_t[m_numAreas];
@@ -297,18 +297,18 @@ void CBaseLevelMap::LoadSpoolInfoLump(IVirtualStream* pFile)
297297
m_PVS_size[i] = pvs_size + 0x7ff & 0xfffff800;
298298
}
299299

300-
Msg("cell_slots_add = {%d,%d,%d,%d}\n", m_cell_slots_add[0], m_cell_slots_add[1], m_cell_slots_add[2], m_cell_slots_add[3]);
301-
Msg("cell_objects_add = {%d,%d,%d,%d}\n", m_cell_objects_add[0], m_cell_objects_add[1], m_cell_objects_add[2], m_cell_objects_add[3]);
302-
Msg("PVS_size = {%d,%d,%d,%d}\n", m_PVS_size[0], m_PVS_size[1], m_PVS_size[2], m_PVS_size[3]);
300+
DevMsg(SPEW_NORM, "cell_slots_add = {%d,%d,%d,%d}\n", m_cell_slots_add[0], m_cell_slots_add[1], m_cell_slots_add[2], m_cell_slots_add[3]);
301+
DevMsg(SPEW_NORM, "cell_objects_add = {%d,%d,%d,%d}\n", m_cell_objects_add[0], m_cell_objects_add[1], m_cell_objects_add[2], m_cell_objects_add[3]);
302+
DevMsg(SPEW_NORM, "PVS_size = {%d,%d,%d,%d}\n", m_PVS_size[0], m_PVS_size[1], m_PVS_size[2], m_PVS_size[3]);
303303

304304
// ... but InitCellData is here
305305
{
306306
int maxCellData = m_numStraddlers + m_cell_slots_add[4];
307-
Msg("*** MAX cell slots = %d\n", maxCellData);
307+
DevMsg(SPEW_NORM, "*** MAX cell slots = %d\n", maxCellData);
308308

309309
// I don't have any idea
310310
pFile->Read(&m_numSpoolInfoOffsets, 1, sizeof(int));
311-
Msg("numRegionOffsets: %d\n", m_numSpoolInfoOffsets);
311+
DevMsg(SPEW_NORM, "numRegionOffsets: %d\n", m_numSpoolInfoOffsets);
312312
}
313313

314314
m_regionSpoolInfoOffsets = new ushort[m_numSpoolInfoOffsets];
@@ -320,7 +320,7 @@ void CBaseLevelMap::LoadSpoolInfoLump(IVirtualStream* pFile)
320320

321321
//ASSERT(regionsInfoSize % sizeof(REGIONINFO) == 0);
322322

323-
Msg("Region spool count %d (size=%d bytes)\n", m_numRegionSpools, regionsInfoSize);
323+
DevMsg(SPEW_NORM, "Region spool count %d (size=%d bytes)\n", m_numRegionSpools, regionsInfoSize);
324324

325325
m_regionSpoolInfo = (Spool*)malloc(regionsInfoSize);
326326
pFile->Read(m_regionSpoolInfo, 1, regionsInfoSize);
@@ -375,7 +375,7 @@ void CBaseLevelMap::LoadInAreaModels(IVirtualStream* pFile, int areaDataNum) con
375375
ushort* new_model_numbers = new ushort[numModels];
376376
pFile->Read(new_model_numbers, numModels, sizeof(short));
377377

378-
MsgInfo(" model count: %d\n", numModels);
378+
DevMsg(SPEW_INFO, " model count: %d\n", numModels);
379379
pFile->Seek(modelsOffset, VS_SEEK_SET);
380380

381381
for (int i = 0; i < numModels; i++)

DriverLevelTool/driver_routines/regions_d1.cpp

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,23 @@ void CDriver1LevelRegion::LoadRegionData(IVirtualStream* pFile, Spool* spool)
2525
{
2626
m_spoolInfo = spool;
2727

28-
Msg("---------\nSpool %d %d\n", m_regionX, m_regionZ);
29-
30-
Msg(" - offset: %d\n", spool->offset);
28+
DevMsg(SPEW_NORM, "---------\nSpool %d %d\n", m_regionX, m_regionZ);
29+
DevMsg(SPEW_NORM, " - offset: %d\n", spool->offset);
3130

3231
for (int i = 0; i < spool->num_connected_areas && i < 2; i++)
33-
Msg(" - connected area %d: %d\n", i, spool->connected_areas[i]);
32+
DevMsg(SPEW_NORM, " - connected area %d: %d\n", i, spool->connected_areas[i]);
3433

35-
Msg(" - pvs_size: %d\n", spool->pvs_size);
36-
Msg(" - cell_data_size: %d %d %d\n", spool->cell_data_size[0], spool->cell_data_size[1], spool->cell_data_size[2]);
34+
DevMsg(SPEW_NORM, " - pvs_size: %d\n", spool->pvs_size);
35+
DevMsg(SPEW_NORM, " - cell_data_size: %d %d %d\n", spool->cell_data_size[0], spool->cell_data_size[1], spool->cell_data_size[2]);
3736

38-
Msg(" - super_region: %d\n", spool->super_region);
37+
DevMsg(SPEW_NORM, " - super_region: %d\n", spool->super_region);
3938

4039
// LoadRegionData - calculate offsets
41-
Msg(" - cell pointers size: %d\n", spool->cell_data_size[1]);
42-
Msg(" - cell data size: %d\n", spool->cell_data_size[0]);
43-
Msg(" - cell objects size: %d\n", spool->cell_data_size[2]);
44-
Msg(" - PVS data size: %d\n", spool->pvs_size);
45-
Msg(" - roadmap data size: %dx%d\n", spool->roadm_size, spool->roadh_size);
40+
DevMsg(SPEW_NORM, " - cell pointers size: %d\n", spool->cell_data_size[1]);
41+
DevMsg(SPEW_NORM, " - cell data size: %d\n", spool->cell_data_size[0]);
42+
DevMsg(SPEW_NORM, " - cell objects size: %d\n", spool->cell_data_size[2]);
43+
DevMsg(SPEW_NORM, " - PVS data size: %d\n", spool->pvs_size);
44+
DevMsg(SPEW_NORM, " - roadmap data size: %dx%d\n", spool->roadm_size, spool->roadh_size);
4645

4746
//
4847
// Driver 1 use CELL_OBJECTS directly - 16 bytes, wasteful in RAM

0 commit comments

Comments
 (0)