Author Topic: Disabling Save/Restore  (Read 2916 times)

0 Members and 1 Guest are viewing this topic.

Offline MusicallyInspired

Disabling Save/Restore
« on: August 20, 2010, 12:45:03 PM »
How would I go about disabling the Save and Restore functions? I removed them from the menubar class but then it screws up the shortcut keys for some reason. CTRL+Q brings up the Save dialog and F7 brings up Restart Game or something. I think I remember succeeding before I just don't remember....any ideas? I mean disable Save/Restore for an entire game not just a certain section. I'm working on a new project and it's very short so it doesn't need Save/Restore.


Brass Lantern Prop Competition

Offline MusicallyInspired

Re: Disabling Save/Restore
« Reply #1 on: August 20, 2010, 01:10:49 PM »
I managed to successfully remove the Save/Restore functions by removing EVERY reference to Save and Restore from the menubar class but now Quit doesn't work. I believe it's because between Save/Restore and Quit in the menubar there is a separator that obviously isn't supposed to do anything and it's assigning Quit's functions to that control...which is nothing. Anyway, I can't figure out how to make Quit work while Save/Restore is disabled.
Brass Lantern Prop Competition

Offline MusicallyInspired

Re: Disabling Save/Restore
« Reply #2 on: August 20, 2010, 01:24:39 PM »
Never mind, I've figured it out. You have to go to the Game header file (game.sh) and renumber the menu functions there. This'll be handy for others who can't figure it out...
« Last Edit: August 20, 2010, 01:27:36 PM by MusicallyInspired »
Brass Lantern Prop Competition


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.05 seconds with 22 queries.