X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpalllist.c;h=eb428c1d6b9ba81ea78a72755601e29ea6f0828c;hb=eda37da84ccb4fc381507f04832d0358799ed67c;hp=3e8bb2f7df57404aa6939feb49c131ca98ad9501;hpb=17ec26395419ff775f29661e50265dfbccfda3b0;p=16.git diff --git a/src/palllist.c b/src/palllist.c index 3e8bb2f7..eb428c1d 100755 --- a/src/palllist.c +++ b/src/palllist.c @@ -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); }