diff options
| author | Felix Wallin <nibbler.v1@gmail.com> | 2010-09-03 14:05:09 (GMT) |
|---|---|---|
| committer | Felix Wallin <nibbler.v1@gmail.com> | 2010-09-03 14:05:09 (GMT) |
| commit | 5b5a80c0af4d66c9a247366fe6aedb34b277b67b (patch) | |
| tree | 63fb031cae7d73b0662c1b810bb2ec0b569a178c /main.c | |
| parent | aba3109f6f70aeff6353869f53aa9a9876adcc36 (diff) | |
| download | powder-5b5a80c0af4d66c9a247366fe6aedb34b277b67b.zip powder-5b5a80c0af4d66c9a247366fe6aedb34b277b67b.tar.gz | |
Added todo, const correctness.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -50,7 +50,7 @@ #include "air.h" #include "icon.h" -char *it_msg = +static const char *it_msg = "\brThe Powder Toy\n" "\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\x7F\n" "\n" @@ -90,9 +90,9 @@ typedef struct } upstruc; #ifdef BETA -char *old_ver_msg_beta = "A new beta is available - click here!"; +static const char *old_ver_msg_beta = "A new beta is available - click here!"; #endif -char *old_ver_msg = "A new version is available - click here!"; +static const char *old_ver_msg = "A new version is available - click here!"; float mheat = 0.0f; int do_open = 0; @@ -130,7 +130,7 @@ int core_count() return numCPU; } -int mousex, mousey = 0; //They contain mouse position +int mousex = 0, mousey = 0; //They contain mouse position void sdl_seticon(void) { @@ -964,7 +964,7 @@ int main(int argc, char *argv[]) #ifdef MT numCores = core_count(); #endif - +//TODO: Move out version stuff #ifdef BETA if(is_beta) { |
