Sign in to follow this  
Followers 0

Alternative Windows Compiler

Did you manage to get the latest Eternity codebase compiling OK with MingW or whatever the hell it was?

Share this post


Link to post

Yes, Eternity compiles under MinGW if you have SDL and SDL_mixer set up properly. I had compiled some extensive installation and compilation instructions to give you, but I didn't know that you were still interested, since you quit working on Millennium and Mordeth.

Share this post


Link to post

I still want to set Steve up with a Windows version of what I've done so far. Steve had another plan that hasn't quite come off yet. I still doubt I'll be able to code the boss or fix those particle bugs, but there's no reason not to properly finish everything else.

Also, I still plan to do a Windows version of the Caverns of Darkness engine sometime between now and when the sun explodes :)

Share this post


Link to post

The particle bugs in Millennium are very simple. First, some of the effects need features that Eternity didn't have -- until now, since I have added them in order to support Millennium. Second, you just have some slight incompatibilities:

1) It seems that in the old system, particles with the "fall to ground" flag automatically lived until they hit the ground. Eternity particles currently need a positive TTL value instead. I see you doing p->ttl = 1 a lot. That means the particle is only going to last for one gametic, so more than likely, you won't ever see it.

2) You still have some places where NULL is being dereferenced, like in the NewDrip function. You check in that function itself, but then you blindly return the value NULL and use it in the calling function. This is still not correct and will cause a crash.

I wouldn't worry about it though. Because of the complicated nature of some of these problems (imagine trying to calculate the proper TTL of an accelerating drip particle so that it dies x tics after it hits the ground -- this is more or less a calculus problem!), I am implementing some of those flags in Eternity, and putting several of the Millennium particle effects into the engine. Once they're in, you'll automatically not have to worry about them any more.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0