Ignore:
Timestamp:
Nov 10, 2005, 9:41:13 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • absolute shitloads of 64 bit fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/include/light.hpp

    r16 r17  
    88
    99#define TTINTS 9
    10 extern uchar *tints[TTINTS];
    11 extern unsigned char *white_light,*white_light_initial,*green_light,*trans_table;
    12 extern short ambient_ramp;
     10extern uint8_t *tints[TTINTS];
     11extern uint8_t *white_light,*white_light_initial,*green_light,*trans_table;
     12extern int16_t ambient_ramp;
    1313#define REVERSE_GREEN_TINT 8
    1414
    15 extern short shutdown_lighting_value,shutdown_lighting;
     15extern int16_t shutdown_lighting_value,shutdown_lighting;
    1616
    1717class light_source
     
    6363light_patch *find_patch(int screenx, int screeny, light_patch *list);
    6464int calc_light_value(int32_t x, int32_t y, light_patch *which);                       
    65 void light_screen(image *sc, int32_t screenx, int32_t screeny, uchar *light_lookup, ushort ambient);
    66 void double_light_screen(image *sc, int32_t screenx, int32_t screeny, uchar *light_lookup, ushort ambient,
     65void light_screen(image *sc, int32_t screenx, int32_t screeny, uint8_t *light_lookup, uint16_t ambient);
     66void double_light_screen(image *sc, int32_t screenx, int32_t screeny, uint8_t *light_lookup, uint16_t ambient,
    6767                         image *out, int32_t out_x, int32_t out_y);
    6868
Note: See TracChangeset for help on using the changeset viewer.