Mercurial > molko
comparison libmlk-adventure/adventure/trace_hud.c @ 298:196264679079
misc: remove usage of bool
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Mar 2021 18:49:08 +0100 |
parents | 8d41e317c07b |
children | d01e83210ca2 |
comparison
equal
deleted
inserted
replaced
297:6151152d009c | 298:196264679079 |
---|---|
113 trace_hud_clear(void) | 113 trace_hud_clear(void) |
114 { | 114 { |
115 memset(&data, 0, sizeof (data)); | 115 memset(&data, 0, sizeof (data)); |
116 } | 116 } |
117 | 117 |
118 static bool | 118 static int |
119 update(struct action *a, unsigned int ticks) | 119 update(struct action *a, unsigned int ticks) |
120 { | 120 { |
121 (void)a; | 121 (void)a; |
122 | 122 |
123 trace_hud_update(ticks); | 123 trace_hud_update(ticks); |
124 | 124 |
125 return false; | 125 return 0; |
126 } | 126 } |
127 | 127 |
128 static void | 128 static void |
129 draw(struct action *a) | 129 draw(struct action *a) |
130 { | 130 { |