destiny team mailing list archive
-
destiny team
-
Mailing list archive
-
Message #00268
Re: Sleuths Fixes
Fixed a bug in which Interviews were not being added to the Notebook. The
reason is because while we were treating the Interview as a tool, we weren't
actually doing so in the code. We have entries for the Interview tool in the
Interactions.xml files, but there is only a tool id of 5, but no object id.
So, I had Ian update all of the Interactions.xml files and I fully
implemented the Interview as a tool. By doing this I was able to refactor
Scene::getInteraction() to do the look-up directly instead of checking if we
had a "tool" or an "interview".
Please test this out and let me know if you find any issues.
Zach J. Elko
Ball State University Unified Technology Support
Certified Hardware & Software Technician
On Sat, Apr 10, 2010 at 5:05 PM, Zach Elko <zachelko@xxxxxxxxx> wrote:
> Added close button to the notebook.
>
>
> Zach J. Elko
> Ball State University Unified Technology Support
> Certified Hardware & Software Technician
>
>
> On Sat, Apr 10, 2010 at 4:58 PM, Zach Elko <zachelko@xxxxxxxxx> wrote:
>
>> I'll start this thread now so everyone can be up to date on the
>> changes/fixes I've made to Sleuths.
>>
>>
>> - The notebook is now constructed at launch and displayed when needed.
>> This fixes the bug that a new, unique notebook gets brought up at the end of
>> the game when they choose to solve.
>> - Clues are automatically added to the notebook when they are
>> uncovered.
>> - After they try to solve the case, their notes are cleared out. This
>> fixes the bug in which if they chose to play again (either the same scenario
>> or a different one) all of the previous notes would still exist.
>> - I added a constant to the Scene class to represent a "nothing found"
>> interaction. This is used from within MainWindow to check if an interaction
>> occurred or not. I also did some slight refactoring to slotObjectClicked().
>> - All of the old radio button stuff has been removed for the tools.
>> - ...I think that's it for now. I'll let you know if I do anything
>> else do it. But try out the changes and let me know if I broke anything!
>>
>> Zach J. Elko
>> Ball State University Unified Technology Support
>> Certified Hardware & Software Technician
>>
>
>
Follow ups
References