This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <time.h> | |
| #include <errno.h> | |
| #define D_TYPE_HACK | |
| #ifdef D_TYPE_HACK | |
| #define __USE_BSD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 1/131] #7 c++ src/engine/shared/datafile.cpp | |
| [ 2/131] #8 c++ src/engine/shared/storage.cpp | |
| [ 3/131] #5 c++ src/engine/shared/ringbuffer.cpp | |
| [ 4/131] #1 c++ src/engine/shared/console.cpp | |
| [ 5/131] #2 c++ src/engine/shared/demo.cpp | |
| [ 6/131] #4 c++ src/engine/shared/network_console.cpp | |
| [ 7/131] #3 c++ src/engine/shared/kernel.cpp | |
| [ 8/131] #6 c++ src/engine/shared/mapchecker.cpp | |
| [ 9/131] #3 c++ src/engine/shared/network_console_conn.cpp | |
| [ 10/131] #8 c++ src/engine/shared/memheap.cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In file included from src/game/server/gamecontext.cpp:14: | |
| src/game/server/gamemodes/ctf.h:11:15: error: 'CGameControllerCTF::CanBeMovedOnBalance' hides overloaded virtual function [-Werror,-Woverloaded-virtual] | |
| virtual bool CanBeMovedOnBalance(int ClientID); | |
| ^ | |
| src/game/server/gamecontroller.h:34:15: note: hidden overloaded virtual function 'IGameController::CanBeMovedOnBalance' declared here | |
| virtual bool CanBeMovedOnBalance(int ClientID) const; | |
| ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In file included from src/engine/server/server.cpp:31: | |
| src/engine/server/server.h:53:15: error: 'CServerBan::Init' hides overloaded virtual function [-Werror,-Woverloaded-virtual] | |
| virtual void Init(class IConsole *pConsole, class IStorage *pStorage, class CServer* pServer); | |
| ^ | |
| src/engine/shared/netban.h:173:15: note: hidden overloaded virtual function 'CNetBan::Init' declared here | |
| virtual void Init(class IConsole *pConsole, class IStorage *pStorage); | |
| ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/base/system.c b/src/base/system.c | |
| index 2fe79a0..950fac4 100644 | |
| @@ -85,12 +85,17 @@ void dbg_break() | |
| void dbg_msg(const char *sys, const char *fmt, ...) | |
| { | |
| + static int64 start_time = 0; | |
| va_list args; | |
| char str[1024*4]; | |
| char *msg; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct SGfxGlCallInfo | |
| { | |
| unsigned m_ErrorCount; | |
| const char *m_pCallCode; | |
| const char *m_pFilename; | |
| int m_LineNumber; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Unit:Use("unit-base") | |
| function Unit.Build(self, settings) | |
| self.objects = {} | |
| if config.zlib.value == 0 then | |
| self.objects = Compile(settings, Collect("src/engine/external/zlib/*.c")) | |
| end | |
| end | |
| function Unit.Use(self, settings) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| $showall = $_GET["showall"]; | |
| if($_GET["action"] == "comment") | |
| { | |
| $who = preg_replace("/[^a-zA-Z0-9s]/", "", $_GET["who"]); | |
| $text = htmlspecialchars($_GET["text"]); | |
| $time = date("Y-m-d H-i-s"); | |
| $id = preg_replace("/[^a-zA-Z0-9s]/", "", $_GET["id"]); |