Eugene Sandulenko
ed82ccb95b
BACKENDS: More mutexes
2020-08-20 00:53:23 +02:00
Eugene Sandulenko
75a4e622c2
BACKENDS: Added debug output for race condition. Guarded by an #ifdef
2020-08-19 12:16:29 +02:00
Cameron Cawley
30c00656e1
NULL: Ensure that the timer callback is called regularly
2020-05-27 12:41:51 +02:00
Eugene Sandulenko
a94e90d838
BACKENDS: Fix potential race condition in DefaultTimer
2020-05-25 17:56:15 +02:00
mataniko
2f5eb14d4b
JANITORIAL: Rename additional RTL references and comments
2020-05-12 10:36:38 +02:00
Filippos Karapetis
da15a38b66
BACKENDS: Initialize more TimerSlot fields when resetting it
...
This imports changes from commit 05f3fe420f20e8e44ed525960fcb713b43d5d0ad
2019-07-14 15:12:07 +03:00
D G Turner
889cadaca5
BACKENDS: Fix GCC Compiler Warning in Default Timer Implementation
...
This is another instance of a warning from usage of memset on a
non-trivial data structure, but this can be removed and replaced by a
constructor.
2019-05-09 05:06:44 +01:00
Johannes Schickel
121687d2ed
BACKENDS: Make GPL headers consistent in themselves.
2014-02-18 02:39:32 +01:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel
2678bcda98
BACKENDS: Remove unused member in DefaultTimerManager.
...
Thanks to salty-horse for pointing this out.
2012-07-03 17:58:33 +02:00
Willem Jan Palenstijn
f17b9bc5cb
COMMON: Remove outdated fixme
2011-11-17 10:29:11 +01:00
Johannes Schickel
930f626dab
TIMER: Add a comment to explain why we remove the name in removeTimerProc.
2011-08-10 18:42:19 +02:00
Johannes Schickel
c443f113ed
TIMER: Remove all names associated with a callback, since all callbacks are removed.
...
This makes the name removal consistent with the timer proc removal.
It seems we only allow a specific timer proc being added once anymore though.
So this should not change too much right now.
2011-08-10 18:34:08 +02:00
Johannes Schickel
cea06991eb
TIMER: Remove name of callback in removeTimerProc.
...
This should fix #3389673 "LOOM: CD-Version crashes at start". It also fixes the
same error showing up for me in Monkey CD.
The doc changes in 4c7958450f
claims the name is used for the event
recorder, but as far as I can tell it is not used right now. Thus depending on
how it is used the behavior of SCUMM removing and adding the same timer aagain
*might* cause problems.
In any way we need to remove the name in removeTimerProc, else RTL + launching
the same game again would be broken too.
2011-08-10 18:22:25 +02:00
Eugene Sandulenko
2fa17c44ed
JANITORIAL: Remove SVN keywords
2011-08-06 11:30:47 +01:00
Eugene Sandulenko
4c7958450f
TIMER: Implemented checks for duplicated timers
2011-08-06 11:30:44 +01:00
Eugene Sandulenko
78f1ea7690
OSYSTEM: extended installTimerProc() with timer ID parameter
2011-08-06 11:28:35 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
dhewg
18d9654ca2
TIMER: Cleanup
2011-03-22 21:02:41 +01:00
Johannes Schickel
cb56c27b9a
Add FIXME about DefaultTimerManager implementation.
...
svn-id: r43627
2009-08-22 00:41:22 +00:00
Willem Jan Palenstijn
460131f5d3
Remove misleading comment.
...
svn-id: r38977
2009-02-28 19:31:42 +00:00
Max Horn
e68efca5a1
Doxygenified a comment
...
svn-id: r32827
2008-06-28 15:27:40 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
768852d010
Modified version of Torbjoern's patch from bug #1640420 (fixes an overflow in the default timer manager)
...
svn-id: r25165
2007-01-24 22:56:57 +00:00
Max Horn
2826657932
Increase timer accuracy again
...
svn-id: r24518
2006-10-26 07:25:25 +00:00
Max Horn
0dbfacaf12
Rewrote the DefaultTimerManager to use a priority queue instead of a fixed size slot array (semantics of timers changed slightly due to this in lag situations)
...
svn-id: r24515
2006-10-25 23:25:19 +00:00
Max Horn
e767681dcf
Removed unused return value & param from DefaultTimerManager::handler()
...
svn-id: r24447
2006-10-22 16:05:59 +00:00
Max Horn
07f7761479
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
...
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
c9fd9c4878
Added 'timer' backend module, based on the existing TimerManager code (work in progress)
...
svn-id: r23279
2006-06-24 09:53:45 +00:00