2012-11-05 02:49:08 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
Copyright (C) 2010 EDuke32 developers and contributors
|
|
|
|
|
|
|
|
This file is part of EDuke32.
|
|
|
|
|
|
|
|
EDuke32 is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License version 2
|
|
|
|
as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
This program 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 this program; if not, write to the Free Software
|
2014-07-20 08:55:56 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2012-11-05 02:49:08 +00:00
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
2014-11-22 12:32:56 +00:00
|
|
|
#ifndef actors_inline_h_
|
|
|
|
#define actors_inline_h_
|
2012-11-05 02:49:08 +00:00
|
|
|
|
2014-11-26 04:39:23 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-11-05 02:49:08 +00:00
|
|
|
#if KRANDDEBUG
|
2014-01-12 14:04:02 +00:00
|
|
|
# define ACTOR_INLINE __fastcall
|
|
|
|
# define ACTOR_INLINE_HEADER extern __fastcall
|
2012-11-05 02:49:08 +00:00
|
|
|
#else
|
|
|
|
# define ACTOR_INLINE EXTERN_INLINE
|
|
|
|
# define ACTOR_INLINE_HEADER EXTERN_INLINE_HEADER
|
|
|
|
#endif
|
|
|
|
|
2014-09-07 18:10:16 +00:00
|
|
|
extern int32_t A_MoveSpriteClipdist(int32_t spritenum, const vec3_t *change, uint32_t cliptype, int32_t clipdist);
|
2015-01-11 04:55:07 +00:00
|
|
|
ACTOR_INLINE_HEADER int A_CheckEnemyTile(int32_t pn);
|
2012-11-05 02:49:08 +00:00
|
|
|
ACTOR_INLINE_HEADER int32_t A_SetSprite(int32_t i,uint32_t cliptype);
|
2014-09-07 18:10:16 +00:00
|
|
|
ACTOR_INLINE_HEADER int32_t A_MoveSprite(int32_t spritenum, const vec3_t *change, uint32_t cliptype);
|
2012-11-05 02:49:08 +00:00
|
|
|
|
|
|
|
EXTERN_INLINE_HEADER void G_UpdateInterpolations(void);
|
|
|
|
EXTERN_INLINE_HEADER void G_RestoreInterpolations(void);
|
|
|
|
|
|
|
|
EXTERN_INLINE_HEADER int32_t G_CheckForSpaceCeiling(int32_t sectnum);
|
|
|
|
EXTERN_INLINE_HEADER int32_t G_CheckForSpaceFloor(int32_t sectnum);
|
|
|
|
|
|
|
|
EXTERN_INLINE_HEADER int32_t A_CheckEnemySprite(const spritetype *s);
|
|
|
|
|
2014-11-26 04:39:23 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2012-11-05 02:49:08 +00:00
|
|
|
#ifndef DISABLE_INLINING
|
|
|
|
#include "actors_inline.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|