[saco] Implement radar color functions

This commit is contained in:
RD42 2023-11-03 18:51:53 +08:00
parent 27cbd475c5
commit 3c409b1db0
3 changed files with 1046 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#include "../main.h"
#include "util.h"
#include "keystuff.h"
#include "aimstuff.h"
@ -37,5 +38,8 @@ void CGame::InitGame()
// Init the aim stuff.
GameAimSyncInit();
// Init radar colors
GameResetRadarColors();
}

1034
saco/game/util.cpp Normal file

File diff suppressed because it is too large Load Diff

8
saco/game/util.h Normal file
View File

@ -0,0 +1,8 @@
#pragma once
void __stdcall SetRadarColor(int nIndex,DWORD dwColor);
DWORD __stdcall TranslateColorCodeToRGBA(int iCode);
void GameResetRadarColors();