From f04031d725e58a096d52e887ada224f204cecaa6 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 1 Oct 2015 16:54:19 -0500 Subject: [PATCH] tiku... i cannot make an fps system >< --- 16.exe | Bin 54520 -> 54520 bytes 16.map | 2 +- bakapi.map | 4 +- exmmtest.exe | Bin 51456 -> 51456 bytes exmmtest.map | 2 +- fmemtest.map | 2 +- fontgfx.map | 4 +- maptest.map | 2 +- palettec.map | 2 +- pcxtest.map | 4 +- pcxtest2.map | 2 +- scroll.exe | Bin 77238 -> 77334 bytes scroll.map | 381 +++++++++++++++++++++++---------------------- src/lib/16_head.h | 9 +- src/lib/scroll16.c | 10 +- src/scroll.c | 3 +- test.map | 2 +- test2.map | 2 +- vgmtest.map | 2 +- 19 files changed, 220 insertions(+), 213 deletions(-) diff --git a/16.exe b/16.exe index 57d16a97233fc7cf6596392c52634d42c27386d0..ac1463f7a5b2df39a03b64a3b4e6ca85bf051884 100755 GIT binary patch delta 70 zcmV-M0J;D8sRQ__1F$Oy6i;JxARsXyGB7bUATc&NH8DCfIg=^~Ws{@`YXL-)5DAqI cQ~*#8=ynp2gTw?5xGR&h326a9vmFZC$^bbQS^xk5 delta 70 zcmV-M0J;D8sRQ__1F$OylRyY$6i;JxARsXyGB7bUATc&NGB`RkFq5MQYymHm5DAqI cKLAh;=ynp2gTw?5xQ~;w326Z)O0PVVwh%chQa^RziAT~#xU`)mmAw%Tsd3n6uW>LL80IqaOIUxys6HxgHdqc$ zgEDXfJOq9EsyGeMgESz3J>Yv#4juwqe-+magn?KvAFKcyz#&isQUX-mT0lTChzeA3 z2f+D2RX?rZQI0TmUK!@NA zI0tS64{sIs8*uZ%B*1Jyz;B>~uZr^oo9!9T%juoGMbzk|-bp&k$cGQnnW6x;)>9|QwEK{!|g%0Mmn12|$I7y^+j z>ZEa40zLpMz$)-D$O1XwQ?ME2g3rNjum|h|2f+~#R>Ls6z!6XiYCsVSA!I7f9fSiN zcpIbvTN~J-4fNj^FU!Cu;4rud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P;BVF0$!|Bn> za?KEfqA-6X3BK#=C6=!5P-;2(51^%iaVfNb9*^xigc)@AbOde_Vw}Mp+){+x8zZn~ zA~fOqNHdjjCInx9H-P<)e0P`r;{>#!K_!XE8u|pk9rrT!cMuDoNk-7vpKlv+lM{?= zVJ-U5Hh71iwHV^)XN8Nyd37_s!SGF6ao9kJYd(F4hPa3PGnAT0QA6bLPq*%NXEM7TUikVGx zkv^fnKj19=$~PkMOVs`Fv10rELupmmRP3-q${{@A(lS)+;Z?Rh))GeJ|5n=`XG2a{ zRNQbspMF=){&O!r?e%HiN`IIsfAn06N9l{t=*Qt1W_;Q$=FJ09Z%Y}=;>VT!jV!yK z{`sygyBZI(EnA4(!cJ@=T5P#y$Kq#!{f<($1YcmcRLWQ$kI9bgDdYyq*&FT_!p9SYTW(y zck^fabk==R#xUyv{Vy8-s);fVi~;dr6c_>Gz)&y*#DK{l1*C)ab_%?+pbu~YGVlU@ zJKz}r+<*&sioD0*ZW;d76m6^oau5P~fu5i{=mva&4;Tcdf%d`Z^BFoZgHXInK{)UL zUSKMi0+K+-Hh+EB{ZEDey==C%vlKit0M*Pa(5{6Uc>n7F|I6RH|7(N)=lZ(8OZywt zSpl{I4M+g*fK}iQxCyR-%b*U_fYaavs0Kd)BlrRA0`tLiupCT)@So$^3?lKKS;qJ= eHh5Wrj8d=%Xr~Vgclock=*hwclockw; + t=(((*hwclockw)-gv->clock_start) /18.2); //if(elapsed_timer(gv) >= (1.0 / gv->frames_per_second)) //{ - pee = malloc(sizeof(double)); -//++++ sprintf(pee, "%f", ((*gv->clock) /18.2)); -//++++ modexprint(page, x, y, type, col, bgcol, pee); + pee = _fmalloc(sizeof(float)); + //sprintf(pee, "%f", gv->tiku/t); + modexprint(page, x, y, type, col, bgcol, pee); //sprintf(pee, "%f", *gv->tiku/\*time_in_seconds(gv)); //modexprint(page, x, y+8, type, col, bgcol, pee); //} + (gv->clock_start)=*hwclockw; } void near animatePlayer(map_view_t *pip, player_t *player, word playnum, sword scrollswitch) diff --git a/src/scroll.c b/src/scroll.c index bd103534..94a12eda 100755 --- a/src/scroll.c +++ b/src/scroll.c @@ -36,6 +36,7 @@ page_t screen, screen2, screen3; map_view_t mv[3]; map_view_t *bg, *spri, *mask;//, *tmp; planar_buf_t *p; +float t; void main() { @@ -56,7 +57,7 @@ void main() player[0].persist_aniframe=0; player[0].speed=4; - gvar.clock=*hwclockw; + gvar.clock_start=*hwclockw; //0000printf("starting timer\n"); //++++ //++++????start_timer(&gvar); diff --git a/test.map b/test.map index 2deaaf4b..995738c4 100755 --- a/test.map +++ b/test.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/10/01 16:30:22 +Created on: 15/10/01 16:51:53 Executable Image: test.exe creating a DOS executable diff --git a/test2.map b/test2.map index 0b2d362d..564d97ff 100755 --- a/test2.map +++ b/test2.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/10/01 16:30:22 +Created on: 15/10/01 16:51:53 Executable Image: test2.exe creating a DOS executable diff --git a/vgmtest.map b/vgmtest.map index 76da8bd8..8b40a183 100755 --- a/vgmtest.map +++ b/vgmtest.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/10/01 16:30:23 +Created on: 15/10/01 16:53:26 Executable Image: vgmtest.exe creating a DOS executable -- 2.39.5