K_Freddie
04-04-2007, 05:05 PM
I been around the block few times and these are definite practices to abide by.....
-Keep all your global constants/variables in a seperate file - make sure you give meaningfull comments to them.
-Within each module make sure you INITIALISE each variable to a known state (trust me - you don't do this http://forums.ubi.com/groupee_common/emoticons/icon_wink.gif )
-Make sure that there is a global INITIALISE proc to do the above!!
-Within each module make sure that when the module is exited by the user that it either .. re-initialises, or keeps it's current state. This running in conjunction with the Real-Time Engine..
-When doing FILE OPERATIONS make sure that you write/check the file integrity, as well as loading 'saved game' integrities.
Essentially you must have a 'real-time' (PC) clock that all abides by. Although it is possible to introduce psuedo-RTime.
There are many other facets of the Windoze OS SDK that you have ignored/still learning, but this doesn't surprise me as the team is newish, and this is learning curve. For further in depth info Google "Masm32", and related stuff.
http://forums.ubi.com/groupee_common/emoticons/icon_cool.gif
NB:0 yes ..You probably coded th whole lot in C++ and higher scripting - this is why you have problems.. Not preaching, but doing it in a precise manner, like Masm forces you to === No BUGS http://forums.ubi.com/images/smilies/16x16_smiley-wink.gif
-Keep all your global constants/variables in a seperate file - make sure you give meaningfull comments to them.
-Within each module make sure you INITIALISE each variable to a known state (trust me - you don't do this http://forums.ubi.com/groupee_common/emoticons/icon_wink.gif )
-Make sure that there is a global INITIALISE proc to do the above!!
-Within each module make sure that when the module is exited by the user that it either .. re-initialises, or keeps it's current state. This running in conjunction with the Real-Time Engine..
-When doing FILE OPERATIONS make sure that you write/check the file integrity, as well as loading 'saved game' integrities.
Essentially you must have a 'real-time' (PC) clock that all abides by. Although it is possible to introduce psuedo-RTime.
There are many other facets of the Windoze OS SDK that you have ignored/still learning, but this doesn't surprise me as the team is newish, and this is learning curve. For further in depth info Google "Masm32", and related stuff.
http://forums.ubi.com/groupee_common/emoticons/icon_cool.gif
NB:0 yes ..You probably coded th whole lot in C++ and higher scripting - this is why you have problems.. Not preaching, but doing it in a precise manner, like Masm forces you to === No BUGS http://forums.ubi.com/images/smilies/16x16_smiley-wink.gif