Impressive work! Good job!
Interesting to see the openGL DLLCalls.
I'd like to see more comments explaining what each part of the script does in detail. I recently read that the pinball game that was included with Windows was scrapped because it was made by an independent contractor that did not comment the code. Instead of taking the time to figure out what everything did to fix a bug, Microsoft just decided to abandon the whole thing.
I would be interested to read the documentation for the DLLCalls you use. If you have the links, including them in the comments would be a nice touch. I know I can just do a search for them, but I'm lazy
I just commented and indented the no-draw-4-player edition and have uploaded it to dropbox, though there is a little part of the script at the end I did not get to.
Anyway, here is a list of OpenGL functions: http://msdn.microsoft.com/en-us/library ... s.85).aspx
Just put "opengl32\" before the function name in the DllCall.
If you're looking for enumerations of the values in the opengl functions from link above, I think they are here:https://cvs.khronos.org/svn/repos/ogl/t ... ic/api/GL/
You may want to mention that this script should be run with a 32 bit version of AHK.
I didn't know that. Why should it be run with a 32 bit version?
It would be easier to read if the indenting was consistent and the commented-out code was removed.
I fixed up the no draw 4 player script.
I wouldn't have put this script in the gaming forum. I think the gaming forum is for scripts that alter or augment an existing game (usually cheating). Since you created your own game the regular Scripts forum may be more appropriate. I believe other games created in AHK have done this in the past.
Ok, I didn't know that. A forum administrator can move this topic if they want.
I only commented and indented the no draw 4 player script, but I hope that's enough. Next time, I'm using 2 spaces to indent and not four.
Hope it helps