Changed standard C lib includes to C++ format

actorid
guidoj 12 years ago
parent 0549e949ba
commit a021165d9f

@ -11,7 +11,7 @@
// For OutputDebugString
#include <Windows.h>
// makes __argc and __argv available on windows
#include <stdlib.h>
#include <cstdlib>
#endif

@ -24,8 +24,8 @@
#include "bsa_file.hpp"
#include <stdexcept>
#include <stdlib.h>
#include <assert.h>
#include <cstdlib>
#include <cassert>
#include <OgreDataStream.h>

@ -13,8 +13,8 @@
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <string.h>
#ifndef FIX_UNUSED

@ -13,7 +13,7 @@
#include "config.h"
#endif
#include <stdio.h> /* for FILE */
#include <cstdio> /* for FILE */
#ifdef __cplusplus
extern "C" {

@ -7,7 +7,7 @@
#include <vector>
#include <algorithm>
#include <cctype>
#include <assert.h>
#include <cassert>
#include <stdexcept>
#include <iterator>
#include <boost/algorithm/string.hpp>

@ -1,4 +1,4 @@
#include <assert.h>
#include <cassert>
#include "../stringops.hpp"

@ -23,7 +23,7 @@ http://www.gnu.org/licenses/ .
#include "bullet_nif_loader.hpp"
#include <Ogre.h>
#include <stdio.h>
#include <cstdio>
#include "../nif/nif_file.hpp"
#include "../nif/node.hpp"

@ -8,7 +8,7 @@
#include "heightmap.hpp"
#include "land_factory.hpp"
#include <vector>
#include <assert.h>
#include <cassert>
namespace Terrain
{

@ -28,7 +28,7 @@
terrains of the same size, once instance can usually be shared.
*/
#include <assert.h>
#include <cassert>
namespace Terrain
{

@ -5,7 +5,7 @@
using namespace std;
#include <iconv.h>
#include <assert.h>
#include <cassert>
void tab() { cout << " "; }

@ -1,7 +1,7 @@
#include "to_utf8.hpp"
#include <vector>
#include <assert.h>
#include <cassert>
/* This file contains the code to translate from WINDOWS-1252 (native
charset used in English version of Morrowind) to UTF-8. The library

@ -1,6 +1,6 @@
#include "ois_driver.hpp"
#include <assert.h>
#include <cassert>
#include <sstream>
#include <OgreRenderWindow.h>
#include <OIS/OIS.h>

@ -3,7 +3,7 @@
#include <SDL.h>
#include <SDL_image.h>
#include <stdexcept>
#include <assert.h>
#include <cassert>
using namespace Mangle::Rend2D;

@ -4,7 +4,7 @@
#include <SDL_image.h>
#include <SDL_opengl.h>
#include <stdexcept>
#include <assert.h>
#include <cassert>
using namespace Mangle::Rend2D;

@ -1,6 +1,6 @@
#include <MyGUI.h>
#include <OIS/OIS.h>
#include <assert.h>
#include <cassert>
#include "events.hpp"

@ -1,6 +1,6 @@
#include <MyGUI.h>
#include <MyGUI_OgrePlatform.h>
#include <assert.h>
#include <cassert>
#include "manager.hpp"

@ -3,7 +3,7 @@
#include <set>
#include <map>
#include <assert.h>
#include <cassert>
namespace OEngine {
namespace Input {

@ -4,7 +4,7 @@
#include <string>
#include <vector>
#include <boost/function.hpp>
#include <assert.h>
#include <cassert>
namespace OEngine {
namespace Input {

@ -1,7 +1,7 @@
#ifndef MISC_LIST_H
#define MISC_LIST_H
#include <assert.h>
#include <cassert>
namespace Misc{

@ -9,7 +9,7 @@
#include "OgreTexture.h"
#include "OgreHardwarePixelBuffer.h"
#include <assert.h>
#include <cassert>
#include <stdexcept>
using namespace Ogre;

Loading…
Cancel
Save