switched all c++ includes to c

This commit is contained in:
aap 2020-04-30 17:54:38 +02:00
parent d732817759
commit 9a57633953
60 changed files with 225 additions and 225 deletions

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,9 +1,9 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include <cmath> #include <math.h>
#include <cctype> #include <ctype.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,6 +1,6 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,4 +1,4 @@
#include <cstdio> #include <stdio.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#define WITH_D3D #define WITH_D3D
#include "../rwbase.h" #include "../rwbase.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,6 +1,6 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cassert> #include <assert.h>
#include <new> #include <new>
#include "rwbase.h" #include "rwbase.h"

View File

@ -1,4 +1,4 @@
#include <cstdio> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include "rwbase.h" #include "rwbase.h"

View File

@ -1,5 +1,5 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,8 +1,8 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include <cmath> #include <math.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,6 +1,6 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,6 +1,6 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,6 +1,6 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwplg.h" #include "rwplg.h"

View File

@ -1,9 +1,9 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include <cmath> #include <math.h>
#include <cctype> #include <ctype.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,5 +1,5 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwplg.h" #include "../rwplg.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,9 +1,9 @@
#ifdef RW_PS2 #ifdef RW_PS2
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "../rwbase.h" #include "../rwbase.h"
#include "../rwerror.h" #include "../rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,4 +1,4 @@
#include <cstdio> #include <stdio.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwplg.h" #include "rwplg.h"

View File

@ -1,7 +1,7 @@
#ifndef RW_PS2 #ifndef RW_PS2
#include <stdint.h> #include <stdint.h>
#endif #endif
#include <cmath> #include <math.h>
#ifndef M_PI #ifndef M_PI
#define M_PI 3.14159265358979323846 #define M_PI 3.14159265358979323846
#endif #endif

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,8 +1,8 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include <cmath> #include <math.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cstring> #include <string.h>
#include <cassert> #include <assert.h>
#include "rwbase.h" #include "rwbase.h"
#include "rwerror.h" #include "rwerror.h"