View Single Post
Old 8th December 2007, 12:05 PM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default Re: accessing preferences

To access existing settings:

Code:
 
Prototype int ac_prefs_get_int(char *name);
Prototype Boolean ac_prefs_get_boolean(char *name);
Prototype double ac_prefs_get_double(char *name);
Prototype int ac_prefs_get_hex(char *name);
Prototype char *ac_prefs_get_string(char *name);
If you want to add your own settings that are saved with the AC3D prefs, it's more complicated but possible.
Andy is offline   Reply With Quote