2009-12-30 18:53:14 +00:00
|
|
|
#ifndef __STATNUMS_H
|
|
|
|
#define __STATNUMS_H
|
2006-02-24 04:48:15 +00:00
|
|
|
/*
|
|
|
|
** statnums.h
|
|
|
|
**
|
|
|
|
**---------------------------------------------------------------------------
|
2006-06-11 01:37:00 +00:00
|
|
|
** Copyright 1998-2006 Randy Heit
|
2006-02-24 04:48:15 +00:00
|
|
|
** All rights reserved.
|
|
|
|
**
|
|
|
|
** Redistribution and use in source and binary forms, with or without
|
|
|
|
** modification, are permitted provided that the following conditions
|
|
|
|
** are met:
|
|
|
|
**
|
|
|
|
** 1. Redistributions of source code must retain the above copyright
|
|
|
|
** notice, this list of conditions and the following disclaimer.
|
|
|
|
** 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
** notice, this list of conditions and the following disclaimer in the
|
|
|
|
** documentation and/or other materials provided with the distribution.
|
|
|
|
** 3. The name of the author may not be used to endorse or promote products
|
|
|
|
** derived from this software without specific prior written permission.
|
|
|
|
**
|
|
|
|
** THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
** IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
** OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
** IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
** NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
**---------------------------------------------------------------------------
|
|
|
|
**
|
|
|
|
** These are different statnums for thinkers. The idea to maintain multiple
|
|
|
|
** lists for different types of thinkers is taken from Build. Every thinker
|
|
|
|
** is ticked by statnum, so a thinker with a low statnum will always tick
|
|
|
|
** before a thinker with a high statnum. If a thinker is not explicitly
|
2010-04-11 11:18:33 +00:00
|
|
|
** created with a statnum, it will be given STAT_DEFAULT
|
2006-02-24 04:48:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
enum
|
|
|
|
{ // Thinkers that don't actually think
|
|
|
|
STAT_INFO, // An info queue
|
|
|
|
STAT_DECAL, // A decal
|
2006-04-13 02:01:40 +00:00
|
|
|
STAT_AUTODECAL, // A decal that can be automatically deleted
|
2006-02-24 04:48:15 +00:00
|
|
|
STAT_CORPSEPOINTER, // An entry in Hexen's corpse queue
|
|
|
|
STAT_TRAVELLING, // An actor temporarily travelling to a new map
|
|
|
|
|
|
|
|
// Thinkers that do think
|
|
|
|
STAT_FIRST_THINKING=32,
|
|
|
|
STAT_SCROLLER=STAT_FIRST_THINKING, // A DScroller thinker
|
|
|
|
STAT_PLAYER, // A player actor
|
|
|
|
STAT_BOSSTARGET, // A boss brain target
|
|
|
|
STAT_LIGHTNING, // The lightning thinker
|
|
|
|
STAT_DECALTHINKER, // An object that thinks for a decal
|
|
|
|
STAT_INVENTORY, // An inventory item
|
|
|
|
STAT_LIGHT, // A sector light effect
|
|
|
|
STAT_LIGHTTRANSFER, // A sector light transfer. These must be ticked after the light effects!!!
|
2006-07-01 00:21:36 +00:00
|
|
|
STAT_EARTHQUAKE, // Earthquake actors
|
2006-10-20 04:04:04 +00:00
|
|
|
STAT_MAPMARKER, // Map marker actors
|
2009-12-30 18:53:14 +00:00
|
|
|
|
2010-04-11 11:18:33 +00:00
|
|
|
STAT_DEFAULT = 100, // Thinkers go here unless specified otherwise.
|
2010-01-02 12:40:07 +00:00
|
|
|
STAT_SECTOREFFECT, // All sector effects that cause floor and ceiling movement
|
|
|
|
STAT_ACTORMOVER, // actor movers
|
2010-04-11 11:18:33 +00:00
|
|
|
STAT_SCRIPTS, // The ACS thinker. This is to ensure that it can't tick before all actors called PostBeginPlay
|
2006-02-24 04:48:15 +00:00
|
|
|
};
|
2009-12-30 18:53:14 +00:00
|
|
|
|
|
|
|
#endif
|