delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/03/16:57:04

From: night DOT walker AT tiscalinet DOT it
Message-ID: <37F7B3B8.BE27864D@tiscalinet.it>
Date: Sun, 03 Oct 1999 21:51:20 +0200
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Subject: colored mask and...
Reply-To: djgpp AT delorie DOT com

From: night DOT walker AT tiscalinet DOT it

Subject 1: colored mask
Subject 2: why in triple buffer I need poll_scroll()?
Subject 3: config routines
Subject 4: Datafile Properties
Subject 5:

1- I'm building a Warcraft-style game: how can I make each unit sprite
have
  the owner's color?
  Actually i'm using RLE Sprites from 8 to 32 bpp.
  Is it possible to set a range of colors to be a "color mask" and
replace it
  with another choosen range of colors when drawing it?

2- Which is the difference between scroll_screen() and request_scroll()?

  Why I must wait poll_scroll()?

3- set_config_data() is alternative to set_config_file or requires it?

4- When loading a single datafile object I cannot access properties.
  It seem that properties are not loaded with the object, being objects
  themselves; the question is: how can I read an object property without

  loading an entire datafile?
  Is it possible to load datafile objects individually by ID and not by
name?

5- I built my own keyboard routine for the game, with combined-keys
handling
  (CTRL+R is not CTRL or R+CTRL) full configurable and with mouse
support.
  It works fine and can recognise all keys exept "PAUSE".
  May someone be interested in this? If so, where i can post it?

Thanx for the help and sorry for the bad English.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019