|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2014-10-13. : 1:41 pm] Roy -- FaRTy1billionFaRTy1billion shouted: Can I change the CHK format specs to use byte, short, and long instead of byte, "2 byte integer", and "4 byte integer"? How about 8-bit integer, 16-bit integer, and 32-bit integer? ![]() [2014-10-13. : 12:47 pm] jjf28 -- FaRTy1billionFaRTy1billion shouted: Can I change the CHK format specs to use byte, short, and long instead of byte, "2 byte integer", and "4 byte integer"? u32/s32 master race[2014-10-13. : 6:59 am] O)FaRTy1billion[MM] -- I'm updating the thing (fixing the wiki formatting too), but I'll update the actual entry when I'm done.[2014-10-13. : 6:57 am] O)FaRTy1billion[MM] -- Can I change the CHK format specs to use byte, short, and long instead of byte, "2 byte integer", and "4 byte integer"?[2014-10-13. : 5:40 am] O)FaRTy1billion[MM] -- Physics library is cool. When you create a unit you just define a physics box/shape for it, and then call the physics update function periodically and then draw the object with the matrix returned by the physics function. xD[2014-10-13. : 5:38 am] O)FaRTy1billion[MM] -- except I got a physics library to alleviate a lot of the math requirement... I can also get a drawing library so I do even less. xD[2014-10-13. : 5:36 am] O)FaRTy1billion[MM] -- especially for lighting (which is written in GLSL and compiled at run-time by opengl)[2014-10-13. : 5:36 am] O)FaRTy1billion[MM] -- The hard part isn't the language or proramming, it's all the math xD[2014-10-13. : 5:27 am] O)FaRTy1billion[MM] -- Then I learned it's basically just a wrapper for OpenGL, so then I did it myself in C.[2014-10-13. : 5:27 am] O)FaRTy1billion[MM] -- I only used C++ because the library I was using for drawing stuff was in C++ xD[2014-10-13. : 5:26 am] O)FaRTy1billion[MM] -- the 3D game stuff I've done has been in C, the 2D stuff in C++ ![]() [2014-10-13. : 5:25 am] O)FaRTy1billion[MM] -- I played with XNA back when it was new... I prefer C/C++ over C# ![]() [2014-10-13. : 5:23 am] O)FaRTy1billion[MM] -- I think really the biggest hurdle would be drawing graphics[2014-10-13. : 5:23 am] O)FaRTy1billion[MM] -- well, you can replace 'photo' with 'unit', instead of just 'id' add like x,y coordinates, HP, etc.[2014-10-13. : 5:21 am] O)FaRTy1billion[MM] -- And now that you can program, are you going to make like a game, maybe some 3D graphics? ![]() [2014-10-13. : 5:17 am] O)FaRTy1billion[MM] -- I don't see anything, other than description isn't tested for NULL, but that shouldn't cause a problem[2014-10-13. : 5:02 am] Dem0n -- The leak occurs when I try to destroy the photo, and this tool that I'm using is saying there's a problem in that function[2014-10-13. : 4:59 am] Dem0n -- The other ones were written by my professor and they were written correctly[2014-10-13. : 4:59 am] Dem0n -- Well this is the only file I'm allowed to edit, so it's definitely in here[2014-10-13. : 4:58 am] O)FaRTy1billion[MM] -- I don't see the memory leak, so unless I'm missing something really subtle I don't think it's in this part of the file[2014-10-13. : 4:53 am] Jack -- oke I gtg do some stuff, can try again in like 2 hours if you gib zip of code[2014-10-13. : 4:52 am] l)ark_ssj9kevin -- album's just a struct with int size and Photo all_photos[] i'm guessing[2014-10-13. : 4:43 am] Jack -- puush the valgrind output that makes you think there's a memory leak?[2014-10-13. : 4:42 am] Dem0n -- but description's memory has to be dynamically allocated, so those lines do that and then check to see if malloc worked |