[airstrike] Airstrike Win32

Arne Gellhaus arne at gellhaus.de
Tue Oct 29 15:07:34 EST 2002

> -----Original Message-----
> From: Ulf Ekström [mailto:ulfek at ifm.liu.se] 
> Sent: Dienstag, 29. Oktober 2002 17:16
> To: airstrike at icculus.org
> Subject: Re: [airstrike] Airstrike Win32
> It is at least good to know that it compiles (and runs?)

Yes, it runs without problems. But - as you stated in the release notes
- the red plane is not a hard enemy ;-).

One problem I noticed: the sound lags very much. I don't know how this
is in the Linux version.

Can you tell me why pre5 was marked as DoA?

> Did you have to change any code to make it compile? If so 
> please send a patch so that it can be fixed in CVS.

Only a small change. I did not make a CVS checkout yet, so here just in
plain text.

I had to change the definition of main() in src/airstrike.c to:

int main(int argc, char *argv[])

So it matches its declaration in SDL_main.h:

extern C_LINKAGE int SDL_main(int argc, char *argv[]);

This is because main is defined to SDL_main:

#define main	SDL_main

I don't know if it's the same in other platforms SDL.

After this my plane was ready to take off.

> One question to you and also to Peter:
> Is it a problem that I use '/' in paths?

For MinGW it isn't. I think it is the same with VC6.

My executable (airstrike.exe) takes 519 KB (532.196 bytes) on my
harddisk. After stripping 68,5 KB (70.144 bytes).

It depends (directly, some of the DLLs have other dependencies) on


So the difference to Peters Version is MSVCRT.DLL. His executable
depends on MSVCR70D.DLL, which is by the way the debug version and not
freely distributable.


More information about the airstrike mailing list