Auto-translated
After a short break, I decided to finish it. There's not much left: change the size of the dotted frame on the mini-map and fix the view using the "V" key. No bug reports have been received. You can play on any template *now*.
Yesterday, I optimized the code for rendering the mini-map, replacing the division and check (mov dl, n; div dl; cmp ah, k) with more compact code: aam n; cmp al, k. At the same time, I found an error in the IDA disassembler. For those interested: small jumps like 66 E9 xx xx (jmp small ...) are traced incorrectly, because the jump with the 66 prefix is performed using IP, not EIP!
Yesterday, I optimized the code for rendering the mini-map, replacing the division and check (mov dl, n; div dl; cmp ah, k) with more compact code: aam n; cmp al, k. At the same time, I found an error in the IDA disassembler. For those interested: small jumps like 66 E9 xx xx (jmp small ...) are traced incorrectly, because the jump with the 66 prefix is performed using IP, not EIP!