Changeset 33b5477 in buchla-68k for vlib


Ignore:
Timestamp:
07/14/2017 12:36:45 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
298f0b4
Parents:
928d5d9
Message:

Fixed argument order.

Location:
vlib
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • vlib/vmput.c

    r928d5d9 r33b5477  
    2828*/
    2929
    30 void vmput(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t ma, int8_t *ms[])
     30void vmput(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t ma)
    3131{
    3232        register uint16_t c, tc, tr;
     
    5656*/
    5757
    58 void vmputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *ma[], int8_t *ms[])
     58void vmputa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t *ma[])
    5959{
    6060        register uint16_t c, tc, tr;
  • vlib/vmput.x

    r928d5d9 r33b5477  
    1515*/
    1616
    17 extern  void            vmput(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t ma, int8_t *ms[]);
    18 extern  void            vmputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *ma[], int8_t *ms[]);
     17extern  void            vmput(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t ma);
     18extern  void            vmputa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t *ma[]);
  • vlib/vobjfns.c

    r928d5d9 r33b5477  
    140140*/
    141141
    142 void SetObj(int16_t obj, int16_t type, int16_t bank, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri, uint16_t *base)
     142void SetObj(int16_t obj, int16_t type, int16_t bank, uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri)
    143143{
    144144        register struct octent *op;
  • vlib/vobjfns.x

    r928d5d9 r33b5477  
    2727extern  void            CpyObj(uint16_t *from, uint16_t *to, uint16_t w, uint16_t h, uint16_t sw);
    2828extern  void            SelObj(int16_t obj);
    29 extern  void            SetObj(int16_t obj, int16_t type, int16_t bank, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri, uint16_t *base);
     29extern  void            SetObj(int16_t obj, int16_t type, int16_t bank, uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri);
    3030extern  void            SetPri(int16_t obj, int16_t pri);
  • vlib/vputs.c

    r928d5d9 r33b5477  
    2323*/
    2424
    25 void vputs(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib, int8_t *str)
     25void vputs(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t attrib)
    2626{
    2727        uint16_t        c;
     
    5353*/
    5454
    55 void vputsa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *attrib, int8_t *str)
     55void vputsa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t *attrib)
    5656{
    5757        uint16_t        c;
  • vlib/vputs.x

    r928d5d9 r33b5477  
    1515*/
    1616
    17 extern  void            vputs(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib, int8_t *str);
    18 extern  void            vputsa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *attrib, int8_t *str);
     17extern  void            vputs(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t attrib);
     18extern  void            vputsa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t *attrib);
  • vlib/vspray4.c

    r928d5d9 r33b5477  
    2929*/
    3030
    31 void vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int16_t vb, int16_t pitch, int8_t *ml[])
     31void vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch)
    3232{
    3333        register int8_t *cp, *lp, c;
  • vlib/vspray4.x

    r928d5d9 r33b5477  
    1515*/
    1616
    17 extern  void            vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int16_t vb, int16_t pitch, int8_t *ml[]);
     17extern  void            vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch);
Note: See TracChangeset for help on using the changeset viewer.