Forum archive
Compilation of voxlap game
- I recompiled the voxlap engine using msvc 2005 express beta. It works but the sound doesn't work.
As a separate experiment i changed all the calls to stdcall - including the v5.asm (i added ret 8 & ret 4 where necessary - and reassembled using masm).
Everything compiled but when i run the program all the sprites/objects like barrels ,monsters and doors were rotating like the desklamp which rotates anyway.
Is there any explanation for this?
Here's some screenshots:
http://homepage.ntlworld.com/jeeastwood/KVX50000.PNG
http://homepage.ntlworld.com/jeeastwood/KVX50001.PNG
Thanks. - I found the problem for the rotation. In GAME.C, change:
To:if ((spr[i].voxnum >= kv6[NUM0]) && (spr[i].voxnum <= kv6[NUM9]))for(j=NUM0;j<=NUM9;j++)
if (spr[i].voxnum == kv6[j]) break;
if (j <= NUM9)
This code isn't used currently since there are no voxel numbers (NUM0 to NUM9) in the default map.
I don't know what the problem with the sound is since I can't reproduce it. - Thanks Ken :)
I'll try it when i get back home. The strange thing is the bug only occurs on stdcall but not cdecl. - Thanks ken that works :)