projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed playing intermissions with small game graphics for native EM engine
[rocksndiamonds.git]
/
src
/
game_em
/
reademc.c
diff --git
a/src/game_em/reademc.c
b/src/game_em/reademc.c
index dae246c94555350b5b926fae0fa4efc182985d4c..48eb9121c9dfabff3a301a53cdc7fc335d3513f5 100644
(file)
--- a/
src/game_em/reademc.c
+++ b/
src/game_em/reademc.c
@@
-312,7
+312,7
@@
void convert_em_level(unsigned char *src, int file_version)
cav.nut_score = src[2090];
cav.dynamite_score = src[2091];
cav.key_score = src[2092];
cav.nut_score = src[2090];
cav.dynamite_score = src[2091];
cav.key_score = src[2092];
- cav.exit_score = src[2093]
* 8 / 5
;
+ cav.exit_score = src[2093];
cav.lenses_score = src[2151];
cav.magnify_score = src[2152];
cav.lenses_score = src[2151];
cav.magnify_score = src[2152];
@@
-801,7
+801,7
@@
if(len >= 2110 && (buf[2106] == 255 && buf[2107] == 53 && buf[2108] == 48 && buf
if(len >= 2106 && (buf[1983] == 116 || buf[2047] == 116)) // v4
if(len >= 2106 && (buf[1983] == 27 || buf[2047] == 219)) // v3
if(len >= 2106 && (buf[1983] == 116 || buf[2047] == 116)) // v4
if(len >= 2106 && (buf[1983] == 27 || buf[2047] == 219)) // v3
-buf[0]
=241;buf[1]=248;for(i=0,j=101;i<2106;i++,j+=7)buf[i]=(buf[i]^j)-
17; // decrypt
+buf[0]
= 241; buf[1] = 248; for(i = 0, j = 101; i < 2106; i++, j += 7) buf[i] = (buf[i] ^ j) -
17; // decrypt
number of movements (calls to logic) = time * 50 / 8
number of movements (calls to logic) = time * 50 / 8