Skip to content

Commit dbf3dc0

Browse files
AlpyneDreamsmisyltoad
authored andcommitted
Rename GAME_DESOLATION to GAME_VITAMIN
We cannot pollute source_base.vpc with GAME_DESOLATION in non-Desolation games.
1 parent 4a435ac commit dbf3dc0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

vphysics_jolt/compat/branch_overrides.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#pragma once
33

4-
#if defined( GAME_CSGO ) || defined( GAME_DESOLATION )
4+
#if defined( GAME_CSGO ) || defined( GAME_VITAMIN )
55
#define GAME_CSGO_OR_NEWER
66
#define override_csgo override
77
#define override_not_csgo
@@ -19,7 +19,7 @@
1919
#define override_not_gmod override
2020
#endif
2121

22-
#if defined( GAME_CSGO ) || defined( GAME_DESOLATION ) || defined( GAME_PORTAL2 )
22+
#if defined( GAME_CSGO ) || defined( GAME_VITAMIN ) || defined( GAME_PORTAL2 )
2323
#define GAME_PORTAL2_OR_NEWER
2424
#define override_portal2 override
2525
#define override_not_portal2
@@ -28,7 +28,7 @@
2828
#define override_not_portal2 override
2929
#endif
3030

31-
#if defined( GAME_CSGO ) || defined( GAME_DESOLATION ) || defined( GAME_PORTAL2 ) || defined( GAME_L4D2 )
31+
#if defined( GAME_CSGO ) || defined( GAME_VITAMIN ) || defined( GAME_PORTAL2 ) || defined( GAME_L4D2 )
3232
#define GAME_L4D2_OR_NEWER
3333
#define override_l4d2 override
3434
#define override_not_l4d2
@@ -37,7 +37,7 @@
3737
#define override_not_l4d2 override
3838
#endif
3939

40-
#if defined( GAME_CSGO ) || defined( GAME_DESOLATION ) || defined( GAME_PORTAL2 ) || defined( GAME_L4D2 ) || defined( GAME_ASW )
40+
#if defined( GAME_CSGO ) || defined( GAME_VITAMIN ) || defined( GAME_PORTAL2 ) || defined( GAME_L4D2 ) || defined( GAME_ASW )
4141
#define GAME_ASW_OR_NEWER
4242
#define override_asw override
4343
#define override_not_asw
@@ -46,7 +46,7 @@
4646
#define override_not_asw override
4747
#endif
4848

49-
#ifndef GAME_DESOLATION
49+
#ifndef GAME_VITAMIN
5050
using strlen_t = int;
5151
#endif
5252

vphysics_jolt/vjolt_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Whether to use the VPhysics debug overlay (legacy compatible) or the fully featured IVDebugOverlay
1212
// In Desolation, IVDebugOverlay has new members that allow us to draw IMesh objects, without this
1313
// debugoverlay rendering is incredibly inefficient (and may run the materialsystem mempool out of memory)
14-
#if !defined( GAME_DESOLATION ) || defined( BUILD_FOR_EXTERNAL_GAME )
14+
#if !defined( GAME_VITAMIN ) || defined( BUILD_FOR_EXTERNAL_GAME )
1515
#define VJOLT_USE_PHYSICS_DEBUG_OVERLAY
1616
#endif
1717

0 commit comments

Comments
 (0)