steam.inc
mdsteele_annalog/src/actors/steam.inc
;;;=========================================================================;;;
;;; Copyright 2022 Matthew D. Steele <mdsteele@alum.mit.edu>                ;;;
;;;                                                                         ;;;
;;; This file is part of Annalog.                                           ;;;
;;;                                                                         ;;;
;;; Annalog is free software: you can redistribute it and/or modify it      ;;;
;;; under the terms of the GNU General Public License as published by the   ;;;
;;; Free Software Foundation, either version 3 of the License, or (at your  ;;;
;;; option) any later version.                                              ;;;
;;;                                                                         ;;;
;;; Annalog is distributed in the hope that it will be useful, but WITHOUT  ;;;
;;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or   ;;;
;;; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License   ;;;
;;; for more details.                                                       ;;;
;;;                                                                         ;;;
;;; You should have received a copy of the GNU General Public License along ;;;
;;; with Annalog.  If not, see <http://www.gnu.org/licenses/>.              ;;;
;;;=========================================================================;;;

;;; State bytes for steam projectiles/smoke:
;;;   * Flags: For horizontal steam, the bObj::FlipH bit is set if the steam is
;;;     aimed leftward, or cleared if it is aimed rightward.  Unused for upward
;;;     steam.
;;;   * State1: Counter that starts at zero and increments every frame; when it
;;;     reaches kSteamNumFrames, then the steam is removed.
;;;   * State2: Unused.
;;;   * State3: Unused.
;;;   * State4: Unused.

;;; How long a steam actor animates before disappearing, in frames.
kSteamNumFrames = 32

;;; Tile IDs for drawing steam projectile actors.
kTileIdObjSteamHorzFirst = $f0
kTileIdObjSteamVertFirst = $e0

;;;=========================================================================;;;
