mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 23:19:18 +00:00
add csrike source code
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#ifndef BUY_PRESET_DEBUG_H
|
||||
#define BUY_PRESET_DEBUG_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
// Utility functions for the debugging macros below
|
||||
bool IsPresetDebuggingEnabled(); ///< cl_preset_debug >= 1.0f
|
||||
bool IsPresetFullCostDebuggingEnabled(); ///< cl_preset_debug == 2.0f
|
||||
bool IsPresetCurrentCostDebuggingEnabled(); ///< cl_preset_debug == 3.0f
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
// Macros for conditional debugging of buy presets
|
||||
#define PRESET_DEBUG if (IsPresetDebuggingEnabled()) DevMsg
|
||||
#define FULLCOST_DEBUG if (IsPresetFullCostDebuggingEnabled()) DevMsg
|
||||
#define CURRENTCOST_DEBUG if (IsPresetCurrentCostDebuggingEnabled()) DevMsg
|
||||
|
||||
#endif // BUY_PRESET_DEBUG_H
|
||||
Reference in New Issue
Block a user