Changeset 0292fbb in buchla-68k
- Timestamp:
- 07/09/2017 01:50:39 PM (7 years ago)
- Branches:
- master
- Children:
- 7258c6a
- Parents:
- 5c13d64
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/wdfield.c
r5c13d64 r0292fbb 25 25 #define WCROUND 16384L 26 26 27 extern short select(), whatbox(), nokey(), stdctp1(); 28 extern short cxkstd(), cykstd(), stdmkey(), stddkey(); 29 30 extern short et_null(), ef_null(), rd_null(), nd_null(); 31 extern short et_wavs(), ef_wavs(), rd_wavs(), nd_wavs(); 32 extern short et_wvce(), ef_wvce(), rd_wvce(), nd_wvce(); 33 extern short et_wslt(), ef_wslt(), rd_wslt(), nd_wslt(); 34 extern short et_wpnt(), ef_wpnt(), rd_wpnt(), nd_wpnt(); 35 extern short et_woff(), ef_woff(), rd_woff(), nd_woff(); 36 extern short et_whar(), ef_whar(), rd_whar(), nd_whar(); 37 extern short et_whrv(), ef_whrv(), rd_whrv(), nd_whrv(); 38 39 extern short vcputsv(); 40 41 extern char *memset(); 27 extern void select(void); 28 extern short whatbox(void); 29 extern void nokey(void); 30 extern short nonf(short k); 31 extern short stdctp1(void); 32 extern void cxkstd(void); 33 extern void cykstd(void); 34 extern void stdmkey(void); 35 extern void stddkey(short k); 36 37 extern short et_null(short n); 38 extern short ef_null(short n); 39 extern short rd_null(short n); 40 extern short nd_null(short n, short k); 41 extern short et_wavs(short n); 42 extern short ef_wavs(short n); 43 extern short rd_wavs(short n); 44 extern short nd_wavs(short n, short k); 45 extern short et_wvce(short n); 46 extern short ef_wvce(short n); 47 extern short rd_wvce(short n); 48 extern short nd_wvce(short n, short k); 49 extern short et_wslt(short n); 50 extern short ef_wslt(short n); 51 extern short rd_wslt(short n); 52 extern short nd_wslt(short n, short k); 53 extern short et_wpnt(short n); 54 extern short ef_wpnt(short n); 55 extern short rd_wpnt(short n); 56 extern short nd_wpnt(short n, short k); 57 extern short et_woff(short n); 58 extern short ef_woff(short n); 59 extern short rd_woff(short n); 60 extern short nd_woff(short n, short k); 61 extern short et_whar(short n); 62 extern short ef_whar(short n); 63 extern short rd_whar(short n); 64 extern short nd_whar(short n, short k); 65 extern short et_whrv(short n); 66 extern short ef_whrv(short n); 67 extern short rd_whrv(short n); 68 extern short nd_whrv(short n, short k); 69 70 extern void vcputsv(int *obase, int nw, int fg, int bg, int row, int col, char *str, int pitch); 71 72 extern void *memset(void *vp, char c, int n); 42 73 43 74 /* … … 95 126 /* forward references */ 96 127 97 short wdxkey(), wdnfld(), wdcxupd(), wdcyupd(), wdykup(), wdykdn(); 128 void wdxkey(void); 129 short wdnfld(short k); 130 void wdcxupd(void); 131 void wdcyupd(void); 132 void wdykup(void); 133 void wdykdn(void); 98 134 99 135 /* … … 192 228 */ 193 229 194 void updfpu( )230 void updfpu(void) 195 231 { 196 232 register short i; … … 232 268 */ 233 269 234 void wsupd( )270 void wsupd(void) 235 271 { 236 272 register short i; … … 265 301 */ 266 302 267 void whupd( )303 void whupd(void) 268 304 { 269 305 register short i; … … 291 327 */ 292 328 293 void pntsup( )329 void pntsup(void) 294 330 { 295 331 register struct instdef *ip; … … 367 403 */ 368 404 369 void wdintp( )405 void wdintp(void) 370 406 { 371 407 register struct instdef *ip; … … 419 455 */ 420 456 421 short 422 wdykdn() 457 void wdykdn(void) 423 458 { 424 459 if (wpntsv EQ 0) … … 435 470 */ 436 471 437 short 438 wdykup() 472 void wdykup(void) 439 473 { 440 474 if ((wpntsv EQ 0) OR (wdupdfl EQ FALSE)) … … 472 506 */ 473 507 474 short 475 wdcyupd() 508 void wdcyupd(void) 476 509 { 477 510 register struct instdef *ip; … … 588 621 */ 589 622 590 short 591 wdcxupd() 623 void wdcxupd(void) 592 624 { 593 625 switch (wpntsv) { … … 637 669 */ 638 670 639 short 640 wdnfld(k) 641 short k; 671 short wdnfld(short k) 642 672 { 643 673 register short *hv; … … 795 825 */ 796 826 797 short 798 wdxkey() 827 void wdxkey(void) 799 828 { 800 829 if (NOT astat) 801 return (FAILURE);830 return; /* FAILURE */ 802 831 803 832 stcrow = cyval / 14; … … 829 858 } else { 830 859 831 return (FAILURE);860 return; /* FAILURE */ 832 861 } 833 862 834 863 wsnmod[curvce][curwslt] = TRUE; 835 864 wwins(); 836 return (SUCCESS);865 return; /* SUCCESS */ 837 866 } 838 867 839 return (FAILURE);868 return; /* FAILURE */ 840 869 } 841 870 … … 850 879 */ 851 880 852 void wdfield( )881 void wdfield(void) 853 882 { 854 883 curslim = 307;
Note:
See TracChangeset
for help on using the changeset viewer.