Commit Graph
75 Commits
Author SHA1 Message Date
Filippos Karapetis 94fae0c94d TINSEL: Move all dialog-related functions into a new Dialogs class 2020-10-04 01:15:23 +03:00
Filippos Karapetis 9322b11fd8 TINSEL: Move all scroll-related functions into a new Scroll class 2020-10-04 01:15:20 +03:00
Filippos Karapetis efb0acb24f TINSEL: Clear some global vars upon engine destruction 2020-10-04 01:15:20 +03:00
Filippos Karapetis ae2e05cbd3 TINSEL: Move all handle-related functions into a new Handle class 2020-10-04 01:15:19 +03:00
Filippos Karapetis bb54f3cd4f TINSEL: Move all actor-related functions into a new Actor class
Also, merge the two different SetMoverZ() functions
2020-10-04 01:15:18 +03:00
Filippos Karapetis 4f269c76d1 TINSEL: Move all cursor-related functions into a new Cursor class 2020-09-25 22:24:14 +03:00
D G Turner 19563ca0f3 TINSEL: Fix Shadowed Constructor GCC Compiler Warning 2020-05-15 07:56:14 +01:00
Filippos Karapetis 63ae50e790 TINSEL: Replace usage of NULL with nullptr 2020-02-29 02:21:41 +02:00
Filippos Karapetis 939f7cf2b7 TINSEL: Move all the music related functions into a new Music class 2020-02-23 14:51:01 +02:00
Filippos Karapetis ae7f5ff95e TINSEL: Some work on the Japanese version of DW1 2020-02-22 19:16:30 +02:00
Filippos Karapetis 64b750ab2e TINSEL: Move background related functions into a new Background class 2020-02-22 18:41:39 +02:00
Filippos Karapetis 6fa96182f7 TINSEL: Move font-related code into a new Font class
Also, remove some wrapper functions in tinlib.cpp
2020-02-22 18:41:39 +02:00
D G Turner b25c4b21fd TINSEL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 23:12:30 +00:00
Paul Gilbert 9cda101b89 TINSEL: Fix some DW2 text/voice not playing all the way through 2017-07-16 11:07:39 -04:00
Johannes Schickel 9b138f4eb4 TINSEL: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Filippos Karapetis 687e47d332 TINSEL: Remove the unused ghost palette 2013-04-12 07:19:53 +03:00
Filippos Karapetis d45534d29d TINSEL: Remove the unused noFadeTable parameter from the fader functions 2013-04-12 07:19:52 +03:00
Filippos Karapetis 576d92e286 TINSEL: Clean up the sound code 2012-12-13 01:58:47 +02:00
Filippos Karapetis 1fffbe40ce TINSEL: Change SetMidiVolume() so that it doesn't start/stop music tracks
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-15 17:37:55 +03:00
Filippos Karapetis 89aa6573fe TINSEL: Remove the GF_DEMO flag 2012-07-15 14:38:26 +03:00
Paul Gilbert 41692ef48a TINSEL: Refactored Tinsel engine to use the Common coroutine scheduler 2012-05-17 20:42:23 +10:00
Matthew Hoops 76dfbbede4 TINSEL: Add basic PSX SEQ playback support
Instrument bank support is not implemented yet
2012-05-03 18:19:54 -04:00
Alyssa Milburn be35baddc7 TINSEL: Rename globals to add g_ prefix. 2012-02-22 23:14:29 +01:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
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-06-20 00:59:48 +02:00
Matthew Hoops 9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04: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
Max Horn 2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Max Horn 84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
md5 3d1dcefd46 TINSEL: Removed an unused global variable 2011-04-14 01:56:47 +03:00
Max Horn 5ceb54d088 TINSEL: Get rid of some global variables
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-17 12:13:23 +00:00
Max Horn 1dbf8d73d5 TINSEL: Mark all (?) global vars with a FIXME comment
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-16 09:53:55 +00:00
Max Horn ada9c9af60 TINSEL: Removed unnecessary 'static'
svn-id: r54261
2010-11-16 09:53:08 +00:00
Max Horn a487da3c19 TINSEL: Remove redundant if()
svn-id: r53936
2010-10-30 00:34:41 +00:00
Max Horn 36d17c74d1 TINSEL: Remove unnecessary CORO_PARAM from ObjectTextOut
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-30 00:34:21 +00:00
Paul Gilbert b8ff3eb491 TINSEL: Ignore SV_SPEECHDELAY in DW2 Demo
This stops the long delays at the start of playing each sample

svn-id: r53717
2010-10-22 22:09:59 +00:00
Paul Gilbert d771d98a92 TINSEL: Fix incorrectly mapped opcode in DW2 Demo
svn-id: r53712
2010-10-22 21:33:31 +00:00
Paul Gilbert a88d7b2905 TINSEL: Remove unused function
svn-id: r53711
2010-10-22 21:23:44 +00:00
Paul Gilbert 96723838c6 TINSEL: Added new opcode set for the DW2 Demo
svn-id: r53708
2010-10-22 21:08:27 +00:00
Johannes Schickel bf2b059a63 Silence possible use of uninitialized variable warning in g++.
svn-id: r50501
2010-06-29 18:20:10 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn 5cf868b757 TINSEL: Turn config code into a simple C++ class
svn-id: r45617
2009-11-02 21:56:29 +00:00
Max Horn 51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn 7d6e96fa80 TINSEL: Formatting cleanup, remove a dead var, tweaked comment to Get/SetNoBlocking
svn-id: r45450
2009-10-27 21:34:43 +00:00
Max Horn 00822d5661 TINSEL: Move BMV player code into a new BMVPlayer class
svn-id: r45269
2009-10-20 14:06:17 +00:00
Max Horn 5b514a9bd1 TINSEL: Start cleanup BMV code
svn-id: r45268
2009-10-20 14:05:35 +00:00
Max Horn f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Filippos Karapetis 3a976bfb6f TINSEL: Fixed some warnings about unreachable code
svn-id: r44295
2009-09-24 09:50:22 +00:00
Torbjörn Andersson 762d2dc03a Removed unnecessary semi-colons.
svn-id: r43409
2009-08-15 14:13:48 +00:00
Paul Gilbert 5dbd11abad Changed subtitles display speed to also include the time taken to say voice 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-08-09 01:05:47 +00:00