mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-21 06:35:00 -04:00
support for new SEQ format and idle animations
This commit is contained in:
parent
3463d8e720
commit
2ce5f77825
9 changed files with 284 additions and 93 deletions
|
@ -718,9 +718,10 @@ void enemy_draw_transp(const void *src,void *trg,const void *shade,int scale,int
|
|||
//prepare xtable
|
||||
{
|
||||
int *w = xtable;
|
||||
int *we = xtable+sizeof(xtable)/sizeof(xtable[0]);
|
||||
int ofs = 0;
|
||||
int accu = 0;
|
||||
while (ofs < pcx) {
|
||||
while (ofs < pcx && w < we) {
|
||||
*w++ = ofs;
|
||||
accu+=320;
|
||||
while (accu >= scale) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue