X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest.c;h=a34ed407862a65798f77177bd8c112e2ad6fe706;hb=c13dbd65b6c7f673537cfa5ef6456b09444c1406;hp=3e2b1e6f31b729d1cf43cf1cc2fe0cdaef74d002;hpb=8b92f32b6e6a8ab7be52ced02208cc789364a014;p=16.git
diff --git a/src/test.c b/src/test.c
old mode 100644
new mode 100755
index 3e2b1e6f..a34ed407
--- a/src/test.c
+++ b/src/test.c
@@ -1,5 +1,27 @@
-#include "src/lib/modex16.h"
+/* Project 16 Source Code~
+ * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669
+ *
+ * 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.
+ *
+ */
+
#include
+#include "src/lib/modex16.h"
word far* clockw= (word far*) 0x046C; /* 18.2hz clock */
@@ -10,7 +32,7 @@ void main() {
byte *pal, *pal2=NULL;
/* load our palette */
- modexLoadPalFile("gfx.pal", &pal2);
+ modexLoadPalFile("data/default.pal", &pal2);
/* save the palette */
pal = modexNewPal();