AA compiled in VS.NET2003

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
klax
Project Developer
Posts: 481
Joined: Tue Jun 08, 2004 3:51 pm
Location: Barcelona, Spain
Contact:

AA compiled in VS.NET2003

Post by klax »

I've successfully compiled AA in VS.NET2003. Now I'll be able to test if my changes work in windows ;)

Here are the main changes if anyone wants to compile AA in this version:

SDL_main.c:
Add at the beginning:
#pragma comment(lib, "SDL.lib")
#pragma comment(lib, "SDLmain.lib")
#pragma comment(lib, "SDL_image.lib")
#pragma comment(lib, "SDL_mixer.lib")

Other errors:
Convert the conflicting fabs to abs like in this line:
if (fabs(xrel)>MREL*fabs(yrel)) --> if (abs(xrel)>MREL*abs(yrel))

Error in one sqrt(2) --> sqrt(2.0)

""Fix"" Error leak:
tMemManager.cpp:1024
Comment that line to this // tMemManager::Dispose(p);
Post Reply