mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-14 02:11:58 -04:00
new filters, cztable, fix crash in enemy drawing
This commit is contained in:
parent
83933755df
commit
a8556070ad
10 changed files with 176 additions and 98 deletions
|
@ -513,7 +513,7 @@ void enemy_draw(const void *src,void *trg,int shade,int scale,int maxspace,int c
|
|||
int rwofs = pcx*(pcy-1);
|
||||
int accu = 0;
|
||||
int *w = ytable;
|
||||
int sp = maxspace*2;
|
||||
int sp = maxspace;
|
||||
|
||||
while (sp > 0 && rwofs >= 0) {
|
||||
*w++ = rwofs;
|
||||
|
@ -700,7 +700,7 @@ void enemy_draw_transp(const void *src,void *trg,const void *shade,int scale,int
|
|||
int rwofs = pcx*(pcy-1);
|
||||
int accu = 0;
|
||||
int *w = ytable;
|
||||
int sp = maxspace*2;
|
||||
int sp = maxspace;
|
||||
|
||||
while (sp > 0 && rwofs >= 0) {
|
||||
*w++ = rwofs;
|
||||
|
@ -889,7 +889,7 @@ void enemy_draw_mirror_transp(const void *src,void *trg,const void *shade,int sc
|
|||
int rwofs = pcx*(pcy-1);
|
||||
int accu = 0;
|
||||
int *w = ytable;
|
||||
int sp = maxspace*2;
|
||||
int sp = maxspace;
|
||||
|
||||
while (sp > 0 && rwofs >= 0) {
|
||||
*w++ = rwofs;
|
||||
|
@ -1079,7 +1079,7 @@ void enemy_draw_mirror(const void *src,void *trg,int shade,int scale,int maxspac
|
|||
int rwofs = pcx*(pcy-1);
|
||||
int accu = 0;
|
||||
int *w = ytable;
|
||||
int sp = maxspace*2;
|
||||
int sp = maxspace;
|
||||
|
||||
while (sp > 0 && rwofs >= 0) {
|
||||
*w++ = rwofs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue