X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_dbg.h;h=b51533e820ed6877a5bd77b29f785293b439241a;hb=a565be31ce92d6168ae6983042da75b0b683e52b;hp=381ed567d694d0485c6ca72a1ac3871ac10a664f;hpb=6556e86810e8560cb88a0c0042c7366240ab4e60;p=16.git diff --git a/src/lib/16_dbg.h b/src/lib/16_dbg.h index 381ed567..b51533e8 100755 --- a/src/lib/16_dbg.h +++ b/src/lib/16_dbg.h @@ -1,26 +1,80 @@ +/* Project 16 Source Code~ + * Copyright (C) 2012-2019 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * + * This file is part of Project 16. + * + * Project 16 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. + * + * Project 16 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, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef _SRC_LIB_16_DBG #define _SRC_LIB_16_DBG -#include "src/lib/16_head.h" -#include "src/lib/16_tdef.h" +//#include "src/lib/16_head.h" +#include "src/lib/16_pm.h" +//#include "src/lib/16_tdef.h" #define __DEBUG__ + +#ifdef __DEBUG__ #define __DEBUG_InputMgr__ +#define __DEBUG_MAP__ +//#define __DEBUG_2__ +//#define __DEBUG_CA__ //#define __DEBUG_PM__ //#define __DEBUG_MM__ +#define __DEBUG_RF__ +#define __DEBUG_SPRI__ +#define __DEBUG_VL__ +#endif #ifdef __DEBUG__ +#ifdef __DEBUG_MM__ +extern boolean dbg_debugmm; +#endif #ifdef __DEBUG_PM__ +//#define __DEBUG_PM_MAIN__ extern boolean dbg_debugpm; #endif +#ifdef __DEBUG_CA__ +extern boolean dbg_debugca; +#endif #ifdef __DEBUG_InputMgr__ -extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_noplayerinpu; +extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest,dbg_joymousedelta; +#endif +#ifdef __DEBUG_MAP__ +extern boolean dbg_maptext; +extern byte *dbg_mapdata; +#endif +#ifdef __DEBUG_RF__ +extern boolean dbg_pagenorendermap,dbg_pagedelayrendermap; +#endif +#ifdef __DEBUG_SPRI__ +extern boolean dbg_delayanimation; #endif -extern boolean dbg_nommpmca; #endif +#ifdef __WATCOMC__ +typedef struct +{ + word palq,mult; + word palx, paly; + byte i, oi; +} spv_t; # ifdef DEBUGSERIAL # include @@ -40,5 +94,14 @@ static inline int _DEBUG_INIT() { return -1; } # endif -#endif // _SRC_LIB_16_DBG +#endif //watcomc + +void ShapeTest_(global_game_variables_t *gvar); +#ifdef __WATCOMC__ +#ifdef __DEBUG_VL__ +spv_t ShowPalVarSync (spv_t *spv); +void ShowPalVal (global_game_variables_t *gvar); +#endif +#endif +#endif // _SRC_LIB_16_DBG