We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Mārtiņš Možeiko
Yeah, but generated code compared to MSVC/clang/gcc C code won't be impressive :) MSVC in C mode c…
»
vexe
Thanks for the reply. I forgot to mention I do know about the switch that tells cl to compile my c…
»
Mārtiņš Možeiko
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 compiler…
»
Mārtiņš Možeiko
C/C++ refactoring in text editors is unsolved problem :) This looks like it can do variable renami…
»
Finalspace
I live in germany too (near Stuttgart) and i do programming since ~20 years. Its a pity that i cou…
»
vexe
Greetings! So I started using Emacs recently because I found for me that it's a lot more convenien…
»
Mārtiņš Možeiko
More low-level approach would be to use raw input API. DirectInput actually uses raw input to talk…
»
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 f…
»
Mārtiņš Možeiko
Structure A contains only pointer to string. When calling fwrite, it will write into file 4 or 8 b…
»
Vivek
Hi, I have a small doubt in C/C++ with respect to structs struct A { char *name; }; struct B { c…
»
Tom
You could also use the SDL-port, as then SDL takes care of loading the correct input libraries for…
»
Ginger Bill
One way is to survey what the user's hardware, firmware, and software is. On windows, to find the …
»
Ginger Bill
Would it be possible and would anyone be interested to have an off-topic forum for programming/ga…
»
Ginger Bill
With regards to loading OpenGL functions, I use gl3w It is very simple to use and best of all, it…
»
vexe
Have to figure those nulls out... This glcorearb.h seem to have the stuff I want for now (only cor…
»
Mārtiņš Možeiko
OpenGL 4.5 doc () says there is GetnTexImage function. Page 297. So something is wrong on your end…
»
vexe
Btw, I'm still catching up. Did Casey ever find a better way to handle the PDB file of the game DL…
»
vexe
I do support 4.5 AFAIK. Here's what the print out says after loading: Not sure what you mean by X…
»
Mārtiņš Možeiko
Those functions are from OpenGL 4.5 version. If your card doesn't support 4.5, then they will be N…
»
vexe
I didn't know that, thanks! Now that you brought this, there's actually a few functions that are nu…
»
Mārtiņš Možeiko
Few comments: You shouldn't do this: call to FreeLibrary OS can invalidate anything you got from D…
»
vexe
I went with the global gl variable approach in game code that gets passed in with the platform's m…
»
Mārtiņš Možeiko
Extern'ing prototypes wouldn't work. Because when you would be linking game.dll the linker will no…
»
vexe
Thanks for the reply mmozeiko! I thought about that too, does sound reasonable. I'll give it a sho…
»
vexe
Maybe another approach is to expose a header file with the gl function prototypes (marked with 'ex…
»
Mārtiņš Možeiko
Make gl variable global, and assign to it at beginning of GameUpdateAndRender - same as HandamdeHe…
»
vexe
Greetings! Today I implemented dynamic code reloading in my game and it was AWESOME! I'm using Ope…
»
Mārtiņš Možeiko
If you can get them online, I'll share them using BitTorrent Sync. I could set up sftp server for …
»