mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-21 13:10:37 +02:00
Quake 4 integrated with DoomRTX
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
//----------------------------------------------------------------
|
||||
// Buying.h
|
||||
//
|
||||
// Copyright 2005 Ritual Entertainment
|
||||
//
|
||||
// This file essentially serves as an extension to the Game DLL
|
||||
// source files Multiplayer.h and Player.h, in an attempt
|
||||
// to isolate, as much as possible, these changes from the main
|
||||
// body of code (for merge simplification, etc).
|
||||
//----------------------------------------------------------------
|
||||
|
||||
#ifndef __BUYING_H__
|
||||
#define __BUYING_H__
|
||||
|
||||
#include "../Game_local.h"
|
||||
#include "../MultiplayerGame.h"
|
||||
|
||||
|
||||
class riBuyingManager
|
||||
{
|
||||
private:
|
||||
const idDeclEntityDef* _buyingGameBalanceConstants;
|
||||
int opponentKillCashAward; // latch
|
||||
int opponentKillFragCount;
|
||||
|
||||
public:
|
||||
riBuyingManager();
|
||||
~riBuyingManager();
|
||||
|
||||
int GetIntValueForKey( const char* keyName, int defaultValue );
|
||||
int GetOpponentKillCashAward( void );
|
||||
|
||||
void Reset( void ) { opponentKillFragCount = -1; }
|
||||
};
|
||||
|
||||
|
||||
#endif // __BUYING_H__
|
||||
Reference in New Issue
Block a user