-
Notifications
You must be signed in to change notification settings - Fork 0
Client Configuration
Most of the configuration for the client can be done by editing the settings.h file (located at 'client/headers/settings.h'). The actual settings are represented as #define statements like the following:
#define DEBUG
Some settings are toggle-able so you can toggle them by uncommenting them/commenting them out like so:
Toggle Off:
//#define DEBUG
Toggle On:
#define DEBUG
Now that the basics are out of the way lets look at the actual settings.
NOTE: By default SSC is configured to work well, changing these settings will change SSC. It is recommended to backup the settings.h file before changing anything.
//#define DEBUG
Uncommenting this will result in alot of debug information being printed to STDOUT, useful for developing but unneccessary for actual builds. By default it is commented out.
#define SSC_UPDATE_THREAD
This is a toggle-able setting. If defined, SSC will spawn an update thread to retrieve new messsages from the server. If commented out, the function ssc_cli_msg_upd() in headers/cli.c will do the updates at a set interval. By default it is defined.
#define SSC_UPDATE_INTERVAL 1000
This setting is only applicable if SSC_UPDATE_THREAD is defined. It defines the interval between updates in ms. The larger this number, the longer it takes to update. A recommeneded value is 1000ms (1s).
#define SSC_GUI
This setting enables you to choose between a gui&cli when starting ssc. If commented out, ssc will start into the cli directly