From 9a576339537425a005443703ca88e73ed4e6da9b Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 30 Apr 2020 17:54:38 +0200 Subject: [PATCH] switched all c++ includes to c --- src/anim.cpp | 8 ++++---- src/base.cpp | 12 ++++++------ src/bmp.cpp | 8 ++++---- src/camera.cpp | 6 +++--- src/charset.cpp | 2 +- src/clump.cpp | 8 ++++---- src/d3d/d3d.cpp | 8 ++++---- src/d3d/d3d8.cpp | 8 ++++---- src/d3d/d3d8matfx.cpp | 8 ++++---- src/d3d/d3d8render.cpp | 8 ++++---- src/d3d/d3d8skin.cpp | 8 ++++---- src/d3d/d3d9.cpp | 8 ++++---- src/d3d/d3d9matfx.cpp | 8 ++++---- src/d3d/d3d9render.cpp | 8 ++++---- src/d3d/d3d9skin.cpp | 8 ++++---- src/d3d/d3ddevice.cpp | 8 ++++---- src/d3d/d3dimmed.cpp | 8 ++++---- src/d3d/d3drender.cpp | 8 ++++---- src/d3d/xbox.cpp | 8 ++++---- src/d3d/xboxmatfx.cpp | 8 ++++---- src/d3d/xboxskin.cpp | 8 ++++---- src/d3d/xboxvfmt.cpp | 8 ++++---- src/engine.cpp | 6 +++--- src/error.cpp | 2 +- src/frame.cpp | 4 ++-- src/geometry.cpp | 10 +++++----- src/geoplg.cpp | 8 ++++---- src/gl/gl3.cpp | 8 ++++---- src/gl/gl3device.cpp | 8 ++++---- src/gl/gl3immed.cpp | 8 ++++---- src/gl/gl3matfx.cpp | 8 ++++---- src/gl/gl3pipe.cpp | 8 ++++---- src/gl/gl3raster.cpp | 8 ++++---- src/gl/gl3render.cpp | 6 +++--- src/gl/gl3shader.cpp | 6 +++--- src/gl/gl3skin.cpp | 8 ++++---- src/gl/wdgl.cpp | 8 ++++---- src/hanim.cpp | 8 ++++---- src/image.cpp | 8 ++++---- src/light.cpp | 6 +++--- src/matfx.cpp | 8 ++++---- src/pipeline.cpp | 8 ++++---- src/plg.cpp | 12 ++++++------ src/prim.cpp | 4 ++-- src/ps2/pds.cpp | 8 ++++---- src/ps2/ps2.cpp | 8 ++++---- src/ps2/ps2device.cpp | 8 ++++---- src/ps2/ps2matfx.cpp | 8 ++++---- src/ps2/ps2raster.cpp | 8 ++++---- src/ps2/ps2skin.cpp | 8 ++++---- src/raster.cpp | 8 ++++---- src/render.cpp | 2 +- src/rwbase.h | 2 +- src/skin.cpp | 8 ++++---- src/texture.cpp | 8 ++++---- src/tga.cpp | 8 ++++---- src/tristrip.cpp | 10 +++++----- src/userdata.cpp | 8 ++++---- src/uvanim.cpp | 8 ++++---- src/world.cpp | 8 ++++---- 60 files changed, 225 insertions(+), 225 deletions(-) diff --git a/src/anim.cpp b/src/anim.cpp index bbf1fa6..afdb136 100644 --- a/src/anim.cpp +++ b/src/anim.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/base.cpp b/src/base.cpp index 6630b10..fb3e35a 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -1,9 +1,9 @@ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/bmp.cpp b/src/bmp.cpp index 30906bf..fedb0e1 100644 --- a/src/bmp.cpp +++ b/src/bmp.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/camera.cpp b/src/camera.cpp index 4031e1e..eae50de 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/charset.cpp b/src/charset.cpp index f9208b3..4de449f 100644 --- a/src/charset.cpp +++ b/src/charset.cpp @@ -1,4 +1,4 @@ -#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/clump.cpp b/src/clump.cpp index 578fb26..d5cf29f 100644 --- a/src/clump.cpp +++ b/src/clump.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/d3d/d3d.cpp b/src/d3d/d3d.cpp index a052266..97a5cc4 100644 --- a/src/d3d/d3d.cpp +++ b/src/d3d/d3d.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3d8.cpp b/src/d3d/d3d8.cpp index ca2dac0..8be293a 100644 --- a/src/d3d/d3d8.cpp +++ b/src/d3d/d3d8.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3d8matfx.cpp b/src/d3d/d3d8matfx.cpp index 0fddbc4..6c210c5 100644 --- a/src/d3d/d3d8matfx.cpp +++ b/src/d3d/d3d8matfx.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/d3d/d3d8render.cpp b/src/d3d/d3d8render.cpp index c2fceda..b6ee5e3 100644 --- a/src/d3d/d3d8render.cpp +++ b/src/d3d/d3d8render.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3d8skin.cpp b/src/d3d/d3d8skin.cpp index e291751..fc697db 100644 --- a/src/d3d/d3d8skin.cpp +++ b/src/d3d/d3d8skin.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/d3d/d3d9.cpp b/src/d3d/d3d9.cpp index db101a9..9957b44 100644 --- a/src/d3d/d3d9.cpp +++ b/src/d3d/d3d9.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3d9matfx.cpp b/src/d3d/d3d9matfx.cpp index 35a4adf..2970a7f 100644 --- a/src/d3d/d3d9matfx.cpp +++ b/src/d3d/d3d9matfx.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3d9render.cpp b/src/d3d/d3d9render.cpp index e182e98..7c0c7ee 100644 --- a/src/d3d/d3d9render.cpp +++ b/src/d3d/d3d9render.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3d9skin.cpp b/src/d3d/d3d9skin.cpp index e45d68a..7a85aca 100644 --- a/src/d3d/d3d9skin.cpp +++ b/src/d3d/d3d9skin.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3ddevice.cpp b/src/d3d/d3ddevice.cpp index a16370c..476a0e2 100644 --- a/src/d3d/d3ddevice.cpp +++ b/src/d3d/d3ddevice.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3dimmed.cpp b/src/d3d/d3dimmed.cpp index db18af3..972839b 100644 --- a/src/d3d/d3dimmed.cpp +++ b/src/d3d/d3dimmed.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/d3drender.cpp b/src/d3d/d3drender.cpp index 7dfa8ec..1e2a6fa 100644 --- a/src/d3d/d3drender.cpp +++ b/src/d3d/d3drender.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #define WITH_D3D #include "../rwbase.h" diff --git a/src/d3d/xbox.cpp b/src/d3d/xbox.cpp index 34ed437..9d737bf 100644 --- a/src/d3d/xbox.cpp +++ b/src/d3d/xbox.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/d3d/xboxmatfx.cpp b/src/d3d/xboxmatfx.cpp index a4f7ad0..d65144f 100644 --- a/src/d3d/xboxmatfx.cpp +++ b/src/d3d/xboxmatfx.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/d3d/xboxskin.cpp b/src/d3d/xboxskin.cpp index a7c7203..bc1cd65 100644 --- a/src/d3d/xboxskin.cpp +++ b/src/d3d/xboxskin.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/d3d/xboxvfmt.cpp b/src/d3d/xboxvfmt.cpp index ae88539..b6569dc 100644 --- a/src/d3d/xboxvfmt.cpp +++ b/src/d3d/xboxvfmt.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/engine.cpp b/src/engine.cpp index 310c89d..b35aa26 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include #include #include "rwbase.h" diff --git a/src/error.cpp b/src/error.cpp index 889cd47..bdf4080 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include "rwbase.h" diff --git a/src/frame.cpp b/src/frame.cpp index e2c8d25..f96bf64 100644 --- a/src/frame.cpp +++ b/src/frame.cpp @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/geometry.cpp b/src/geometry.cpp index 85a917b..837b136 100644 --- a/src/geometry.cpp +++ b/src/geometry.cpp @@ -1,8 +1,8 @@ -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/geoplg.cpp b/src/geoplg.cpp index 1a976c3..0c0554b 100644 --- a/src/geoplg.cpp +++ b/src/geoplg.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/gl/gl3.cpp b/src/gl/gl3.cpp index fd7032c..7ec3f02 100644 --- a/src/gl/gl3.cpp +++ b/src/gl/gl3.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3device.cpp b/src/gl/gl3device.cpp index 10cd077..8370ed7 100644 --- a/src/gl/gl3device.cpp +++ b/src/gl/gl3device.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3immed.cpp b/src/gl/gl3immed.cpp index 8cb62d9..2f08b0e 100644 --- a/src/gl/gl3immed.cpp +++ b/src/gl/gl3immed.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3matfx.cpp b/src/gl/gl3matfx.cpp index 23af3ac..2e9049c 100644 --- a/src/gl/gl3matfx.cpp +++ b/src/gl/gl3matfx.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3pipe.cpp b/src/gl/gl3pipe.cpp index 7294483..2bda84d 100644 --- a/src/gl/gl3pipe.cpp +++ b/src/gl/gl3pipe.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3raster.cpp b/src/gl/gl3raster.cpp index 54d2e12..73d18e0 100644 --- a/src/gl/gl3raster.cpp +++ b/src/gl/gl3raster.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3render.cpp b/src/gl/gl3render.cpp index 21b32e3..8c35f18 100644 --- a/src/gl/gl3render.cpp +++ b/src/gl/gl3render.cpp @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3shader.cpp b/src/gl/gl3shader.cpp index 84d5e89..665b572 100644 --- a/src/gl/gl3shader.cpp +++ b/src/gl/gl3shader.cpp @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/gl3skin.cpp b/src/gl/gl3skin.cpp index f9c3132..8363f17 100644 --- a/src/gl/gl3skin.cpp +++ b/src/gl/gl3skin.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/gl/wdgl.cpp b/src/gl/wdgl.cpp index da76af5..550f606 100644 --- a/src/gl/wdgl.cpp +++ b/src/gl/wdgl.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/hanim.cpp b/src/hanim.cpp index 26351de..a32a066 100644 --- a/src/hanim.cpp +++ b/src/hanim.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/image.cpp b/src/image.cpp index 0e86730..5bfb505 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/light.cpp b/src/light.cpp index cfed8dc..012867f 100644 --- a/src/light.cpp +++ b/src/light.cpp @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/matfx.cpp b/src/matfx.cpp index f9c2792..3771ebf 100644 --- a/src/matfx.cpp +++ b/src/matfx.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/pipeline.cpp b/src/pipeline.cpp index 477b150..7707a35 100644 --- a/src/pipeline.cpp +++ b/src/pipeline.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwplg.h" diff --git a/src/plg.cpp b/src/plg.cpp index 1412a63..4c757c8 100644 --- a/src/plg.cpp +++ b/src/plg.cpp @@ -1,9 +1,9 @@ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/prim.cpp b/src/prim.cpp index 3735342..eb353d9 100644 --- a/src/prim.cpp +++ b/src/prim.cpp @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/ps2/pds.cpp b/src/ps2/pds.cpp index 67f4fc9..1b3faa0 100644 --- a/src/ps2/pds.cpp +++ b/src/ps2/pds.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwplg.h" diff --git a/src/ps2/ps2.cpp b/src/ps2/ps2.cpp index f76e539..5718a8f 100644 --- a/src/ps2/ps2.cpp +++ b/src/ps2/ps2.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/ps2/ps2device.cpp b/src/ps2/ps2device.cpp index 73cf0e9..98f9914 100644 --- a/src/ps2/ps2device.cpp +++ b/src/ps2/ps2device.cpp @@ -1,9 +1,9 @@ #ifdef RW_PS2 -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/ps2/ps2matfx.cpp b/src/ps2/ps2matfx.cpp index 5908974..7fcf30f 100644 --- a/src/ps2/ps2matfx.cpp +++ b/src/ps2/ps2matfx.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/ps2/ps2raster.cpp b/src/ps2/ps2raster.cpp index ce95ba0..7538d3a 100644 --- a/src/ps2/ps2raster.cpp +++ b/src/ps2/ps2raster.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/ps2/ps2skin.cpp b/src/ps2/ps2skin.cpp index 41fa65e..c1ae774 100644 --- a/src/ps2/ps2skin.cpp +++ b/src/ps2/ps2skin.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "../rwbase.h" #include "../rwerror.h" diff --git a/src/raster.cpp b/src/raster.cpp index 9dfe47a..3b2390d 100644 --- a/src/raster.cpp +++ b/src/raster.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/render.cpp b/src/render.cpp index 8d4dd6c..fef6e58 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -1,4 +1,4 @@ -#include +#include #include "rwbase.h" #include "rwplg.h" diff --git a/src/rwbase.h b/src/rwbase.h index 383a239..f28d349 100644 --- a/src/rwbase.h +++ b/src/rwbase.h @@ -1,7 +1,7 @@ #ifndef RW_PS2 #include #endif -#include +#include #ifndef M_PI #define M_PI 3.14159265358979323846 #endif diff --git a/src/skin.cpp b/src/skin.cpp index a869aa8..f600844 100644 --- a/src/skin.cpp +++ b/src/skin.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/texture.cpp b/src/texture.cpp index 4fb3dcc..a55629b 100644 --- a/src/texture.cpp +++ b/src/texture.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/tga.cpp b/src/tga.cpp index 9d66448..145a7dd 100644 --- a/src/tga.cpp +++ b/src/tga.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/tristrip.cpp b/src/tristrip.cpp index c0234ee..e71b844 100644 --- a/src/tristrip.cpp +++ b/src/tristrip.cpp @@ -1,8 +1,8 @@ -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/userdata.cpp b/src/userdata.cpp index a87224e..adadabe 100644 --- a/src/userdata.cpp +++ b/src/userdata.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/uvanim.cpp b/src/uvanim.cpp index 00fd8fd..f977f5f 100644 --- a/src/uvanim.cpp +++ b/src/uvanim.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h" diff --git a/src/world.cpp b/src/world.cpp index 9c0f1cd..447eebc 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -1,7 +1,7 @@ -#include -#include -#include -#include +#include +#include +#include +#include #include "rwbase.h" #include "rwerror.h"