Clone of PhatAC @ https://github.com/floaterxk/PhatAC

Rules.cpp 504B

1234567891011121314151617181920212223242526272829303132
  1. #include "StdAfx.h"
  2. #include "Rules.h"
  3. #include "TurbineXPTable.h"
  4. // The base rules class, can implement basic functionality here and override it if we want
  5. // This could be used if we want to do some kind of crazy game modes with fun variations
  6. CGameRules::CGameRules()
  7. {
  8. m_pXPTable = g_pPortal ? g_pPortal->GetXPTable(0x0E000018) : NULL;
  9. }
  10. CGameRules::~CGameRules()
  11. {
  12. }
  13. const char* CGameRules::GetGameTitle()
  14. {
  15. return "PhatAC";
  16. }
  17. XPTABLE* CGameRules::GetXPTable()
  18. {
  19. return m_pXPTable;
  20. }