Ignore:
Timestamp:
Mar 18, 2008, 11:22:51 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Implement game_object::set_tint, get_tint, set_team and get_team, as well as the corresponding set_object_tint, get_object_tint, set_object_team and get_object_team LISP functions. They'll be useful for CTF mode.

Inspired by Abuse Win32 changelog from February 18, 2001:

  • Changed lisp function (set_player_color x) to

(set_object_tint x)

  • Added lisp function (get_object_tint)

Inspired by Abuse Win32 changelog from February 17, 2001:

  • Added lisp function (set_player_color x) to switch player

to color number x
see chat.lsp for details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/extend.hpp

    r124 r126  
    3232class simple_object
    3333{
    34   public :
     34public:
    3535  int8_t Fade_dir;
    3636  uint8_t Fade_count,Fade_max;
     
    4242  uint16_t Hp,Mp,Fmp;
    4343  int8_t Frame_dir;
    44 
     44  int _tint, _team;
    4545
    4646  uint8_t tobjs,tlights;
Note: See TracChangeset for help on using the changeset viewer.