home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / BSP Tree 1.2 / Sources / Core / include / config.h < prev    next >
Encoding:
Text File  |  1994-11-04  |  1.5 KB  |  33 lines  |  [TEXT/MMCC]

  1. //------------------------------------------------------------------------------
  2. //    File:                    config.h
  3. //    Date:                    11/04/94
  4. //    Author:                Bretton Wade
  5. //
  6. //    Description:    this file contains the configuration loading functions
  7. //
  8. //------------------------------------------------------------------------------
  9.  
  10. #ifndef    CONFIG
  11. #define    CONFIG
  12.  
  13. //------------------------------------------------------------------------------
  14. //    constants
  15. //------------------------------------------------------------------------------
  16. const        ResType    CONFIG_RSRC = 'conf';                                                                                        //    the type of the core configuration resource
  17.  
  18. //------------------------------------------------------------------------------
  19. //    structures
  20. //------------------------------------------------------------------------------
  21. struct    core_config                                                                                                                            //    structure defining the configuration data
  22. {                                                                                                                                                                //    begin
  23.     Boolean    reseedRandom;                                                                                                                    //    whether or not to reseed the random number generator at startup
  24.     Boolean    useTempMemory;                                                                                                                //    whether or not to use temporary memory for data
  25. };                                                                                                                                                            //    end
  26.  
  27. //------------------------------------------------------------------------------
  28. //    functions
  29. //------------------------------------------------------------------------------
  30. void    Configure (void);                                                                                                                    //    set up application parameters
  31.  
  32. //------------------------------------------------------------------------------
  33. #endif    //CONFIG