header image
Blog Menu
Developer
Mr Cryptic
Mr Frenzy
All
Who's Online
We have 8 guests online
Feeds
Home arrow Blog arrow Mr Frenzy arrow Pre Traumatic Refactor Disorder
Pre Traumatic Refactor Disorder PDF Print E-mail
Written by Joseph Sharp   
Aug 08, 2008 at 08:08 AM

Updates about the progress on CBLite have been sparse lately.  This is both good and bad.  First The Bad.  Summer is always a busy time of the year.  Additionally, there were some unforeseen circumstances that help exacerbate the situation.  Austin and I just couldn't find the time to work on the project between work, family and other duties.

The Good: Recently in the past few weeks Austin has suddenly found time to spend on CBLite every day.  Out of a feeling of obligation I have tried to match the time that he is spending.  So, each of us has been working on CBLite every day for the past few weeks. We have been so busy working on the project that we have kind of forgotten to update everyone on our progress.

Progress has been slow as always, however, we are preparing to release version 2.2 of CBLite with some nice new features.  Some of these feature will include:

  • Undo for Notes and specific EditFields.
  • Reworking of Dice Rolling to include real numbers.
  • Dice Functions including:
    • Round (Round a roll to the next nearest integer)
    • Floor (Round a roll down to the next integer)
    • Ceil (Round a roll up to the next integer)
    • Result (Show only the result of the roll and not all the calculations of the roll)
    • StripComments (Strip all the "Comments" from your roll)
    • StripSounds (Strip all the sounds from your roll)
    • NumbersOnly (A combination of StripComments and StripSounds)
    • Hide (Completely hide the roll from view. Nothing will be displayed)
  • Several Bug Fixes

As has been discussed before Undo was a major pain to implement.  Once I started working on it, and got over my insurmountable fear, it became easier and we were able to get Undo working for the Note Editor and all Editfields we wish to enable it for.  However, we have stopped there for an important reason.  Because it was no easy task to hook up to the Note Editor we don't want to have to deal with the same pain for each and every editor we are going to design.

In recent weeks Austin and I have come to realize that we need to rework and refactor a lot of our code so that it is easier to work with.  We are going to refactor all of our data classes so that they are more generic, and so that there is not so many different types.  This will make it easier to hook up to controls.  We also have to rework our controls so that they mesh with these new generic data classes.  Additionally, this will make it easier to have Undo on all our editors and won't require twice as much time to hook up as it would be if we didn't refactor the project. Needless to say, its going to be a painful transition.  But, in the long run this is going to speed up the project and make it easier to fix bugs and begin writing the Character Generation for CrystalBall 4.0


User Comments

Comment by GUEST on 2008-08-08 16:05:43
the reworking is always the most painful, if the most beneficial in the end. if it didn't hurt, did you really grow?


Last Updated ( Aug 08, 2008 at 08:47 AM )