Commit Graph

55 Commits

Author SHA1 Message Date
Paul Gilbert
481e18ee1d TITANIC: Create a separate g_language global in it's own file
I was becoming concerned with more and more files having to add the
full engine definition and sub-classes thereof via titanic.h,
just so the TRANSLATE macro could call getLanguage. This way, files
just need to include the lightweight translation.h file instead
2017-09-17 16:24:26 -04:00
Paul Gilbert
6cac39b646 TITANIC: Add differing response Id range checks for German 2017-09-16 22:03:36 -04:00
Paul Gilbert
cedd15f3f3 TITANIC: Fix incorrect sound effect in German prologue 2017-09-16 20:26:43 -04:00
Paul Gilbert
aa3adfb4b1 TITANIC: Allow GMM loading from the copyright and continue dialog 2017-09-05 23:01:12 -04:00
Paul Gilbert
0c2fc12756 TITANIC: Hook up in-game sound sliders to ScummVM volumes 2017-09-05 21:11:06 -04:00
David Fioramonti
9b10f5dc29 TITANIC: Fixed titanic.h float random function range
Fixed float random number function of titanic.h which could of given
65537 instead of a max of 65535.
2017-08-24 04:30:59 -07:00
David Fioramonti
c96b01b82e TITANIC: Reduce header includes for titanic.h
I reduced the header includes a lot in Titanic.h and forward
declared when I could. Titanic.h was including a lot and
a lot of functions that were including it were not using its
API. This will help make it more clear which implementation
files are using which class since they will just need to include
which ones they need.

I also moved the debug related items in Titanic.h into the debugger
header.

I also reordered several of the the header includes to be local to
global.
2017-08-24 04:06:54 -07:00
Paul Gilbert
78ed19d429 TITANIC: Disable fix for dispensed chickens' initial temperature
The original had a bug that didn't dispense chickens as cold when
the yellow fuse was removed from the fusebox. Too many walkthroughs
suggest removing it though, so I'm disabling fix to avoid confusion.
2017-08-23 22:43:10 -04:00
Paul Gilbert
8e35f77e2d TITANIC: Implement F5 & F7 Saving and Loading 2017-08-18 21:53:57 -04:00
Paul Gilbert
0b8af4163b TITANIC: Show initial transform anim when Titania pieces added to inventory 2017-07-28 20:24:09 -04:00
Paul Gilbert
b24c66e096 TITANIC: Add German sound filenames for spaceship crash 2017-06-25 13:24:10 -04:00
Paul Gilbert
c9b5c524ca TITANIC: Show GUI error dialog if titanic.dat is missing 2017-06-20 19:52:11 -04:00
Paul Gilbert
9b09900a07 TITANIC: Minor cleanups, comments, and feature flags to meta engine 2017-06-17 13:15:23 -04:00
Paul Gilbert
fa27fd7478 TITANIC: Extra debugging info for starfield movement 2017-04-16 13:03:12 -04:00
Paul Gilbert
903cffca28 TITANIC: Change debug level constants to have a DEBUG_ prefix 2017-04-04 20:53:31 -04:00
Paul Gilbert
0267faf5c3 TITANIC: Fix some starfield startup crashes and initialization 2017-03-13 22:17:40 -04:00
Paul Gilbert
297cb6be82 TITANIC: Code for starfield mode setup & photo code 2017-03-02 21:07:28 -05:00
Paul Gilbert
13932b68a5 TITANIC: Fix entering & exiting first class suites 2016-12-16 21:27:43 -05:00
Paul Gilbert
23af9d1a3c TITANIC: Load more text strings from data file 2016-11-11 15:24:53 -05:00
Paul Gilbert
7d9526f888 TITANIC: Simplify German version checks 2016-09-11 16:53:44 -04:00
Paul Gilbert
8b3829549a TITANIC: Cleanup of engine references 2016-08-22 20:22:41 -04:00
Paul Gilbert
bc9abfadf4 TITANIC: Implemented CArboretumGate class 2016-08-12 20:07:29 -04:00
Paul Gilbert
4f08292c8c TITANIC: Add support for arbitrary window event targets
Also moved all standard game event methods to CMainGameWindow. This
will allow for the Continue Save dialog to be added in and get
events instead of the game window
2016-07-22 21:54:48 -04:00
Paul Gilbert
fb06cb4dde TITANIC: Added CMovieManager class 2016-07-15 19:27:13 -04:00
Paul Gilbert
04afc63379 TITANIC: Adding savegame header load/save methods 2016-07-15 19:25:03 -04:00
Paul Gilbert
07c1b2b23d TITANIC: Fleshing out of CTrueTalkManager class 2016-07-15 19:17:12 -04:00
Paul Gilbert
3878f38d8c TITANIC: Move replacement string arrays into TTparser, added NUMBERS array 2016-07-15 19:12:22 -04:00
Paul Gilbert
e16239e21f TITANIC: Implemented parser replaceNumbers sub-methods 2016-07-15 19:12:02 -04:00
Paul Gilbert
e1ba967233 TITANIC: Moved other static arrays from Titanic engine to dat file 2016-07-15 19:12:00 -04:00
Paul Gilbert
e5e0e22c56 TITANIC: Beginnings of TTinput class 2016-07-10 16:39:32 -04:00
Paul Gilbert
7700923298 TITANIC: Change CFileReader to CExeResoucres 2016-07-10 16:39:19 -04:00
Paul Gilbert
0820c3ffae TITANIC: Refactor CTitleEngine to use CFilesManager for PE resources 2016-07-10 16:39:01 -04:00
Paul Gilbert
71179e3763 TITANIC: More script handler setup 2016-07-10 16:38:52 -04:00
Paul Gilbert
c4375b134a TITANIC: Beginnings of STVocab class, CScriptHandler constructor 2016-07-10 16:38:51 -04:00
Paul Gilbert
8a6a5ad5c1 TITANIC: In progress implementation of PET Remote 2016-07-10 16:38:04 -04:00
Paul Gilbert
066dd4f5cd TITANIC: Implementing PET inventory population 2016-07-10 16:11:17 -04:00
Paul Gilbert
62b087adce TITANIC: Fleshing out CTelevision::MovieEndMsg 2016-04-10 10:20:06 -04:00
Paul Gilbert
e3d02532f7 TITANIC: Implementing preliminary video playback code 2016-04-08 20:46:03 -04:00
Paul Gilbert
1efbed5409 TITANIC: Move most of the root classes into new support/ folder 2016-04-03 16:16:35 -04:00
Paul Gilbert
7ef899f18d TITANIC: Implementing CPetInventory setup 2016-04-01 21:58:39 -04:00
Paul Gilbert
845e25d118 TITANIC: Added item strings 2016-04-01 20:37:44 -04:00
Paul Gilbert
7320498409 TITANIC: Implementing more CTelevision code, CGameState movie list 2016-03-25 00:01:15 -04:00
Paul Gilbert
1e6a320010 TITANIC: Implementing view draw code 2016-03-21 21:51:29 -04:00
Paul Gilbert
61947ef56b TITANIC: Create Event manager class 2016-03-18 20:04:54 -04:00
Paul Gilbert
13a8e5f822 TITANIC: Implement debugger with dump and room commands 2016-03-17 22:29:16 -04:00
Paul Gilbert
a8d94d448e TITANIC: Fixes to make message handling const, adding CEnterRoomMsg handlers 2016-03-17 19:58:59 -04:00
Paul Gilbert
6a26539abb TITANIC: Fleshing out resource key and view loading 2016-03-15 23:49:18 -04:00
Paul Gilbert
3c29a10130 TITANIC: Further graphics setup, beginnings of files manager 2016-03-14 23:09:57 -04:00
Paul Gilbert
b57805bd4b TITANIC: Added main game event loop 2016-03-13 15:39:35 -04:00
Paul Gilbert
819b773491 TITANIC: Add message generation at end of applicationStarting 2016-03-13 15:30:12 -04:00