X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpalllist.c;h=eb428c1d6b9ba81ea78a72755601e29ea6f0828c;hb=ded380e7aab3ba7460e1f756b576722e996d939a;hp=e15d862564e2dbb8497673ce32e7db21bd125c59;hpb=9ff2b0b4f132eace00557a8db5b2ab9c602f4ffa;p=16.git diff --git a/src/palllist.c b/src/palllist.c index e15d8625..eb428c1d 100755 --- a/src/palllist.c +++ b/src/palllist.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -57,10 +57,39 @@ * i am going to work on a really big area of code it will be on the refresh system, the walking/scrolling system, things that use showpage, adding disableing 8087 functions if no 8087 detected, and a bunch of other things i cannot remember off the top of my head because i am BURNT. I need a small break~ -- -- -- -- update! i am working on this i made ZC_WALK and i am going to move to VRL/VRS soon! . * ==== PRE SHOWPAGE TO SHOWMV CONVERSION ==== i am going to work on a really big area of code it will be on the refresh system, the walking/scrolling system, things that use showpage, adding disableing 8087 functions if no 8087 detected, and a bunch of other things i cannot remember off the top of my head because i am BURNT. I need a small break~ -- -- -- -- update! i am working on this i made ZC_WALK and i am going to move to VRL/VRS soon! */ -#include +#include "src/lib/ll.h" void main(int argc, char *argv[]) { -//TOO TIREDWWWW + int i; + node_t * head = NULL; node_t * heao = NULL; + head = malloc(sizeof(node_t)); heao = malloc(sizeof(node_t)); + head->val = 0; heao->val = 9; + head->next=NULL; heao->next=NULL; + head->id=0; heao->id=0; + + for(i=1; i< + //PAL_SIZE + 7 + ; i++) + { + if(!(i%3)) printf("\n "); + printf("%d,", i); + pushe(head, i); + } + + printf("\n"); + + for(i=8; i>0; i--) + { + if(!(i%3)) printf("\n "); + printf("%d,", i); + pushe(heao, i); + } + print_list(head); + printf("\n"); + print_list(heao); + free(head); + free(heao); }