[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Troll] Troll Bridge 0.4



A new version of Troll Bridge is now available.  Some changes:

* Up and down have been reversed.  Before I had to store two images
for the shield.  By reversing the two I could eliminate one of the images.
* BinaryReadFile can do byte swapping so that files with a different
endian can be read.
* Some of the sprites were moved around.  Specifically any used on the
character selection screen have been moved to the beginning so that
mod packs that have a larger number of background images don't have to
break them up to put in the hardcoded image numbers.

* TrollExit and TrollEditExit have become one.
     Previously the classes used by the screen editor and those used by
the game are seperate.  This is mainly because I was lazy when creating
the screen editor and simply made everything public.  I'd like to
consolidate the classes so that I only have one read function but I
haven't figured out a good solution to the coupling problem.  Except for
TrollExit, all equivalent classes in Troll Bridge engine require the
TrollGame class which everthing else along with it.  I've thought of
making the TrollEdit* classes the base and derive (or make a member of)
the game engine ones but I feel like there should be a better way.
Hmmm... I kind of like the idea of the TrollScreen being an attribute of
a TrollActiveScreen class.  The only problem is the TrollSecret.  If
the TrollSecret has the execute function it must be coupled with the
TrollGame object.  (Sorry for the stream of consciousness.)

Dennis Payne
dulsi@identicalsoftware.com