]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_dbg.h
tired i will work on joy stick stuff later
[16.git] / src / lib / 16_dbg.h
index 61bbff8b40ddda0e741121a3976dd9558bd276db..a500b9b211c64c12fb65a11f4ae2f79ee4bd8e37 100755 (executable)
@@ -1,17 +1,45 @@
+/* Project 16 Source Code~\r
+ * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ *\r
+ * This file is part of Project 16.\r
+ *\r
+ * Project 16 is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * Project 16 is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
+ * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
+ * Fifth Floor, Boston, MA 02110-1301 USA.\r
+ *\r
+ */\r
 \r
 #ifndef _SRC_LIB_16_DBG\r
 #define _SRC_LIB_16_DBG\r
 \r
-#include "src/lib/16_head.h"\r
+//#include "src/lib/16_head.h"\r
 #include "src/lib/16_pm.h"\r
-#include "src/lib/16_tdef.h"\r
+//#include "src/lib/16_tdef.h"\r
 \r
 #define __DEBUG__\r
+\r
+#ifdef __DEBUG__\r
 #define __DEBUG_InputMgr__\r
 #define __DEBUG_MAP__\r
+//#define __DEBUG_2__\r
 //#define __DEBUG_CA__\r
-#define __DEBUG_PM__\r
+//#define __DEBUG_PM__\r
 //#define __DEBUG_MM__\r
+//#define __DEBUG_RF__\r
+#define __DEBUG_SPRI__\r
+#define __DEBUG_VL__\r
+#endif\r
 \r
 \r
 #ifdef __DEBUG__\r
 extern boolean dbg_debugmm;\r
 #endif\r
 #ifdef __DEBUG_PM__\r
+//#define __DEBUG_PM_MAIN__\r
 extern boolean dbg_debugpm;\r
 #endif\r
 #ifdef __DEBUG_CA__\r
 extern boolean dbg_debugca;\r
 #endif\r
 #ifdef __DEBUG_InputMgr__\r
-extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;\r
+extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest,dbg_joymousedelta;\r
 #endif\r
 #ifdef __DEBUG_MAP__\r
 extern boolean dbg_maptext;\r
 extern byte *dbg_mapdata;\r
 #endif\r
+#ifdef __DEBUG_RF__\r
+extern boolean dbg_pagenorendermap,dbg_pagedelayrendermap;\r
+#endif\r
+#ifdef __DEBUG_SPRI__\r
+extern boolean dbg_delayanimation;\r
+#endif\r
 #endif\r
 \r
 #ifdef __WATCOMC__\r
+typedef struct\r
+{\r
+       word    palq,mult;\r
+       word    palx, paly;\r
+       byte    i, oi;\r
+} spv_t;\r
 # ifdef DEBUGSERIAL\r
 #  include <hw/8250/8250.h>\r
 \r
@@ -55,6 +96,12 @@ static inline int _DEBUG_INIT() {
 # endif\r
 #endif //watcomc\r
 \r
-void ShapeTest (global_game_variables_t *gvar);\r
+void ShapeTest_(global_game_variables_t *gvar);\r
+#ifdef __WATCOMC__\r
+#ifdef __DEBUG_VL__\r
+spv_t ShowPalVarSync (spv_t *spv);\r
+void ShowPalVal (global_game_variables_t *gvar);\r
+#endif\r
+#endif\r
 \r
 #endif // _SRC_LIB_16_DBG\r