X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2F0.c;h=8734bb659ced166932ea17c4afb735a58dc3866c;hb=33c259a061a01a77c0e4aeb76ed51c4cd1e9d537;hp=a79f455c46a0c4156c88f0a8c91ac9241ec2a34f;hpb=c97b854807379d39e5cc97c5c8c4f4390302528d;p=16.git
diff --git a/src/0.c b/src/0.c
index a79f455c..8734bb65 100755
--- a/src/0.c
+++ b/src/0.c
@@ -1,3 +1,25 @@
+/* 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.
+ *
+ */
+
#include
#include
#include
@@ -31,7 +53,7 @@ int main(int argc,char **argv)
boolean anim=1,noanim=0,zerostoppause=1;
bakapee1=malloc(64);
- bakapee2=malloc(1024);
+ bakapee2=malloc(64);
if (argc < 2) {
//fprintf(stderr,"drawvrl \n palette file optional\n");
@@ -83,7 +105,7 @@ int main(int argc,char **argv)
IN_Startup();
IN_Default(0,&player,ctrl_Keyboard1);
- EN_initplayer(&player, 0);
+ EN_initplayer(&player, 0, &gvar.video);
/* setup camera and screen~ */
modexHiganbanaPageSetup(&gvar.video);