aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinlib.cpp
AgeCommit message (Collapse)Author
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
2008-12-06Beginning of support for DW1 Demo - Interpret has been changed to support ↵Paul Gilbert
opcode differences, and CallLibraryRoutine has a new mapping list of routines svn-id: r35252
2008-12-01Merged the tinsel 2 engine with tinsel 1. Both Discworld 1 and Discworld 2 ↵Filippos Karapetis
should be completable svn-id: r35196
2008-09-01Merging more of the GSoC 2008 RTL branch: TINSELMax Horn
svn-id: r34257
2008-08-30cleanupMax Horn
svn-id: r34211
2008-08-06Added RTL feature to TinselChristopher Page
svn-id: r33671
2008-07-25TINSEL: Got rid of PIMAGE, PINT_CONTEXT, PINV_OBJECT, PINV_DEF, PCONFBOX, ↵Max Horn
PCONFINIT svn-id: r33282
2008-07-24Moved scheduler / process managment code into a new class SchedulerMax Horn
svn-id: r33259
2008-07-23Added Tinsel engine to main repos (no news item for it ON PURPOSE)Max Horn
svn-id: r33230