diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-08 09:53:37 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-08 09:53:51 -0400 |
| commit | 9d460b1c0cb573fc56799de236a1a8dd4cc6cdc0 (patch) | |
| tree | 4b7f48bb2feb5d9484767af20b2286f264508db5 /src | |
| parent | 577a0cb815651644498ab5d955531a5a87486b68 (diff) | |
| download | fujinet-chat-9d460b1c0cb573fc56799de236a1a8dd4cc6cdc0.tar.gz | |
Move color and noclick intialization to config. 7556 bytes free.
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.h | 2 | ||||
| -rw-r--r-- | src/main.c | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/config.h b/src/config.h index ff25ea1..8470cc2 100644 --- a/src/config.h +++ b/src/config.h @@ -13,6 +13,4 @@ typedef struct { char disable_keyclick; } conf_t; -extern conf_t *conf; - #define config (*(conf_t *)0x0400) @@ -133,11 +133,6 @@ void reconnect(void) { void main(void) { bell_type = config.alert_type; /* TODO: have bell.s read staight from the struct */ OS.soundr = 0; // Turn off SIO beeping sound - OS.color2 = config.colors[0]; /* text BG, user-selected */ - OS.color1 = config.colors[1]; - OS.color0 = 0x06; /* grey for inactive */ - OS.color3 = 0x46; /* red for highlight */ - OS.noclik = config.disable_keyclick; edbox_clear(); scr_init(); |
