1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
18 // MapObj data. Map Objects or mobjs are actors, entities,
19 // thinker, take-your-pick... anything that moves, acts, or
20 // suffers state changes of more or less violent nature.
22 //-----------------------------------------------------------------------------
36 // Experimental stuff.
37 // To compile this as "ANSI C with classes"
38 // we will need to handle the various
39 // action functions cleanly.
41 typedef void (*actionf_t)(void*, void*);
47 // Historically, "think_t" is yet another
48 // function pointer to a routine to handle
50 typedef actionf_t think_t;
53 // Doubly linked list of actors.
54 typedef struct thinker_s
56 struct thinker_s* prev;
57 struct thinker_s* next;
65 //-----------------------------------------------------------------------------
69 //-----------------------------------------------------------------------------