aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/view_item.cpp
AgeCommit message (Collapse)Author
2017-08-24TITANIC: Reduce header includes for titanic.hDavid Fioramonti
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-08TITANIC: Further improvements to arrow key movementPaul Gilbert
The movement code, when deciding on an item or link that matches the desired direction, will check five points on the object/links area.. center, left edge, right edge, top edge, and bottom edge. For each of these, it makes sure that at that point, clicking will actually get passed to it. Otherwise, it moves onto one of the other edges. This helps avoid issues where links weren't working because standard scene objects were partially obscuring them.
2017-08-06TITANIC: Remove development link left in computer screen viewPaul Gilbert
2017-08-06TITANIC: Don't allow movement link to be used in Starfield PuzlzePaul Gilbert
The scene has an unused right turn link that wasn't used, and is covered by the starview. Since movement now uses simulated mouse clicks, the worst result of clicking right arrow is simply that a star may be accidentally selected. But for cleanliness, it was best to fix it. It also allowed the creation of code that other objects in the view can use to override default movement logic, just in case it's needed.
2017-08-06TITANIC: Changing arrow movement to be done via simulated mouse clicksPaul Gilbert
2017-08-06TITANIC: Create new CMovementMsg for new movement functionalityPaul Gilbert
This also moves logic for detecting which movement is associated with given keycodes and cursors to CMovementMsg and CLinkItem, which are better suited to contain the logic
2017-08-05TITANIC: Fix arrow keys allow getting to bridge before Titania is fixedPaul Gilbert
2017-08-04TITANIC: Fix arrow movements ignoring restricted movesPaul Gilbert
2017-08-04TITANIC: Introduce movement via arrow keysPaul Gilbert
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-07-30TITANIC: Update cursor after transitioning to new viewsPaul Gilbert
2017-07-23TITANIC: Adjust the switch/case fall-through commentsBastien Bouclet
This way, GCC 7 does not generate a warning for those cases when -Wimplicit-fallthrough=3 is enabled, which is now the default.
2017-06-11TITANIC: CGameManager viewChange better named as roomChangePaul Gilbert
2017-02-27TITANIC: Fix PET not showing on savegame load in front of nav helmetPaul Gilbert
2017-02-16TITANIC: Further renamings for CGameObjectPaul Gilbert
2016-12-28TITANIC: Fix activating Bilge SuccUBusPaul Gilbert
2016-11-12TITANIC: Renamings of transitioning counter methodsPaul Gilbert
2016-11-09TITANIC: Fix crashing entering liftsPaul Gilbert
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-09-03TITANIC: Fix message targets when changing viewsPaul Gilbert
2016-09-01TITANIC: Fix infinite loop in CViewItem findLinkPaul Gilbert
2016-09-01TITANIC: Convert many static_casts to dynamic_castPaul Gilbert
2016-08-02TITANIC: Further work on view and node positioningPaul Gilbert
2016-08-02TITANIC: Fleshing out cViewItem classPaul Gilbert
2016-08-01TITANIC: Fix Coverity warningsPaul Gilbert
2016-07-15TITANIC: Removed const modifier from all saveable objectsPaul Gilbert
Turns out that CGameObject::save regenerates the _movieRangeInfo list. So the const suffix can no longer be used for the entire hierarchy
2016-07-15TITANIC: gcc compilation fixesPaul Gilbert
2016-07-15TITANIC: Added CTrueTalkManager playSpeechPaul Gilbert
2016-04-07TITANIC: Add CComputer messages, more view change logicPaul Gilbert
2016-04-07TITANIC: Minor change to Cursor enumPaul Gilbert
2016-04-07TITANIC: Fix showing custom cursors when highlighting objectsPaul Gilbert
2016-04-06TITANIC: Furhter in-progress message handling conversionPaul Gilbert
2016-04-06TITANIC: In-progress converting message handling to be more like originalPaul Gilbert
I currently was using multiple inheritance to define the message classes that a class supports, but this caused problems when, for example, a class tested to see if an object supported CMouseMsg. The class in question supported several mouse messages, but a standard dynamic_cast returned nullptr for the class, since it didn't directly support it
2016-04-06TITANIC: Fix for showing link cursors in some screensPaul Gilbert
2016-04-05TITANIC: Set up cursors enum with better namesPaul Gilbert
2016-04-05TITANIC: Fix setting cursor when highlighting objectPaul Gilbert
2016-04-03TITANIC: Move most of the root classes into new support/ folderPaul Gilbert
2016-03-24TITANIC: Fix crash when looking at televisionPaul Gilbert
2016-03-24TITANIC: Fix view message handlingPaul Gilbert
2016-03-24TITANIC: Cleanup and fixes for message hierarchyPaul Gilbert
2016-03-23TITANIC: More view event handling, beginnings of mouse cursor loadingPaul Gilbert
2016-03-19TITANIC: Minor fixes executing game manager updatePaul Gilbert
2016-03-19TITANIC: Implement view change logicPaul Gilbert
2016-03-19TITANIC: Finished CViewItem::mouseChangePaul Gilbert
2016-03-19TITANIC: Implementing view item message handlingPaul Gilbert
2016-03-19TITANIC: Implement preEnterView and enterViewPaul Gilbert
2016-03-19TITANIC: Implemented CViewItem::viewChangePaul Gilbert
2016-03-15TITANIC: Fleshing out resource key and view loadingPaul Gilbert
2016-03-12TITANIC: Implement various post-load methodsPaul Gilbert
2016-02-25TITANIC: Rename of sub-folders for better clarityPaul Gilbert