summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-22 13:26:35 +0200
committerSergeanur <s.anureev@yandex.ua>2020-03-22 16:19:10 +0200
commit5e37c3e805088f58392349c3c801d481d469dac2 (patch)
tree445046c822ef0c3106f4de78382b1b261b0205ce /src/core
parentf9342c7e8341130d3783316584acaff91fe96660 (diff)
Console
Diffstat (limited to 'src/core')
-rw-r--r--src/core/common.h3
-rw-r--r--src/core/main.cpp3
-rw-r--r--src/core/re3.cpp1
3 files changed, 6 insertions, 1 deletions
diff --git a/src/core/common.h b/src/core/common.h
index 9a5cdb38..562a69b4 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -370,3 +370,6 @@ inline T *WriteSaveBuf(uint8 *&buf, const T &value)
assert(ReadSaveBuf<char>(buf) == c);\
assert(ReadSaveBuf<char>(buf) == d);\
assert(ReadSaveBuf<uint32>(buf) == size);
+
+
+void cprintf(char*, ...); \ No newline at end of file
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 90afff72..c13d3618 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -49,6 +49,7 @@
#include "Frontend.h"
#include "AnimViewer.h"
#include "Script.h"
+#include "Console.h"
#define DEFAULT_VIEWWINDOW (Tan(DEGTORAD(CDraw::GetFOV() * 0.5f)))
@@ -429,7 +430,7 @@ Render2dStuff(void)
}
MusicManager.DisplayRadioStationName();
-// TheConsole.Display();
+ TheConsole.Display();
/*
if(CSceneEdit::m_bEditOn)
CSceneEdit::Draw();
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index ed32632f..6f0a4682 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -19,6 +19,7 @@
#include "Ped.h"
#include "debugmenu_public.h"
#include "Particle.h"
+#include "Console.h"
#include <vector>
#include <list>