MCPcopy Create free account
hub / github.com/Meridian59/Meridian59 / GetKodObjectColor

Function GetKodObjectColor

roomedit/source/things.cpp:1354–1373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352}
1353
1354int GetKodObjectColor(int type)
1355{
1356 switch (type)
1357 {
1358 case kodPlayerBlocking:
1359 return RED;
1360 case kodExit:
1361 return YELLOW;
1362 case kodMonsterGenerator:
1363 return GREEN;
1364 case kodEntrance:
1365 return WHITE;
1366 case kodExtraPreObject2:
1367 case kodExtraPreObject3:
1368 case kodExtraPreObject4:
1369 case kodObject: //objects run this value and higher
1370 default:
1371 return GREEN;
1372 }
1373}
1374
1375void UnloadKodObjects(void)
1376{

Callers 2

DrawMapThingMethod · 0.85
PaintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected