Changeset b28a12e in buchla-68k for ram/wsdsp.c


Ignore:
Timestamp:
07/10/2017 02:17:49 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
06f6615
Parents:
39a696b
Message:

Zero redundant declarations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/wsdsp.c

    r39a696b rb28a12e  
    66*/
    77
    8 #include "all.h"
    9 
    10 /* things defined elsewhere */
    11 
    12 extern  uint16_t        exp_c(uint16_t c);
    13 
    14 extern  void    (*point)(int16_t x, int16_t y, int16_t pen);
    15 
    16 extern  uint16_t        *obj0;
    17 
    18 extern  int8_t  bfs[];
    19 
    20 extern  int8_t  *wdbxlb0[];
    21 extern  int8_t  *wdbxlb1[];
    22 
    23 extern  int16_t wdbox[][8];
    24 
    25 extern  struct  instdef vbufs[];
    26 
    27 /*
    28 
    29 */
    30 
    31 extern  int16_t curinst;
    32 extern  int16_t curvce;
    33 extern  int16_t curwave;        /* current waveshape library slot */
    34 extern  int16_t curwdth;        /* current waveshape cursor width */
    35 extern  int16_t curwfnl;        /* current waveshape final value */
    36 extern  int16_t curwhrm;        /* current waveshape harmonic number */
    37 extern  int16_t curwhrv;        /* current waveshape harmonic value */
    38 extern  int16_t curwpnt;        /* current waveshape point number */
    39 extern  int16_t curwoff;        /* current waveshape offset value */
    40 extern  int16_t curwslt;        /* current waveshape instrument slot */
    41 extern  int16_t cxval;
    42 extern  int16_t cyval;
    43 extern  int16_t lstwoff;
    44 extern  int16_t lstwpnt;
    45 extern  int16_t stccol;
    46 extern  int16_t stcrow;
    47 extern  int16_t wpntsv;         /* waveshape point selection state variable */
    48 extern  int16_t wplast;
    49 extern  int16_t wvlast;
    50 
    51 extern  int16_t vmtab[NUMHARM];         /* harmonic table */
    52 extern  int16_t wsbuf[NUMWPCAL];        /* waveshape generation buffer */
    53 
    54 extern  int32_t vknm[NUMHARM][NUMWPCAL];        /* scaled harmonics */
    55 
    56 extern  uint16_t *waveob;               /* waveshape display object pointer */
    57 
    58 extern  int16_t wsnmod[12][2];          /* waveshape number or data modified */
    59 
    60 extern  struct  wstbl   wslib[NUMWAVS]; /* waveshape library */
    61 
    62 extern  struct  octent  *wdoct;         /* object control table pointer */
    63 
    64 /* forward references */
    65 
    66 void    wdpoint(int16_t x, int16_t y, int16_t pen);
    67 
    68 extern  void arcurs(uint16_t icolor);
    69 extern  void clrwsa(void);
    70 extern  void dswap(void);
    71 extern  void itcini(uint16_t color);
    72 extern  void itcpos(int16_t row, int16_t col);
    73 extern  void newws(void);
    74 extern  void setgc(int16_t xv, int16_t yv);
    75 extern  void updfpu(void);
    76 extern  void vsndpal(int16_t pp[16][3]);
    77 
    78 /*
    79 
    80 */
     8#include "ram.h"
    819
    8210int16_t wavpal[16][3] = {       /* waveshape display color palette */
Note: See TracChangeset for help on using the changeset viewer.