mirror of
https://github.com/r4sas/ExtraMirror
synced 2025-01-24 13:34:19 +00:00
Update enginemsg.cpp
This commit is contained in:
parent
f877a605f6
commit
fa348ae1b4
@ -36,7 +36,7 @@ void MSG_SaveReadCount(){
|
||||
void MSG_RestoreReadCount(){
|
||||
*MSG_ReadCount = MSG_SavedReadCount;
|
||||
}
|
||||
pfnEngineMessage pSVC_Resourcelist;
|
||||
pfnEngineMessage pSVC_VoiceInit;
|
||||
|
||||
pfnEngineMessage pSVC_StuffText;
|
||||
pfnEngineMessage pSVC_SendCvarValue;
|
||||
@ -205,6 +205,20 @@ void SVC_Director(){
|
||||
MSG_RestoreReadCount();
|
||||
pSVC_Director();
|
||||
}
|
||||
void SVC_VoiceInit(){
|
||||
MSG_SaveReadCount();
|
||||
char* codec = MSG_ReadString();int bit = MSG_ReadByte();
|
||||
char str[1024];
|
||||
strncpy(str, command, sizeof(str));
|
||||
str[sizeof(str) - 1] = 0;
|
||||
ConsolePrintColor(255, 255, 255, "[Extra Mirror] voiceinit: ");
|
||||
ConsolePrintColor(255, 255, 255, (" %s - ", str));
|
||||
ConsolePrintColor(255, 255, 255, (" %s - ", codec));
|
||||
ConsolePrintColor(255, 255, 255, (" %d", bit));
|
||||
ConsolePrintColor(255, 255, 255, "\n");
|
||||
MSG_RestoreReadCount();
|
||||
pSVC_VoiceInit();
|
||||
}
|
||||
/*
|
||||
void SVC_Resourcelist() {
|
||||
MSG_SaveReadCount();
|
||||
@ -228,4 +242,4 @@ void SVC_Resourcelist() {
|
||||
|
||||
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user