summaryrefslogtreecommitdiff
path: root/apps/plugins/doom
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2006-04-05 00:20:32 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2006-04-05 00:20:32 +0000
commit4ff8744e55da1cbd6da70033dd6cdcff50d55cae (patch)
tree98cd09a20c3fa0ed0829140ae0479d20abac7123 /apps/plugins/doom
parent36259dafe9ce8f4e4d6250c93b1b5a1fbea345f6 (diff)
downloadrockbox-4ff8744e55da1cbd6da70033dd6cdcff50d55cae.tar.gz
rockbox-4ff8744e55da1cbd6da70033dd6cdcff50d55cae.zip
Fix automap coordinates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9509 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r--apps/plugins/doom/hu_stuff.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/doom/hu_stuff.c b/apps/plugins/doom/hu_stuff.c
index fd7bd0d4f4..cc240de8c1 100644
--- a/apps/plugins/doom/hu_stuff.c
+++ b/apps/plugins/doom/hu_stuff.c
@@ -768,15 +768,15 @@ void HU_Start(void)
768 768
769 // initialize the automaps coordinate widget 769 // initialize the automaps coordinate widget
770 //jff 3/3/98 split coordstr widget into 3 parts 770 //jff 3/3/98 split coordstr widget into 3 parts
771 snprintf(hud_coordstrx,sizeof(hud_coordstrx),"X: %-5d",0); //jff 2/22/98 added z 771 snprintf(hud_coordstrx,sizeof(hud_coordstrx),"X: %d",0); //jff 2/22/98 added z
772 s = hud_coordstrx; 772 s = hud_coordstrx;
773 while (*s) 773 while (*s)
774 HUlib_addCharToTextLine(&w_coordx, *(s++)); 774 HUlib_addCharToTextLine(&w_coordx, *(s++));
775 snprintf(hud_coordstry,sizeof(hud_coordstry),"Y: %-5d",0); //jff 3/3/98 split x,y,z 775 snprintf(hud_coordstry,sizeof(hud_coordstry),"Y: %d",0); //jff 3/3/98 split x,y,z
776 s = hud_coordstry; 776 s = hud_coordstry;
777 while (*s) 777 while (*s)
778 HUlib_addCharToTextLine(&w_coordy, *(s++)); 778 HUlib_addCharToTextLine(&w_coordy, *(s++));
779 snprintf(hud_coordstrz,sizeof(hud_coordstrz),"Z: %-5d",0); //jff 3/3/98 split x,y,z 779 snprintf(hud_coordstrz,sizeof(hud_coordstrz),"Z: %d",0); //jff 3/3/98 split x,y,z
780 s = hud_coordstrz; 780 s = hud_coordstrz;
781 while (*s) 781 while (*s)
782 HUlib_addCharToTextLine(&w_coordz, *(s++)); 782 HUlib_addCharToTextLine(&w_coordz, *(s++));
@@ -915,7 +915,7 @@ void HU_Drawer(void)
915 915
916 //jff 2/16/98 output new coord display 916 //jff 2/16/98 output new coord display
917 // x-coord 917 // x-coord
918 snprintf(hud_coordstrx,sizeof(hud_coordstrx),"X: %-5d", (plr->mo->x)>>FRACBITS); 918 snprintf(hud_coordstrx,sizeof(hud_coordstrx),"X: %d", (plr->mo->x)>>FRACBITS);
919 HUlib_clearTextLine(&w_coordx); 919 HUlib_clearTextLine(&w_coordx);
920 s = hud_coordstrx; 920 s = hud_coordstrx;
921 while (*s) 921 while (*s)
@@ -924,7 +924,7 @@ void HU_Drawer(void)
924 924
925 //jff 3/3/98 split coord display into x,y,z lines 925 //jff 3/3/98 split coord display into x,y,z lines
926 // y-coord 926 // y-coord
927 snprintf(hud_coordstry,sizeof(hud_coordstry),"Y: %-5d", (plr->mo->y)>>FRACBITS); 927 snprintf(hud_coordstry,sizeof(hud_coordstry),"Y: %d", (plr->mo->y)>>FRACBITS);
928 HUlib_clearTextLine(&w_coordy); 928 HUlib_clearTextLine(&w_coordy);
929 s = hud_coordstry; 929 s = hud_coordstry;
930 while (*s) 930 while (*s)
@@ -934,7 +934,7 @@ void HU_Drawer(void)
934 //jff 3/3/98 split coord display into x,y,z lines 934 //jff 3/3/98 split coord display into x,y,z lines
935 //jff 2/22/98 added z 935 //jff 2/22/98 added z
936 // z-coord 936 // z-coord
937 snprintf(hud_coordstrz,sizeof(hud_coordstrz),"Z: %-5d", (plr->mo->z)>>FRACBITS); 937 snprintf(hud_coordstrz,sizeof(hud_coordstrz),"Z: %d", (plr->mo->z)>>FRACBITS);
938 HUlib_clearTextLine(&w_coordz); 938 HUlib_clearTextLine(&w_coordz);
939 s = hud_coordstrz; 939 s = hud_coordstrz;
940 while (*s) 940 while (*s)