diff options
| author | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-13 00:11:31 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-13 00:11:31 +0200 |
| commit | 5f1fb7e7684310ebfe27467a15af132c709eaeb4 (patch) | |
| tree | 3f18105cb1f616f1b783175e5c10bcab5e0ed630 | |
| parent | 2b760eea998034ae06b2f285273a343d2a5de0bc (diff) | |
Move config object to config.c
| -rw-r--r-- | config.c | 4 | ||||
| -rw-r--r-- | main-sdl.c | 3 |
2 files changed, 4 insertions, 3 deletions
| @@ -92,6 +92,10 @@ static keyword keywords[] = { | |||
| 92 | }; | 92 | }; |
| 93 | 93 | ||
| 94 | static int g_current_string; | 94 | static int g_current_string; |
| 95 | StringConfig | ||
| 96 | g_string_conf[MAX_LINECOUNT]; | ||
| 97 | int g_string_count; | ||
| 98 | |||
| 95 | 99 | ||
| 96 | static int | 100 | static int |
| 97 | config_findkeyword(char **line) | 101 | config_findkeyword(char **line) |
| @@ -24,9 +24,6 @@ | |||
| 24 | // const int g_width = 1024, g_height = 768; | 24 | // const int g_width = 1024, g_height = 768; |
| 25 | const int g_width = 800, g_height = 600; | 25 | const int g_width = 800, g_height = 600; |
| 26 | 26 | ||
| 27 | StringConfig | ||
| 28 | g_string_conf[MAX_LINECOUNT]; | ||
| 29 | int g_string_count; | ||
| 30 | int g_harfe_connected = 0; | 27 | int g_harfe_connected = 0; |
| 31 | int g_harfe_fd = -1; | 28 | int g_harfe_fd = -1; |
| 32 | 29 | ||
