mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
ddracechat.h is used by the client, so move it to src/game
where ddracecommands.h already is.
This commit is contained in:
parent
dfd60e6668
commit
242aa63178
|
@ -1560,6 +1560,7 @@ set_src(GAME_SHARED GLOB src/game
|
||||||
bezier.h
|
bezier.h
|
||||||
collision.cpp
|
collision.cpp
|
||||||
collision.h
|
collision.h
|
||||||
|
ddracechat.h
|
||||||
ddracecommands.h
|
ddracecommands.h
|
||||||
extrainfo.cpp
|
extrainfo.cpp
|
||||||
extrainfo.h
|
extrainfo.h
|
||||||
|
@ -1944,7 +1945,6 @@ set_src(ENGINE_SERVER GLOB_RECURSE src/engine/server
|
||||||
set_src(GAME_SERVER GLOB_RECURSE src/game/server
|
set_src(GAME_SERVER GLOB_RECURSE src/game/server
|
||||||
alloc.h
|
alloc.h
|
||||||
ddracechat.cpp
|
ddracechat.cpp
|
||||||
ddracechat.h
|
|
||||||
ddracecommands.cpp
|
ddracecommands.cpp
|
||||||
entities/character.cpp
|
entities/character.cpp
|
||||||
entities/character.h
|
entities/character.h
|
||||||
|
|
|
@ -35,7 +35,7 @@ CChat::CChat()
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CHAT_COMMAND(name, params, flags, callback, userdata, help) RegisterCommand(name, params, flags, help);
|
#define CHAT_COMMAND(name, params, flags, callback, userdata, help) RegisterCommand(name, params, flags, help);
|
||||||
#include <game/server/ddracechat.h>
|
#include <game/ddracechat.h>
|
||||||
m_Commands.sort_range();
|
m_Commands.sort_range();
|
||||||
|
|
||||||
m_Mode = MODE_NONE;
|
m_Mode = MODE_NONE;
|
||||||
|
|
|
@ -3047,7 +3047,7 @@ void CGameContext::OnConsoleInit()
|
||||||
#define CONSOLE_COMMAND(name, params, flags, callback, userdata, help) m_pConsole->Register(name, params, flags, callback, userdata, help);
|
#define CONSOLE_COMMAND(name, params, flags, callback, userdata, help) m_pConsole->Register(name, params, flags, callback, userdata, help);
|
||||||
#include <game/ddracecommands.h>
|
#include <game/ddracecommands.h>
|
||||||
#define CHAT_COMMAND(name, params, flags, callback, userdata, help) m_pConsole->Register(name, params, flags, callback, userdata, help);
|
#define CHAT_COMMAND(name, params, flags, callback, userdata, help) m_pConsole->Register(name, params, flags, callback, userdata, help);
|
||||||
#include "ddracechat.h"
|
#include <game/ddracechat.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGameContext::OnInit(/*class IKernel *pKernel*/)
|
void CGameContext::OnInit(/*class IKernel *pKernel*/)
|
||||||
|
|
Loading…
Reference in a new issue