util.h #4

  • //
  • guest/
  • sam_stafford/
  • scenesaver/
  • util.h
  • View
  • Commits
  • Open Download .zip Download (360 B)
bool draw();
int save();

char* LoadGenes();
int RandInt( int foo );
float RandFloat();
float Angle( float dx, float dy );
void SetColor( Color c );
void SetColor21( Color c, double f );
void SetHue( double d );

#ifndef min
#define min(a,b)            (((a) < (b)) ? (a) : (b))
#endif

#ifndef max
#define max(a,b)            (((a) > (b)) ? (a) : (b))
#endif
# Change User Description Committed
#4 4449 Sam Stafford Speed lines, toggle creatures on and off.
#3 4440 Sam Stafford Bug fixes, new features, the usual.
#2 4433 Sam Stafford More work on this little project.
 The AI is still nonexistent.
#1 4430 Sam Stafford Start importing alife/AI code from Genesaver.
 Much tweaking will need
to be done.
//guest/sam_stafford/genesaver/src/util.h
#1 3354 Sam Stafford Code refactoring - split "main" functions into main.cpp (non-Windows) and winmain.cpp (Windows), with all shared code going in util.cpp.

No functional changes.