mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-07 05:30:55 +00:00
second: work on intro scrolling
This commit is contained in:
parent
c667adfd33
commit
090a4b9c7c
@ -13,6 +13,26 @@ TODO MUSIC
|
||||
|
||||
DISK I
|
||||
|
||||
+BIOS
|
||||
|
||||
- get it working
|
||||
- if it is, remove other detection code
|
||||
|
||||
+ Intro
|
||||
- title cards
|
||||
- scrolling
|
||||
- credits at bottom?
|
||||
|
||||
- Sprites / explosion
|
||||
|
||||
+ chessboard
|
||||
|
||||
- falling effect
|
||||
- moving / bouncing object
|
||||
- tunnel
|
||||
- cirles
|
||||
- interference pattern
|
||||
|
||||
+ Lens / Rotozoom
|
||||
- add lo-res LENS sprite to bounce around
|
||||
- for rotozoom, wrap around
|
||||
|
16
demos/second/part01_intropan/tools/Makefile
Normal file
16
demos/second/part01_intropan/tools/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -O2
|
||||
LFLAGS =
|
||||
|
||||
all: make_scroll_tables
|
||||
|
||||
make_scroll_tables: make_scroll_tables.o
|
||||
$(CC) $(LFLAGS) -o make_scroll_tables make_scroll_tables.o
|
||||
|
||||
make_scroll_tables.o: make_scroll_tables.c
|
||||
$(CC) $(CFLAGS) -c make_scroll_tables.c
|
||||
|
||||
clean:
|
||||
rm -f make_scroll_tables *.o *~
|
||||
|
||||
|
50
demos/second/part01_intropan/tools/make_scroll_tables.c
Normal file
50
demos/second/part01_intropan/tools/make_scroll_tables.c
Normal file
@ -0,0 +1,50 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
int i,high_bit,temp;
|
||||
|
||||
printf("left_lookup_main:\n");
|
||||
for(i=0;i<256;i++) {
|
||||
if (i%16==0) {
|
||||
printf(".byte ");
|
||||
}
|
||||
|
||||
high_bit=i&0x80;
|
||||
|
||||
temp=i&0x7f;
|
||||
temp>>=2;
|
||||
temp|=high_bit;
|
||||
|
||||
printf("$%02X",temp);
|
||||
|
||||
if (i%16!=15) {
|
||||
printf(",");
|
||||
}
|
||||
else {
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
printf("left_lookup_next:\n");
|
||||
for(i=0;i<256;i++) {
|
||||
if (i%16==0) {
|
||||
printf(".byte ");
|
||||
}
|
||||
|
||||
temp=i&0x3;
|
||||
temp<<=5;
|
||||
|
||||
printf("$%02X",temp);
|
||||
|
||||
if (i%16!=15) {
|
||||
printf(",");
|
||||
}
|
||||
else {
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user