Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 22 Jan 2003
Offline Last Active Nov 26 2014 01:37 AM

Posts I've Made

In Topic: Funniest line of code ever ?

17 July 2014 - 03:11 AM

I've seen things....:

return STATUS_ERROR;  //This returns the status error

Anyway, if i look at 5+ year old code of mine i still would laugh out loud many many times. ;)

In Topic: How to write a undertemined size array to a txt file?

23 October 2013 - 05:21 AM

This is just bad, bad code design. You should seriously consider a rework of your game structure.

It's pretty pointless to store anything in a "i dont know exactly how many items i need to store" matter.


Sure, the example code above will work, even if you'd need a variable which has the number of elements to read, also stored in your file.

If you really want to continue with your approach, check out the previously mentioned JSON format, even XML will do. 


If you continue in that hackish way, you'll be very frustraed at some point and you'll end up throwing your project away.

In Topic: Component based system

27 September 2013 - 06:50 AM

I found this one pretty well designed:




best regards

In Topic: Windows.h has just dissappeared!?

26 August 2013 - 05:27 AM

Hasnt all of this been moved into the Windows SDK?



Search for it, either Windows 7 or Windows 8 SDK's available.

download and install it, maybe it's something like that.


best regards

In Topic: Optimizing entity rendering?

28 March 2013 - 01:54 AM



Little bit off-topic, sorry about that, but where did you get your "Component" system ideas from?  Is that from a specific framework?


best regards