Skip to content

Commit

Permalink
Rename Platform.h -> Platform.hpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Jan 17, 2016
1 parent 8e21f59 commit 47c7cd8
Show file tree
Hide file tree
Showing 33 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/Include/xrAPI/xrAPI.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRAPI_EXPORTS
#define XRAPI_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/editors/ECore/Editor/EditObjectImport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extern "C"
#ifdef _EDITOR
#include "Layers/xrRender/ResourceManager.h"

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"
extern "C" XR_IMPORT lwObject* LWOImportObject(char* filename);
extern "C" XR_IMPORT void LWOCloseFile(lwObject* object);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xrAI/factory_api.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

extern "C" {
typedef XR_IMPORT IServerEntity* __stdcall Factory_Create (LPCSTR section);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xrLC/Build.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"
#include "xrCore/FS.h"
#include "utils/Shader_xrLC.h"
struct STextureParams;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xrLCUtil/xrLCUtil.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#pragma comment(lib, "winmm.lib")
#pragma comment(lib, "comctl32.lib")

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRLCUTIL_EXPORTS
#define XRLCUTIL_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xrLC_Light/xrLC_Light.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"
#include "xrCore/xrCore.h"
#ifdef XRLC_LIGHT_EXPORTS
# define XRLC_LIGHT_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xrLC_Light/xrLight_Implicit.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stdafx.h"

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#include "xrlight_implicit.h"
#include "xrLight_ImplicitDeflector.h"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xrLC_LightStab/xrLC_LightStab.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRLC_LIGHT_STAB_EXPORTS
# define XRLC_LIGHT_STUB_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrAICore/xrAICore.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRAICORE_EXPORTS
#define XRAICORE_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrCDB/ISpatial.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define XRENGINE_ISPATIAL_H_INCLUDED

//#pragma once
#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"
#include "xrCore/xrPool.h"
#include "xr_collide_defs.h"

Expand Down
2 changes: 1 addition & 1 deletion src/xrCDB/xrCDB.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef XRCDB_H
#define XRCDB_H

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

//#pragma once
// The following ifdef block is the standard way of creating macros which make exporting
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/FS_impl.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FS_IMPL_H_INCLUDED
#define FS_IMPL_H_INCLUDED

#include "Platform.h"
#include "Platform.hpp"

// 1: default
// 1.5: check next chunk first heuristics
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/xrCore/_vector3d.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef __V3D__
#define __V3D__

#include "Platform.h"
#include "Platform.hpp"

template <class T>
struct _vector3
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/_vector4.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _VECTOR4_H
#pragma once

#include "Platform.h"
#include "Platform.hpp"

template <class T>
struct _vector4
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#pragma warning (disable:4661)

#include "xrCore.h"
#include "Platform.h"
#include "Platform.hpp"
#include "Common/Util.hpp"
//.#include "Include/xrAPI/xrAPI.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/xrCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#define XRAY_EXCEPTIONS 1
#endif

#include "Platform.h"
#include "Platform.hpp"

#include <stdio.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/xrCore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
<ClInclude Include="vector.h" />
<ClInclude Include="xrCore.h" />
<ClInclude Include="ModuleLookup.hpp" />
<ClInclude Include="Platform.h" />
<ClInclude Include="Platform.hpp" />
<ClInclude Include="xrDebug.h" />
<ClInclude Include="xrDebug_macros.h" />
<ClInclude Include="xrMemory.h" />
Expand Down
6 changes: 3 additions & 3 deletions src/xrCore/xrCore.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,6 @@
<ClInclude Include="ModuleLookup.hpp">
<Filter>Kernel</Filter>
</ClInclude>
<ClInclude Include="Platform.h">
<Filter>Kernel</Filter>
</ClInclude>
<ClInclude Include="_bitwise.h">
<Filter>Math</Filter>
</ClInclude>
Expand Down Expand Up @@ -776,6 +773,9 @@
<ClInclude Include="..\Common\Noncopyable.hpp">
<Filter>Common</Filter>
</ClInclude>
<ClInclude Include="Platform.hpp">
<Filter>Kernel</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="xrCore.rc">
Expand Down
2 changes: 1 addition & 1 deletion src/xrD3D9-Null/xrD3D9-Null.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <d3d9caps.h>
#include "IDirect3D9.h"

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRD3D9NULL_EXPORTS
#define XRD3D9NULL_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrEngine/Engine.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

// you must define ENGINE_BUILD then building the engine itself
// and not define it if you are about to build DLL
Expand Down
2 changes: 1 addition & 1 deletion src/xrEngine/psystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define PSystemH
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XR_PARTICLES_EXPORTS
#define PARTICLES_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrGameSpy/xrGameSpy.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the XRGAMESPY_EXPORTS
Expand Down
2 changes: 1 addition & 1 deletion src/xrGameSpy/xrGameSpy_MainDefs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#define QRCDKEY_INTEGRATION
#define SB_ICMP_SUPPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrNetServer/NET_Shared.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XR_NETSERVER_EXPORTS
#define XRNETSERVER_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrParticles/psystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define PSystemH
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XR_PARTICLES_EXPORTS
#define PARTICLES_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/xrPhysics.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRPHYSICS_EXPORTS
#define XRPHYSICS_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrScriptEngine/LuaStudio/Backend/Interfaces.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#include "xrScriptEngine/LuaStudio/Config.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/xrScriptEngine/script_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "script_engine.hpp"
#include "Include/xrAPI/xrAPI.h"

// #include "xrCore/Platform.h"
// #include "xrCore/Platform.hpp"

#ifdef USE_DEBUGGER
#ifndef USE_LUA_STUDIO
Expand Down
2 changes: 1 addition & 1 deletion src/xrScriptEngine/xrScriptEngine.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRSCRIPTENGINE_EXPORTS
#define XRSCRIPTENGINE_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrServerEntities/xrEProps.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef xrEPropsH
#define xrEPropsH

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XR_EPROPS_EXPORTS
#define XR_EPROPS_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrSound/Sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define SoundH
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRSOUND_EXPORTS
#define XRSOUND_API XR_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/xrXMLParser/xrXMLParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define xrXMLParserH
#pragma once

#include "xrCore/Platform.h"
#include "xrCore/Platform.hpp"

#ifdef XRXMLPARSER_EXPORTS
#define XRXMLPARSER_API XR_EXPORT
Expand Down

0 comments on commit 47c7cd8

Please sign in to comment.