Opened 12 years ago

Closed 12 years ago

Last modified 12 months ago

#8719 closed patch

GOB: Some optimizations for slow computers

Reported by: SF/uweryssel Owned by: DrMcCoy
Priority: normal Component: Engine: Gob
Keywords: Cc:
Game:

Description

This patch request should fix bug #1767748
(GOB: Unnecessary slowdown on slow computers)

Following changes are done:

In gob/video.cpp:
- Removed _lastRetraceLength measurement

In gob/driver_vga.cpp:
- Optimized "drawSprite" routine

In gob/game_v1.cpp:
- Changed the start point of time key setting in
method "checkCollisions" to include the blitting
time (in animateCursor) in the time measurement.
- Additionally force at least one loop pass,
to avoid skipped frames.
- Prevent the 10 ms delay on low deltaTimes.

Ticket imported from: #1777241. Ticket imported from: patches/824.

Attachments (1)

diff.txt (4.2 KB ) - added by SF/uweryssel 12 years ago.
svn diff of the changed code

Download all attachments as: .zip

Change History (4)

by SF/uweryssel, 12 years ago

Attachment: diff.txt added

svn diff of the changed code

comment:1 by DrMcCoy, 12 years ago

Okay, checked it in. Thanks! :D

comment:2 by DrMcCoy, 12 years ago

Owner: set to DrMcCoy
Status: newclosed

comment:3 by digitall, 12 months ago

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