fix loading graphics glitches, update catalog

This commit is contained in:
Jeremy Penner 2020-04-20 18:33:13 -04:00
parent 88d2d8e786
commit f86798a26d
24 changed files with 15 additions and 4 deletions

BIN
boot.jim

Binary file not shown.

Binary file not shown.

BIN
debug.jim

Binary file not shown.

BIN
defs.jim

Binary file not shown.

BIN
end.jim

Binary file not shown.

View file

@ -2,7 +2,7 @@
: line" [ ' s" , ] :| 20 center 10 texty +! |; , ; immediate : line" [ ' s" , ] :| 20 center 10 texty +! |; , ; immediate
: end-tick : end-tick
fuck s" endep1" loadscr clear-pages fuck s" endep1" loadscr
^ENTER wait-key ^ENTER wait-key
WHITE text-color ! WHITE text-color !
35 15 2 10 box 35 15 2 10 box

Binary file not shown.

Binary file not shown.

BIN
game.jim

Binary file not shown.

View file

@ -261,7 +261,7 @@ defer reset-level userword
0 q-level ! 0 q-level !
reset-level reset-level
dup LEV_QUIT = if dup LEV_QUIT = if
drop title drop clear-pages title
else else
loadlevel loadlevel
party each follow more party each follow more

BIN
input.jim

Binary file not shown.

BIN
jiles.jim

Binary file not shown.

BIN
job.jim

Binary file not shown.

Binary file not shown.

BIN
level.jim

Binary file not shown.

BIN
map.jim

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
sound.jim

Binary file not shown.

View file

@ -16,5 +16,4 @@ task :noname activate blah begin draw suspend again ; execute
reset-level reset-level
loadlevel loadlevel
draw unfuck load-footer clear-pages unfuck reloadportraits reloadtiles draw load-footer

BIN
state.jim

Binary file not shown.

View file

@ -459,6 +459,17 @@ void f_system() {
kbd_init(); kbd_init();
} }
void clearPages() {
unsigned int offset;
setAllPlanes();
setWriteMode(0);
for (offset = 0; offset < OFF_PAGE2 + SIZE_PAGE; offset ++) {
VID[offset] = 0;
}
}
/* JILES */ /* JILES */
#define SCREEN_STRIDE 40 #define SCREEN_STRIDE 40
@ -820,6 +831,7 @@ void game_f_init(char *exe, char *bootjor) {
CDEF("scrollpos", f_scrollpos); CDEF("scrollpos", f_scrollpos);
CDEF("draw-screen", drawScreen); CDEF("draw-screen", drawScreen);
CDEF("split-screen", f_splitscreen); CDEF("split-screen", f_splitscreen);
CDEF("clear-pages", clearPages);
CDEF("ticks", f_ticks); CDEF("ticks", f_ticks);
CDEF("ticks!", f_setticks); CDEF("ticks!", f_setticks);
CDEF("text", f_text); CDEF("text", f_text);

BIN
timer.jim

Binary file not shown.

BIN
title.jim

Binary file not shown.