Yeah, but generated code compared to MSVC/clang/gcc C code won't be impressive :)
MSVC in C mode …
vexe —
Thanks for the reply. I forgot to mention I do know about the switch that tells cl to compile my …
MSVC compiles C code without C++ features just fine. I recommend continue using MSVC. Rename file…
vexe —
Greetings!
So far in HMH we've been using C++ and disabling features we don't need by the compil…
C/C++ refactoring in text editors is unsolved problem :)
This looks like it can do variable renam…
I live in germany too (near Stuttgart) and i do programming since ~20 years.
Its a pity that i co…
vexe —
Greetings!
So I started using Emacs recently because I found for me that it's a lot more conveni…
More low-level approach would be to use raw input API. DirectInput actually uses raw input to tal…
vexe —
I'm using 0 3rd party libraries (except some C library stuff like math) at the moment in my game.…
Vivek —
Thank you for the quick reply, I was also thinking the same thing but was not sure of it, Thanks …
Structure A contains only pointer to string. When calling fwrite, it will write into file 4 or 8 …
Vivek —
Hi, I have a small doubt in C/C++ with respect to structs
1
2
3
4
5
6
7
8
9
10
11
12
13
…
Tom —
You could also use the SDL-port, as then SDL takes care of loading the correct input libraries fo…
One way is to survey what the user's hardware, firmware, and software is.
On windows, to find th…
Programming discussions directly related to episodes of Handmade Hero. All off-topic discussion …
With regards to loading OpenGL functions, I use gl3w https://github.com/skaslev/gl3w
It is very …
vexe —
Have to figure those nulls out...
This glcorearb.h seem to have the stuff I want for now (only c…
OpenGL 4.5 doc (https://www.opengl.org/registry/doc/glspec45.compatibility.pdf) says there is Get…
vexe —
Btw, I'm still catching up. Did Casey ever find a better way to handle the PDB file of the game D…
vexe —
I do support 4.5 AFAIK. Here's what the print out says after loading:
[Code]
OpenGL 4.5.13397 Co…
Those functions are from OpenGL 4.5 version. If your card doesn't support 4.5, then they will be …
vexe —
1) I didn't know that, thanks! Now that you brought this, there's actually a few functions that a…
Few comments:
1) You shouldn't do this:
1
2
3 GLModule = LoadLibrary("opengl32.dll");
gl_…
vexe —
I went with the global gl variable approach in game code that gets passed in with the platform's …
Extern'ing prototypes wouldn't work. Because when you would be linking game.dll the linker will n…
vexe —
Thanks for the reply mmozeiko! I thought about that too, does sound reasonable. I'll give it a sh…
vexe —
Maybe another approach is to expose a header file with the gl function prototypes (marked with 'e…
Make gl variable global, and assign to it at beginning of GameUpdateAndRender - same as HandamdeH…
vexe —
Greetings!
Today I implemented dynamic code reloading in my game and it was AWESOME!
I'm using …
If you can get them online, I'll share them using BitTorrent Sync. I could set up sftp server for…