1 /* Project 16 Source Code~
\r
2 * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover
\r
4 * This file is part of Project 16.
\r
6 * Project 16 is free software; you can redistribute it and/or modify
\r
7 * it under the terms of the GNU General Public License as published by
\r
8 * the Free Software Foundation; either version 3 of the License, or
\r
9 * (at your option) any later version.
\r
11 * Project 16 is distributed in the hope that it will be useful,
\r
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
14 * GNU General Public License for more details.
\r
16 * You should have received a copy of the GNU General Public License
\r
17 * along with this program. If not, see <http://www.gnu.org/licenses/>, or
\r
18 * write to the Free Software Foundation, Inc., 51 Franklin Street,
\r
19 * Fifth Floor, Boston, MA 02110-1301 USA.
\r
23 * palllist experiment
\r
26 * An experiment where I make 2 small linked list which points to 2 arrays
\r
27 * one is the "hardware palette" array
\r
28 * the other is "image palette" array
\r
29 * and their respectable pointers point to their [i] stuff
\r
31 * the palette updater stuff i want to make is this:
\r
38 * 5- 0-(I will figure this out later if there is dup numbs)
\r
57 * 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! .
\r
58 * ==== 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!
\r
60 #include "src/lib/ll.h"
\r
63 main(int argc, char *argv[])
\r
66 node_t * head = NULL; node_t * heao = NULL;
\r
67 head = malloc(sizeof(node_t)); heao = malloc(sizeof(node_t));
\r
68 head->val = 0; heao->val = 9;
\r
69 head->next=NULL; heao->next=NULL;
\r
70 head->id=0; heao->id=0;
\r
77 if(!(i%3)) printf("\n ");
\r
86 if(!(i%3)) printf("\n ");
\r