Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Core/GameEngine/Include/Common/AsciiString.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#pragma once

#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "Lib/BaseType.h"
#include "Common/Debug.h"
Expand Down
2 changes: 1 addition & 1 deletion Core/GameEngine/Include/Common/GameMemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
// SYSTEM INCLUDES ////////////////////////////////////////////////////////////

#include <new.h>
#include <stdio.h>
#include <Utility/stdio_adapter.h>
#ifdef MEMORYPOOL_OVERRIDE_MALLOC
#include <malloc.h>
#endif
Expand Down
1 change: 0 additions & 1 deletion Core/GameEngine/Include/Common/UnicodeString.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#pragma once

#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "Lib/BaseType.h"
#include "Common/Debug.h"
Expand Down
1 change: 0 additions & 1 deletion Core/GameEngine/Include/Common/XferLoad.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#pragma once

// USER INCLUDES //////////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include "Common/Xfer.h"

// FOWARD REFERNCES ///////////////////////////////////////////////////////////////////////////////
Expand Down
1 change: 0 additions & 1 deletion Core/GameEngine/Source/Common/System/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include <assert.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>


#include "Common/file.h"
Expand Down
1 change: 0 additions & 1 deletion Core/GameEngine/Source/Common/System/RAMFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

#include "PreRTS.h"

#include <stdio.h>
#include <fcntl.h>
#include <io.h>
#include <string.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

#include "PreRTS.h"

#include <stdio.h>
#include <fcntl.h>
#include <io.h>
#include <string.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
// Compress interface for packets and files
// Author: Jeff Brown, January 1999

#include <stdio.h>
#include <stdlib.h>
#include "Lib/BaseTypeCore.h"
#include "NoxCompress.h"
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/FramGrab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
//////////////////////////////////////////////////////////////////////

#include "framgrab.h"
#include <stdio.h>
#include <io.h>
//#include <errno.h>

Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/animatedsoundmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include "inisup.h"
#include "ffactory.h"
#include "WWFILE.H"
#include <stdio.h>
#include "definition.h"
#include "definitionmgr.h"
#include "definitionclassids.h"
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/metalmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#include <vp.h>
#include <INI.H>
#include <Point.h>
#include <stdio.h>
#include <hashtemplate.h>
#include <wwstring.h>
#include <wwmath.h>
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "dx8caps.h"
#include "textureloader.h"
#include "texture.h"
#include <Utility/stdio_adapter.h>

#include <memory.h>
#ifdef _UNIX
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WWDebug/wwdebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
//#include "win.h" can use this if allowed to see wwlib
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <Utility/stdio_adapter.h>
#include <assert.h>
#include <string.h>
#include <signal.h>
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWDebug/wwprofile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
#include "simplevec.h"
#include "cpudetect.h"
#include "hashtemplate.h"
#include <stdio.h>
#include <Utility/intrin_compat.h>

static SimpleDynVecClass<WWProfileHierachyNodeClass*> ProfileCollectVector;
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWDownload/Download.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <assert.h>
#include <direct.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>

/////////////////////////////////////////////////////////////////////////////
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWDownload/FTP.CPP
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
/*************************************************************************/


#include <stdio.h>
#include <sys/types.h>
#include <sys/timeb.h>
#include <stdlib.h>
Expand Down Expand Up @@ -667,7 +666,7 @@
char ext[ 10 ];

if (m_findStart==0)
m_findStart=time(NULL);

Check warning on line 669 in Core/Libraries/Source/WWVegas/WWDownload/FTP.CPP

View workflow job for this annotation

GitHub Actions / Build GeneralsMD / win32-debug+t+e

'=': conversion from 'time_t' to 'int', possible loss of data

Check warning on line 669 in Core/Libraries/Source/WWVegas/WWDownload/FTP.CPP

View workflow job for this annotation

GitHub Actions / Build Generals / win32-debug+t+e

'=': conversion from 'time_t' to 'int', possible loss of data

Check warning on line 669 in Core/Libraries/Source/WWVegas/WWDownload/FTP.CPP

View workflow job for this annotation

GitHub Actions / Build Generals / win32+t+e

'=': conversion from 'time_t' to 'int', possible loss of data

Check warning on line 669 in Core/Libraries/Source/WWVegas/WWDownload/FTP.CPP

View workflow job for this annotation

GitHub Actions / Build Generals / win32-profile+t+e

'=': conversion from 'time_t' to 'int', possible loss of data

Check warning on line 669 in Core/Libraries/Source/WWVegas/WWDownload/FTP.CPP

View workflow job for this annotation

GitHub Actions / Build GeneralsMD / win32-profile+t+e

'=': conversion from 'time_t' to 'int', possible loss of data

Check warning on line 669 in Core/Libraries/Source/WWVegas/WWDownload/FTP.CPP

View workflow job for this annotation

GitHub Actions / Build GeneralsMD / win32+t+e

'=': conversion from 'time_t' to 'int', possible loss of data

if((time(NULL)-m_findStart) > 30) // try for 30 seconds
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WWDownload/ftp.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//#include "../resource.h" // main symbols

#include "winsock.h"
#include "stdio.h"
#include <Utility/stdio_adapter.h>

#include "WWDownload/ftpdefs.h"

Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/Except.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
#include <conio.h>
#include <imagehlp.h>
#include <crtdbg.h>
#include <stdio.h>

#ifdef WWDEBUG
#define DebugString WWDebug_Printf
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/RAWFILE.H
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@

// #include "win.h"

#include <stdio.h>
#define NULL_HANDLE NULL
#define HANDLE_TYPE FILE*
#include "WWFILE.H"
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WWLib/TARGA.CPP
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

#include "TARGA.H"
#ifndef TGA_USES_WWLIB_FILE_CLASSES
#include <stdio.h>
#include "WWDebug/wwdebug.h"
#endif
#include <malloc.h>
#include <memory.h>
Expand Down
1 change: 1 addition & 0 deletions Core/Libraries/Source/WWVegas/WWLib/WWCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "STLUtils.h"
#include "stringex.h"
#include <Utility/stdio_adapter.h>


// This macro serves as a general way to determine the number of elements within an array.
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/argv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@

#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ffactory.h"
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/ffactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include "RAWFILE.H"
#include "bufffile.h"
#include "realcrc.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/ini.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
#include "win.h"
#include "XPIPE.H"
#include "XSTRAW.H"
#include <Utility/stdio_adapter.h>
#include <malloc.h>
#ifdef _UNIX
#include <ctype.h>
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/rawfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
#include "always.h"
#include "RAWFILE.H"
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/strtok_r.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

#include "strtok_r.h"
#include <string.h>
#include <stdio.h>

//
// Replacement for strtok() that doesn't use a static to
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/widestring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

#include "widestring.h"
#include "win.h"
#include <Utility/stdio_adapter.h>


///////////////////////////////////////////////////////////////////
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWLib/wwstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include "wwstring.h"
#include "wwmemlog.h"
#include "mutex.h"
#include <Utility/stdio_adapter.h>


///////////////////////////////////////////////////////////////////
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWMath/matrix3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
#include <math.h>
#include <assert.h>
#include <stdlib.h>
//#include <stdio.h>
#include "vector3.h"
#include "matrix3.h"
#include "matrix4.h"
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/WWVegas/WWMath/quat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
#include "matrix4.h"
#include "wwmath.h"

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WWStub/wwdebugstub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "wwdebug.h"
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <Utility/stdio_adapter.h>

char* TheCurrentIgnoreCrashPtr = NULL;

Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/debug/debug_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "_pch.h"
#include <stringex.h>
#include <stdlib.h>
#include <Utility/stdio_adapter.h>
#include <string.h>
#include <WWCommon.h>
#include <new> // needed for placement new prototype
Expand Down
2 changes: 0 additions & 2 deletions Core/Libraries/Source/debug/debug_except.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,6 @@ static BOOL CALLBACK ExceptionDlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
return TRUE;
}

#include <stdio.h>

LONG __stdcall DebugExceptionhandler::ExceptionFilter(struct _EXCEPTION_POINTERS* pExPtrs)
{
// we should not be calling ourselves!
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/profile/profile_highlevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "stringex.h"
#include <new>
#include <WWCommon.h>
#include <Utility/stdio_adapter.h>

// our own fast critical section
static ProfileFastCS cs;
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/profile/profile_result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include <new>
#include <stdio.h>
#include <stdlib.h>
#include <Utility/stdio_adapter.h>

//////////////////////////////////////////////////////////////////////////////
// ProfileResultFileCSV
Expand Down
1 change: 0 additions & 1 deletion Core/Tools/ImagePacker/Source/ImagePacker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
///////////////////////////////////////////////////////////////////////////////

// SYSTEM INCLUDES ////////////////////////////////////////////////////////////
#include <stdio.h>
#include <io.h>
#include <assert.h>
#include <WWCommon.h>
Expand Down
2 changes: 1 addition & 1 deletion Core/Tools/ImagePacker/Source/TexturePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

// SYSTEM INCLUDES ////////////////////////////////////////////////////////////
#include <stdlib.h>
#include <stdio.h>
#include <Utility/stdio_adapter.h>

// USER INCLUDES //////////////////////////////////////////////////////////////
#include "Common/Debug.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@

// SYSTEM INCLUDES ////////////////////////////////////////////////////////////
#include <windows.h>
#include <stdio.h>
#include <WWCommon.h>

// USER INCLUDES //////////////////////////////////////////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
// SYSTEM INCLUDES ////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#include <windows.h>
#include <stdio.h>
#include <Utility/stdio_adapter.h>

// USER INCLUDES //////////////////////////////////////////////////////////////
#include "ImagePacker.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
// SYSTEM INCLUDES ////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#include <windows.h>
#include <stdio.h>
#include <Utility/stdio_adapter.h>

// USER INCLUDES //////////////////////////////////////////////////////////////
#include "ImagePacker.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

// SYSTEM INCLUDES ////////////////////////////////////////////////////////////
#include <windows.h>
#include <stdio.h>
#include <Utility/stdio_adapter.h>

// USER INCLUDES //////////////////////////////////////////////////////////////
#include "ImagePacker.h"
Expand Down
2 changes: 1 addition & 1 deletion Generals/Code/GameEngine/Include/GameClient/DebugDisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
//----------------------------------------------------------------------------

#include "Lib/BaseType.h"
#include <stdio.h>
#include <Utility/stdio_adapter.h>


//----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion Generals/Code/GameEngine/Include/GameClient/Display.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

#pragma once

#include <stdio.h>
#include "Common/SubsystemInterface.h"
#include "View.h"
#include "GameClient/Color.h"
Expand Down
1 change: 0 additions & 1 deletion Generals/Code/GameEngine/Include/GameClient/ParticleSys.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

#pragma once

#include <stdio.h>
#include "Common/AsciiString.h"
#include "Common/GameMemory.h"
#include "Common/GameType.h"
Expand Down
1 change: 0 additions & 1 deletion Generals/Code/GameEngine/Include/Precompiled/PreRTS.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ class STLSpecialAlloc;
#include <snmp.h>
#include <stdarg.h>
#include <stddef.h>
#include <Utility/stdio_adapter.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
Expand Down
1 change: 0 additions & 1 deletion Generals/Code/GameEngine/Source/Common/System/Trig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Real ASin(Real x)
}

#ifdef REGENERATE_TRIG_TABLES
#include <stdio.h>
void initTrig( void )
{
static Byte inited = FALSE;
Expand Down
1 change: 0 additions & 1 deletion Generals/Code/GameEngine/Source/Common/System/encrypt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

#include "PreRTS.h" // This must go first in EVERY cpp file int the GameEngine

#include <stdio.h>
#include <string.h>
#include "Common/encrypt.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
// SYSTEM INCLUDES ////////////////////////////////////////////////////////////
//-----------------------------------------------------------------------------
#include "PreRTS.h" // This must go first in EVERY cpp file int the GameEngine
#include <stdio.h>
//-----------------------------------------------------------------------------
// USER INCLUDES //////////////////////////////////////////////////////////////
//-----------------------------------------------------------------------------
Expand Down
Loading
Loading