Long story short, making my clean-up to get close to Casys code I can´t build any more since I removed all typedef from myhandmadegame.h and put then all in the Win32 platform layer.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 | #include <math.h>
#include <stdint.h>
#define internal static
#define local_persist static
#define global_variable static
#define Pi32 3.14159265359f
typedef int8_t int8;
typedef int16_t int16;
typedef int32_t int32;
typedef int64_t int64;
typedef int32 bool32;
typedef uint8_t uint8;
typedef uint16_t uint16;
typedef uint32_t uint32;
typedef uint64_t uint64;
typedef float real32;
typedef double real64;
|
All of the above used to be in the general.h which was included in all .cpp files.
I saw that in his code he only define them in the platform layer.
What am I missing?
Edited...
Well, I fixed it putting
| #include<windows.h>
//before
#include<handmade.cpp>
|
However, that is not how the original code is layed out.