I really want to make this as professional as possible, and both my parents are professional computer programmers, so they are helping me (and you in turn) to make this as much like the work of a professional as theirs (hopefully).
I know you guys don't take commenting very seriously, but you HAVE TO if you want to go anywhere in this field. Function headers are very, Very, VERY important. The header can be longer than or nearly as long as the function! Here is an example from being.cpp
/*****************************************************************
/ NAME: checkDeath
/ CLASS: being
/ AUTHOR: Brien Croft
/ DATE: 6/14/09
/ FUNCTION: Checks to see if the being is dead (their hp is less or equal to 0), and if so, calls the destructor
/ RETURNS: Boolean confirming or denying the being's death
/
/******************************************************************/
being::checkDeath()
{
if(currhp < 0)
{
~being;
return true;
}
else
{
return false;
}
}
//This code is indented correctly, but it might not display that way.
This has to be done for EVERY function. It's tedious, but it works, and it's professional. Please do this for every function you make. It might seem stupid and boring, but it will pay off in the long run. It makes compatibility so much easier!! Thanks!! You guys rock!!