Commit Graph
56 Commits
Author SHA1 Message Date
Paul Gilbert 8e62240ed9 TITANIC: Show NPC portrait in Conversations tab after loading savegame 2017-08-25 17:37:03 -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 aad739120b TITANIC: Fix using Fn keys when Conversations tab is active 2017-08-22 20:07:50 -04:00
Paul Gilbert ca05dffec5 TITANIC: Fix Coverity suggestion in CPetConversations 2017-08-20 22:37:35 -04:00
Paul Gilbert 445e12f7ca TITANIC: Add Tab key as a shortcut for switching to inventory 2017-08-20 17:23:55 -04:00
Paul Gilbert e44c5bdcc6 TITANIC: Introduce movement via arrow keys
This also fixes a bug with Page Up, Down, Home, & End not working for
the Conversation tab. Additionally, code for scrolling individual
lines in the conversation and glyphs via the arrow keys has been
removed in favor of this centrallised movement, since they were
somewhat redundant, and the mouse wheel can be used for scrolling.
2017-08-04 22:00:49 -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 8777868c28 TITANIC: Fixes and cleanup for conversation dials movement 2016-12-15 22:58:04 -05:00
Paul Gilbert 8d9ddcfc2b TITANIC: Fix CPetConversations timerExpired 2016-12-10 20:33:35 -05:00
Paul Gilbert 20832d79fb TITANIC: Fix caseless string contains checks 2016-11-30 21:40:10 -05:00
Paul Gilbert 23af9d1a3c TITANIC: Load more text strings from data file 2016-11-11 15:24:53 -05:00
Paul Gilbert db1ed6db3e TITANIC: Correct naming usage for PET Text ending character index 2016-11-05 18:57:10 -04:00
Paul Gilbert 6eac69f45a TITANIC: Replaced int passenger class with PassengerClass enum 2016-11-05 11:02:39 -04:00
Paul Gilbert f89b0e8c45 TITANIC: Fixes to show speaking NPC image in conversation view 2016-11-04 20:53:42 -04:00
Paul Gilbert e790b9a5f0 TITANIC: Fix log heading for talking to Deskbot 2016-11-01 23:00:07 -04:00
Paul Gilbert 0f4ca41dad TITANIC: Add support for mouse wheel scrolling conversations log 2016-11-01 22:30:21 -04:00
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert 8eaf094bf5 TITANIC: Move text messages to DAT file 2016-09-10 23:16:15 -04:00
Paul Gilbert f0d208cdcf TITANIC: Added more sound manager methods 2016-08-06 12:14:02 -04:00
Paul Gilbert 01910f32f0 TITANIC: Fix identified warnings 2016-07-30 17:45:50 -04:00
Paul Gilbert 5ccc0a66da TITANIC: Removed const modifier from all saveable objects
Turns out that CGameObject::save regenerates the _movieRangeInfo list.
So the const suffix can no longer be used for the entire hierarchy
2016-07-15 19:25:58 -04:00
Paul Gilbert 6f063c4703 TITANIC: Fleshing out CGameObject and CPetControl methods 2016-07-15 19:25:09 -04:00
Paul Gilbert 0146a3c6b6 TITANIC: Added remaining CPetControl methods 2016-07-15 19:25:06 -04:00
Paul Gilbert 4ed93ca8f1 TITANIC: Cleanup of PET section classes methods to match original 2016-07-15 19:24:56 -04:00
Paul Gilbert 6f5f59af17 TITANIC: Added various PET methods 2016-07-15 19:24:46 -04:00
Paul Gilbert 6b376e2fa1 TITANIC: Added remaining PET Conversations methods 2016-07-15 19:24:41 -04:00
Paul Gilbert ec5dcc17dc TITANIC: Added TTtalker methods 2016-07-15 19:24:36 -04:00
Paul Gilbert e5e0e22c56 TITANIC: Beginnings of TTinput class 2016-07-10 16:39:32 -04:00
Paul Gilbert 0cbd9f5063 TITANIC: Changing TTNamed* classes to TTNpc* 2016-07-10 16:38:47 -04:00
Paul Gilbert 93f88cc668 TITANIC: Fix PET Conversations doorbot/bellbot icons 2016-07-10 16:38:02 -04:00
Paul Gilbert 6c2949ba23 TITANIC: Fix PET Conversations scroll buttons 2016-07-10 16:38:01 -04:00
Paul Gilbert 21f98fff46 TITANIC: Fix cursor and entering text in PET Conversations area 2016-07-10 16:37:59 -04:00
Paul Gilbert ce2a9c6f1b TITANIC: Minor fleshing out of PET Conversations and Inventory 2016-07-10 16:37:56 -04:00
Paul Gilbert 9d8208bd46 TITANIC: Miscellaneous PET Conversations methods 2016-07-10 16:37:55 -04:00
Paul Gilbert 6691dfa408 TITANIC: Implement PET Conversations dial logic 2016-07-10 16:37:53 -04:00
Paul Gilbert 2a107eb540 TITANIC: Simplify PET Element getBounds methods 2016-07-10 16:37:52 -04:00
Paul Gilbert 2fb6923211 TITANIC: Implement PET Text color remapping 2016-07-10 16:37:51 -04:00
Paul Gilbert 65dbc2a265 TITANIC: Resolve Pet Text fontNumber fields, getting npc nums 2016-07-10 16:37:50 -04:00
Paul Gilbert 01989265aa TITANIC: PET Conversations now partly rendering 2016-07-10 16:37:43 -04:00
Paul Gilbert 6de4295cc3 TITANIC: Identifiied Pet Section showCursor & hideCursor methods 2016-07-10 16:37:36 -04:00
Paul Gilbert 7af7838b86 TITANIC: Implement PET Conversations displayNPC 2016-07-10 16:37:35 -04:00
Paul Gilbert e47494a489 TITANIC: Implement TrueTalk script retrieval 2016-07-10 16:37:34 -04:00
Paul Gilbert d6b84cd9e1 TITANIC: Added PET Conversations leave and Text Cursor hide 2016-07-10 16:37:33 -04:00
Paul Gilbert 6ec129d188 TITANIC: Added PET Conversations enter, PET Timers, and Text Cursor show 2016-07-10 16:37:24 -04:00
Paul Gilbert 5d087a8fcd TITANIC: Implement PET Conversations & Text saving 2016-07-10 16:22:42 -04:00
Paul Gilbert 6fa57389a2 TITANIC: Finished PET Conversations input line processing 2016-07-10 16:22:41 -04:00
Paul Gilbert b117bae55a TITANIC: Implemented conversations text input entry 2016-07-10 16:22:40 -04:00
Paul Gilbert 487f2cef0f TITANIC: Handle Conversations double click, PET Text key handling 2016-07-10 16:22:39 -04:00
Paul Gilbert 23f5691b97 TITANIC: Implement summoning NPCs 2016-07-10 16:22:38 -04:00
Paul Gilbert 4fd482e418 TITANIC: Implement checks for whether NPCs can be summoned 2016-07-10 16:22:37 -04:00