aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinlib.cpp
AgeCommit message (Collapse)Author
2012-12-13TINSEL: Clean up the sound codeFilippos Karapetis
2012-07-15TINSEL: Change SetMidiVolume() so that it doesn't start/stop music tracksFilippos Karapetis
Previously, SetMidiVolume() would stop the currently playing track when the MIDI volume was set to 0. Now, the music track always plays, even when the volume is set to 0. This fixes bug #3541533 - "DW: Silencing music volume stops music" and resolves two FIXME comments
2012-07-15TINSEL: Remove the GF_DEMO flagFilippos Karapetis
2012-05-17TINSEL: Refactored Tinsel engine to use the Common coroutine schedulerPaul Gilbert
2012-05-03TINSEL: Add basic PSX SEQ playback supportMatthew Hoops
Instrument bank support is not implemented yet
2012-02-22TINSEL: Rename globals to add g_ prefix.Alyssa Milburn
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-14ALL: centre -> centerMax Horn
2011-04-14ALL: colour -> colorMax Horn
2011-04-14TINSEL: Removed an unused global variablemd5
2010-11-17TINSEL: Get rid of some global variablesMax Horn
These were actually all "harmless" (i.e. where no obstructions to RTL support). Still good to get rid of 'em! svn-id: r54286
2010-11-16TINSEL: Mark all (?) global vars with a FIXME commentMax Horn
Use of global vars is what prevents RTL from working in Tinsel (and probably in other engines). More specifically, the fact that many global vars are not explicitly inited when the engine is (re)launched. svn-id: r54262
2010-11-16TINSEL: Removed unnecessary 'static'Max Horn
svn-id: r54261
2010-10-30TINSEL: Remove redundant if()Max Horn
svn-id: r53936
2010-10-30TINSEL: Remove unnecessary CORO_PARAM from ObjectTextOutMax Horn
As a nice side effect, this gets rid of 25 out of 64 occurrences of nullContext in the TINSEL code. svn-id: r53935
2010-10-22TINSEL: Ignore SV_SPEECHDELAY in DW2 DemoPaul Gilbert
This stops the long delays at the start of playing each sample svn-id: r53717
2010-10-22TINSEL: Fix incorrectly mapped opcode in DW2 DemoPaul Gilbert
svn-id: r53712
2010-10-22TINSEL: Remove unused functionPaul Gilbert
svn-id: r53711
2010-10-22TINSEL: Added new opcode set for the DW2 DemoPaul Gilbert
svn-id: r53708
2010-06-29Silence possible use of uninitialized variable warning in g++.Johannes Schickel
svn-id: r50501
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-02TINSEL: Turn config code into a simple C++ classMax Horn
svn-id: r45617
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-27TINSEL: Formatting cleanup, remove a dead var, tweaked comment to ↵Max Horn
Get/SetNoBlocking svn-id: r45450
2009-10-20TINSEL: Move BMV player code into a new BMVPlayer classMax Horn
svn-id: r45269
2009-10-20TINSEL: Start cleanup BMV codeMax Horn
svn-id: r45268
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-24TINSEL: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44295
2009-08-15Removed unnecessary semi-colons.Torbjörn Andersson
svn-id: r43409
2009-08-09Changed subtitles display speed to also include the time taken to say voice ↵Paul Gilbert
samples (if voices are turned on). This means subtitles will display for the same time irrespective of whether voices are on or not svn-id: r43150
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-25tinsel: remove the ugly psx l-space workaround, and instead add a check into ↵Fabio Battaglia
PlayMidi for psx version svn-id: r40884
2009-05-25tinsel: add PSX specific code to workaround the thief bug in past ↵Fabio Battaglia
ankh-morpork, i still have to give a better look at this though svn-id: r40882
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-04-29Re-introduced the ability to skip the title scenes in Discworld 1. Since the ↵Paul Gilbert
exact scene numbers differed between language versions, this new version simply relies on skipping the first four screens - hopefully, none of the various versions will have any extra title screens. svn-id: r40196
2009-04-27Fixed a method name clash, and changed the Restart dialog to properly use ↵Paul Gilbert
the renamed method, rather than just setting the global variable directly svn-id: r40158
2009-04-25Bugfix to the coroutine handling in CdDoChangePaul Gilbert
svn-id: r40140
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-01silence compiler warnings: the names of some tinsel defines were shadowing ↵Kostas Nakos
standard winapi defines svn-id: r39049
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-13Workaround to correctly return control to the player in the DW1 Demo after ↵Paul Gilbert
using the prunes svn-id: r35334
2008-12-13Bugfixes for text display and animations in DW1 demoPaul Gilbert
svn-id: r35333
2008-12-08Quickfix for tinlib compilation error. Changed type on zOverride from type ↵Lars Persson
int to int32 (signed int that is) to fit the SetMoverZ function and for valid comparison of zOveride != -1. svn-id: r35286
2008-12-07Added code differences for DW1 demo to allow the first game screen to startPaul Gilbert
svn-id: r35268
2008-12-06Library routine and interpreter fixes for the DW1 demoPaul Gilbert
svn-id: r35257