Opened 22 years ago
Closed 22 years ago
#479 closed defect (fixed)
cant save/load
Reported by: | SF/th3d4rk | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Monkey Island 2 |
Description
With the current windows snapshot (09/29/02) its impossible to save a game. what ever i do (select/save) or (press save and then select) i cant save. also STRG+0-9 dont work.
Ticket imported from: #616423. Ticket imported from: bugs/479.
Change History (5)
comment:1 by , 22 years ago
comment:2 by , 22 years ago
Owner: | set to |
---|
comment:3 by , 22 years ago
Passing the ball (although its my fault for making newgui default :).
Comments on eriktorbjorns proposed fix?
comment:4 by , 22 years ago
The problem was caused by the switch to a seperate event loop for the GUI. Obviously it's a very bad idea to base timing on event counts. I'll change it to properly look at the time that passed instead.
comment:5 by , 22 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The problem with saving is quite silly, really. You should be able to select a savegame slot and press Enter to get into edit mode, but the keyboard auto-repeat is so fast that it's pretty much impossible to get just one keypress.
There's a line in newgui.cpp that says
if ( _keyRepeatLoopCount >= ((_keyRepeatEvenCount > 1) ? 2 : 4) )
Changing it to something like
if ( _ keyRepeatLoopCount >= ((_keyRepeatEvenCount > 1) ? 3 : 65) )
gave me a much more reasonable behaviour.