Mercurial > molko
comparison librpg/rpg/map_state.c @ 168:aab824406d3d
misc: all printf-like function are name foof and vfoof
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 20 Oct 2020 15:09:39 +0200 |
parents | 629f55f3961e |
children |
comparison
equal
deleted
inserted
replaced
167:b9b826cd9832 | 168:aab824406d3d |
---|---|
336 &cache.player.ws, | 336 &cache.player.ws, |
337 PLAYER()->angle, | 337 PLAYER()->angle, |
338 PLAYER()->x - VIEW()->x, | 338 PLAYER()->x - VIEW()->x, |
339 PLAYER()->y - VIEW()->y); | 339 PLAYER()->y - VIEW()->y); |
340 | 340 |
341 debug(&report, "position: %d, %d", PLAYER()->x, | 341 debugf(&report, "position: %d, %d", PLAYER()->x, |
342 PLAYER()->y); | 342 PLAYER()->y); |
343 debug(&report, "view: %d, %d", VIEW()->x, | 343 debugf(&report, "view: %d, %d", VIEW()->x, |
344 VIEW()->y); | 344 VIEW()->y); |
345 } | 345 } |
346 | 346 |
347 struct map_state_data map_state_data; | 347 struct map_state_data map_state_data; |
348 | 348 |