Changeset 7258c6a in buchla-68k for ram/tdselbx.c
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/tdselbx.c
r0292fbb r7258c6a 15 15 16 16 extern void enterit(void); 17 extern short loc2key(short row, short col);17 extern int16_t loc2key(int16_t row, int16_t col); 18 18 extern void advtcur(void); 19 19 extern void bsptcur(void); 20 extern void vtdisp(u nsigned *obj, unsigned fg, unsigned bg, short row, short col, char*buf);20 extern void vtdisp(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf); 21 21 extern void nokey(void); 22 22 23 extern u nsigned exp_c(unsignedc);24 25 extern short hitbox, cxval, cyval, hitcx, hitcy, submenu;26 extern short tunmod, curtun, tdnamsw;27 extern short ttcmdsv, ttsel1, ttsel2, ttsel3;28 29 extern short tdbox[][8];23 extern uint16_t exp_c(uint16_t c); 24 25 extern int16_t hitbox, cxval, cyval, hitcx, hitcy, submenu; 26 extern int16_t tunmod, curtun, tdnamsw; 27 extern int16_t ttcmdsv, ttsel1, ttsel2, ttsel3; 28 29 extern int16_t tdbox[][8]; 30 30 31 31 extern struct selbox *csbp, *curboxp; 32 32 33 extern u nsigned*tunob;34 35 extern short tuntab[];36 extern short oldtun[];37 38 extern chartuncurn[];39 extern charvtlin1[], vtlin2[], vtlin3[];33 extern uint16_t *tunob; 34 35 extern int16_t tuntab[]; 36 extern int16_t oldtun[]; 37 38 extern int8_t tuncurn[]; 39 extern int8_t vtlin1[], vtlin2[], vtlin3[]; 40 40 41 41 /* forward references */ 42 42 43 short bx_null(void);44 short tdfnbox(short n);43 int16_t bx_null(void); 44 int16_t tdfnbox(int16_t n); 45 45 46 46 /* … … 88 88 */ 89 89 90 short tcoladj(short icol)90 int16_t tcoladj(int16_t icol) 91 91 { 92 92 if (icol < 12) … … 114 114 */ 115 115 116 void tdhilit( short from, short to)116 void tdhilit(int16_t from, int16_t to) 117 117 { 118 register short i, row, col, box;118 register int16_t i, row, col, box; 119 119 120 120 if (to < from) { … … 180 180 */ 181 181 182 short tdfnbox(short n)182 int16_t tdfnbox(int16_t n) 183 183 { 184 register short i, key, dcol, row, col;184 register int16_t i, key, dcol, row, col; 185 185 186 186 row = hitcy / 14;
Note:
See TracChangeset
for help on using the changeset viewer.