[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] MapEdit scroll bug fixed
From: |
Bradley Arsenault |
Subject: |
Re: [glob2-devel] MapEdit scroll bug fixed |
Date: |
Wed, 17 Jan 2007 14:23:40 -0500 |
On 12/29/06, Stéphane Magnenat <address@hidden> wrote:
Hi,
I've fixed the map edit scroll bug.
Bradley, I noticed that you passed actions as string in the map editor. Why ?
An enum would be as expressive, typesafe, and faster.
Steph
--
http://nct.ysagoon.com
_______________________________________________
glob2-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/glob2-devel
I chose strings mainly because there more friendly. I agree with you,
an enum would be faster and can be as expressive when used properly. I
chose strings simply because speed isn't an issue, I *tried* to make
my map editor slow down my causing events near the bottom to go as
quickly as I can make them, and there was no noticable slowdown.
String events just seem simpler. Its more of a lesson I learned when
coding in python. Simpler is better.
--
Whats long and hard and filled with seamen? My submarine! - Bradley Arsenault
- Re: [glob2-devel] MapEdit scroll bug fixed,
Bradley Arsenault <=