Disable CTRL-V function

Started by GarageGothic, Thu 22/01/2004 15:11:47

Previous topic - Next topic

GarageGothic

I haven't seen a single AGS game where CTRL-V doesn't show the AGS version along with all that techical stuff (resolution, sprite cache etc.). At first I thought it was part of the global script, but it seems to be hard coded? Strangely, it's part of the debug code as well.

Is it all possible to disable this function? Can it be overridden by another key-press check for CTRL-V?

SSH

#1
Quote from: GarageGothic on Thu 22/01/2004 15:11:47
I haven't seen a single AGS game where CTRL-V doesn't show the AGS version along with all that techical stuff (resolution, sprite cache etc.). At first I thought it was part of the global script, but it seems to be hard coded? Strangely, it's part of the debug code as well.

Is it all possible to disable this function? Can it be overridden by another key-press check for CTRL-V?

no: i tried:

if (keycode==22)  ClaimEvent();

and Ctrl-V still gives that info, with debug mode turned on or off. Methinks there is a bug undocumented feature here!

While we're on the debug functionality, can't we have the abiltity to control if it is on or not in a script, so it has to be enabled by password or something? It saves having to remember to turn debug off before releasing...
12

Akumayo

Jeez your right, that thing comes up in every game, that's not cool.  But, does it really matter, or are we just being irritated about it... ;)
"Power is not a means - it is an end."

GarageGothic

#3
Thanks for the info.

Nah, it's not really important. I was just wondering about it. It's like all the old AGI games where you could always press alt-d to get version info (and sometimes enter debug mode). It's just weird that it's in the debug part of the global script, if it always works anyway, that's all.

Quotecan't we have the abiltity to control if it is on or not in a script, so it has to be enabled by password or something? It saves having to remember to turn debug off before releasing...

You'd rather type in a password EVERY time you want to debug than remember to turn it off ONCE right before release? Maybe there should just be a checklist in the manual: "Things to do before final release". Add custom icon, check. Add loading screen, check. Remember to include the license.txt files, check. Turn off debug access, check.

Ishmael

I made a toggleable debug mode to MRC. If you press the right key combination, the word "DEBUG" will show up in the upper-left corner of the screen. It is useful, although I didn't need to debug the game during the last test runs, after I had added the toggling...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk