1 /*************************************************************************** 2 usmisc.h - Misc utility functions 3 ------------------- 4 begin : wo feb 2 2005 5 copyright : (C) 2005 by CJP 6 email : cornware-cjp@users.sourceforge.net 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 #ifndef USMISC_H 18 #define USMISC_H 19 20 #ifdef HAVE_CONFIG_H 21 #include <config.h> 22 #endif 23 24 #include <vector> 25 namespace std {} 26 using namespace std; 27 28 #include "cstring.h" 29 30 /* 31 this should be the start of all Ultimate Stunts 32 programs. It finds and loads the configuration file, 33 sets the datadir up, and initialises internationalisation. 34 */ 35 void shared_main(int argc, char *argv[]); 36 37 /* 38 Call whenever changes to the configuration options are made 39 */ 40 void update_shared_configuration(); 41 42 bool inDevelopmentTree(); 43 44 vector<CString> getCredits(); 45 46 #endif 47 48