Commit Graph
76 Commits
Author SHA1 Message Date
Paul Gilbert 721041bc30 TITANIC: Fix Coverity warnings 2017-10-09 07:57:55 -04:00
Paul Gilbert 6723bed162 TITANIC: DE: Fixes to vocabs, strings, and font in titanic.dat 2017-10-06 21:07:00 -04:00
Paul Gilbert b033d1bbd9 TITANIC: Added German specific TTnpcScript doSentenceEntry code
I'm not entirely happy I had to put this in the base TTnpcScript
rather than somewhere in the new german/ subfolder, but I couldn't
think of any clean way to do it except nasty designs like diamond
multiple inheritance
2017-09-17 18:42:00 -04: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 7b61e71ae5 TITANIC: Fix quote searches done by all the bots 2017-07-19 18:56:04 -04:00
Paul Gilbert ec4550fae5 TITANIC: Fix NPC data copying/clearing in copyData 2017-06-19 18:59:57 -04:00
Paul Gilbert c31efeb8c7 TITANIC: Add missing copyData method to TTnpcScript 2017-02-04 19:20:11 -05:00
Paul Gilbert 4b1762d649 TITANIC: Revert field renamings in CScriptHandler
I initially thought the four concept fields could be given a relevant name
for actor, object, and verb, but on further analysis, it looks like what
fields go in which concept slot depends on the kind of sentence. I haven't
been able to find any consistency, so I'm reverting them back to being
called _concept1P through _concept4P
2017-01-28 16:14:45 -05:00
Paul Gilbert 4353fd8b66 TITANIC: Further CScriptHandler renamings 2017-01-28 15:24:52 -05:00
Paul Gilbert d356d87378 TITANIC: Fix saving games when there is range data to be included 2016-12-17 22:26:16 -05:00
Paul Gilbert 81bf4476cd TITANIC: Revert incorrect change to category check in processEntries 2016-12-17 10:36:47 -05:00
Paul Gilbert e21b38df66 TITANIC: Fix getting 1st class suite from Deskbot 2016-12-16 20:47:13 -05:00
Paul Gilbert f29a2f31f1 TITANIC: Fix saving and loading of NPC dial values 2016-12-15 23:26:44 -05:00
Paul Gilbert 5474a9b7c1 TITANIC: Field renamings, and fix for incorrect switch cases 2016-11-11 10:23:18 -05:00
Paul Gilbert f6593ce9c0 TITANIC: Simplify freeing class list on exit 2016-11-07 07:36:52 -05:00
Paul Gilbert 73030bd42f TITANIC: Fix BellBot's intro speech 2016-11-06 22:31:27 -05:00
Paul Gilbert 1e9e6d901f TITANIC: Fix default return of TTnpcScript::handleQuote 2016-09-02 08:08:10 -04:00
Paul Gilbert 0f30caff93 TITANIC: Minor fix and cleanup for NPC talking startup 2016-09-02 07:54:44 -04:00
Paul Gilbert 67be58f562 TITANIC: Implemented more game classes, fleshed out season handling 2016-08-27 20:44:44 -04:00
Eugene Sandulenko 34cbdd8a1d TITANIC: Fix warnings 2016-08-01 12:26:58 +03:00
Paul Gilbert 0192f83c5e TITANIC: Added LiftbotScript methods 2016-07-31 21:00:57 -04:00
Paul Gilbert 07bf730443 TITANIC: Adding lots of const prefixes 2016-07-31 14:31:36 -04:00
Paul Gilbert e2b00938c7 TITANIC: Added DeskbotScript preprocess 2016-07-31 13:06:51 -04:00
Paul Gilbert c3ba0badd1 TITANIC: Added BellbotScript preprocess 2016-07-30 16:41:01 -04:00
Paul Gilbert 1adebe83dc TITANIC: Added NPC randomResponse methods, reworked NPC data 2016-07-30 12:15:28 -04:00
Paul Gilbert 6aef21517f TITANIC: Rename NPC scripts proc25 to doSentenceEntry 2016-07-29 22:27:07 -04:00
Paul Gilbert eef9303027 TITANIC: Handle NPC postResponse methods 2016-07-29 22:07:49 -04:00
Paul Gilbert 0243d5b677 TITANIC: Add NPC preResponse methods 2016-07-29 21:57:35 -04:00
Paul Gilbert c7bd63d881 TITANIC: Added BarbotScript updateState 2016-07-28 22:05:16 -04:00
Paul Gilbert 875a9998c5 TITANIC: Added BellbotScript updateState 2016-07-27 22:26:23 -04:00
Paul Gilbert 8cc9142a92 TITANIC: Renaming for NPC state methods 2016-07-27 19:41:07 -04:00
Paul Gilbert 89da2a8857 TITANIC: Moved handleQuote data arrays to datafile 2016-07-27 06:43:12 -04:00
Paul Gilbert ebeea1bb23 TITANIC: Added remainder of BarbotScript handleQuote 2016-07-26 22:27:47 -04:00
Paul Gilbert 04931130b4 TITANIC: Split NPC script support data structures to their own file 2016-07-26 20:25:44 -04:00
Paul Gilbert fcb42d5715 TITANIC: Added Bellbot & Deskbot proc25 2016-07-25 21:01:36 -04:00
Paul Gilbert 9c763c978d TITANIC: Added BarbotScript proc25 2016-07-25 19:38:33 -04:00
Paul Gilbert 3efc9f5cde TITANIC: Added NPC scripts gitDialsBitsets methods 2016-07-25 08:17:22 -04:00
Paul Gilbert 3c547b6b35 TITANIC: Load word lists for each NPC Script class 2016-07-24 23:08:46 -04:00
Paul Gilbert 6558eb78c3 TITANIC: More NPC Script support methods 2016-07-24 22:30:30 -04:00
Paul Gilbert cf805b07d3 TITANIC: Adding NPC Script support methods 2016-07-24 22:13:55 -04:00
Paul Gilbert 6e2a4edd2a TITANIC: Finish TTbarbotScript process method 2016-07-24 19:44:19 -04:00
Paul Gilbert 125a38c98a TITANIC: In progress adding TTbarbotScript process method 2016-07-24 16:29:41 -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 0ed7b463e8 TITANIC: Fixes for saving & loading savegames 2016-07-20 21:51:44 -04:00
Paul Gilbert ec5dcc17dc TITANIC: Added TTtalker methods 2016-07-15 19:24:36 -04:00
Paul Gilbert 441d168d37 TITANIC: Replace NPC proc23 methods with a single getMapping 2016-07-15 19:23:31 -04:00
Paul Gilbert a5e6d1e345 TITANIC: Remove deprecated NPC methods for data now loaded from DAT file 2016-07-15 19:23:28 -04:00
Paul Gilbert f4ce2d04c3 TITANIC: Added Deskbot dial test methods 2016-07-15 19:23:16 -04:00
Paul Gilbert d13501bd1c TITANIC: Added TTnpcScript getDialLevel 2016-07-15 19:23:13 -04:00
Paul Gilbert 840557236c TITANIC: Add loading of NPC tag maps, TTnpcScript translateId method 2016-07-15 19:23:10 -04:00