Opened 19 years ago

Closed 19 years ago

Last modified 6 years ago

#8495 closed patch

KYRA: debug console, text fade, misc

Reported by: vinterstum Owned by: lordhoto
Priority: normal Component: Engine: Kyra
Version: Keywords:
Cc: Game:

Description

* Implements a basic debugging console, with functions to look at various game data, and move to a specific room. * Implements text fading for the message bar. * Fixes an incorrect assert that would fire with high sceneIDs. * Minor cleanups, renamed a couple of generic variables and removed some redundancy from updateTimers() * Removed a double-coded function * Changed cmd_displayWSAFrame() to update the scene anims more often

Ticket imported from: #1376551. Ticket imported from: patches/600.

Attachments (3)

kyra-debugandtextfade_v1.patch (24.8 KB ) - added by vinterstum 19 years ago.
Debug console and text fading and misc, current to CVS at time of submission
kyra-debugandtextfade_v2.patch (27.2 KB ) - added by vinterstum 19 years ago.
v2 update, against current CVS
kyra-debugandtextfade_v3.patch (28.8 KB ) - added by vinterstum 19 years ago.
v3, against current CVS

Download all attachments as: .zip

Change History (10)

by vinterstum, 19 years ago

Debug console and text fading and misc, current to CVS at time of submission

comment:1 by lordhoto, 19 years ago

Owner: set to lordhoto

comment:2 by lordhoto, 19 years ago

ok some remarks: - text fading for the message bar seems to be buggy, sometimes it fades out very fast and sometimes very slow - the debugger console is nice, but the enter command is a bit uncomplete maybe you should force set brandons character position to an value specific by the user for that it looks ok but you should use : '%s' instead of %s in the function debug calls.

by vinterstum, 19 years ago

v2 update, against current CVS

comment:3 by vinterstum, 19 years ago

- Fixed text fading by resetting the timer at a different spot - changed the enter command in the debug console, now allows you to optionally specify a direction to enter from, and otherwise will use the first valid one. - Fixed the debug function formatting... - Fixed some drawing update issues in cmd_displayWSASequentialFrames() - Blocked debug console from popping up if... it's already up.

by vinterstum, 19 years ago

v3, against current CVS

comment:4 by vinterstum, 19 years ago

V3:

- Debug console wasn't detaching properly (introduced in V2), fixed. - Renamed cmd_Poison_Brandon_And_Remaps() to cmd_poisonBrandonAndRemaps(), for consistency.

comment:5 by lordhoto, 19 years ago

Status: newclosed

comment:6 by lordhoto, 19 years ago

Thanks commited now in a few minutes. Keep up the good work!

comment:7 by digitall, 6 years ago

Component: Engine: Kyra
Note: See TracTickets for help on using tickets.