All .NET compilers have a free version.
But this is an old game, from the late 90's - early 00's; It still has support for VooDoo cards and Glide.
All it uses is C++, inline asm, DirectX, and Glide.
Printable View
All .NET compilers have a free version.
But this is an old game, from the late 90's - early 00's; It still has support for VooDoo cards and Glide.
All it uses is C++, inline asm, DirectX, and Glide.
Never even seen the Glide API :P I do everything in OpenGL.
Try fixing the _asm{} to _asm_{} and then see if it works.
I did, same thing. :-/
Okay, I changed everything to asm, and it says "expected asm body before '{'
I'm still using these:
Code:asm {
mov edi, DestAddr
mov ecx, MixLen
mov esi, SrcAddr
}
asm is a single command in GCC. There needs to be a semicolon after it.
EDIT: Also, I'm pretty sure that they are parenthesis, not braces.
Ah, okay.
I'll try that.
I have this:
Which gives the error "expected asm body before 'mov'"Code:asm (
mov edi, DestAddr
mov ecx, MixLen
mov esi, SrcAddr
);
You might need to put each asm command in quotes and do a newline. I don't recall ever doing that, but it's in this how-to that I found: http://www.ibiblio.org/gferg/ldp/GCC...-HOWTO.html#s4
Try just putting the whole thing in a quote rather than putting each line in them, that should eliminate the need for newlines.
*smashes head against desk*
I'll come back to this tomorrow. I need to get some sleep...