X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_dbg.h;h=37c269631297cc39a02a1c1185e6a54dcda283a3;hb=033a884c3a161367f6820dbcc959111403ecd497;hp=295b7146b9d96abea20ad1a38d0905dd19b5f36d;hpb=050d28da3358d5c1434fda542ec11adbee182ea5;p=16.git
diff --git a/src/lib/16_dbg.h b/src/lib/16_dbg.h
index 295b7146..37c26963 100755
--- a/src/lib/16_dbg.h
+++ b/src/lib/16_dbg.h
@@ -1,12 +1,35 @@
+/* Project 16 Source Code~
+ * Copyright (C) 2012-2017 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_head.h"
#include "src/lib/16_pm.h"
-#include "src/lib/16_tdef.h"
+//#include "src/lib/16_tdef.h"
#define __DEBUG__
+
+#ifdef __DEBUG__
//#define __DEBUG_InputMgr__
#define __DEBUG_MAP__
//#define __DEBUG_2__
@@ -15,6 +38,8 @@
//#define __DEBUG_MM__
//#define __DEBUG_RF__
#define __DEBUG_SPRI__
+#define __DEBUG_VL__
+#endif
#ifdef __DEBUG__
@@ -44,6 +69,12 @@ extern boolean dbg_delayanimation;
#endif
#ifdef __WATCOMC__
+typedef struct
+{
+ word palq,mult;
+ word palx, paly;
+ byte i, oi;
+} spv_t;
# ifdef DEBUGSERIAL
# include
@@ -66,5 +97,11 @@ static inline int _DEBUG_INIT() {
#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