Complete.Org: Mailing Lists: Archives: freeciv: February 2000:
[Freeciv] Re: Freeciv goals
Home

[Freeciv] Re: Freeciv goals

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: Freeciv goals
From: Asher Densmore-Lynn <jesdynf@xxxxxxxxxxxx>
Date: Tue, 29 Feb 2000 23:50:18 -0600

On Tue, Feb 29, 2000 at 11:47:32PM +0100, Tomasz Wegrzanowski wrote:

> New goal proposal : MoM-compat mode.

<choke> <snicker>

I've been thinking and puzzling and wondering about just that for quite a
long time now.

I was wanting to use the FreeCiv GUI and write a new -server- to let me
write Master of Magic.

Remember how unstable Master of Magic was? Wanna know why? You can figure it
out if you just sit down with pencil and paper and figure out to implement
-Unit Enchantments-.

Aside from a Big Honking Switch Statement, which doesn't really appeal to
me, you get tangled up in the most dreadful OOP contortions.

I'm still working on it, myself -- I think it's gonna have to be done in
Java. I haven't figured out how to do it, yet, but I'm still thinking about
it.

As a bonus, if you think you've managed to do it, remember that you're
either looking at a clean, modular interface, or a horrendously unstable
hack that's gonna break every three new spells you code in. That's why I
haven't done it yet -- I'm gonna do it once, and I'm gonna do it the right
way, even if it kills me.

[Don't believe me? Write the defense modification code for everyone's favorite
black Paladin enhancement spell, and without using the construct "||
SP_BERSERK".]

It's been done once before -- medium-well. They obviously still had
problems. It can be done, but how...?

-- 
Asher Densmore-Lynn <jesdynf@xxxxxxxxxxxx>



[Prev in Thread] Current Thread [Next in Thread]