aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/dialogs.cpp
AgeCommit message (Collapse)Author
2013-04-26TINSEL: Reorder loop condition to fix out-of-bounds accessTorbjörn Andersson
This should fix CID 1003943 and CID 1003944.
2012-12-11TINSEL: Add resource handling of the BE resources in DW1 MacFilippos Karapetis
This is the second attempt. All the BE resources of DW1 Mac are handled correctly now. Added READ_16, READ_32, FROM_16, FROM_32 and TO_32 to handle all of the different cases where endianess is already handled. Note that the game scripts are LE, so these haven't been changed
2012-12-10TINSEL: Add a WIP BE To LE SCN file conversion code (unfinished)Filippos Karapetis
This is a cleaner approach to handle the Mac version of DW1 (demo and full versions - refer to bug #3110936). This way, we can keep the game engine as LE even with the Mac BE resource files. Both the demo and the full version progress up to drawing the scene graphics now and crash because of the currently unhandled bitmap chunk.
2012-12-03TINSEL: Fix misleading commentTorbjörn Andersson
I missed these in my scroll wheel pull request, but better late than never.
2012-11-24TINSEL: Add scrollwheel support to save/load and inventoryTorbjörn Andersson
2012-11-22TINSEL: Fix inventory scrollbar handle positionTorbjörn Andersson
The scrollbar handle was one pixel too far to the left, and the topmost position was off by one as well. I've verified this to the best of my ability. I've compared it visually in DOSBox (which is a bit tricky for Discworld 2, but I think it's right now), and against the initial Tinsel v1 source code that was added to ScummVM. I don't know what the initial Tinsel v2 source code looked like, though.
2012-11-22TINSEL: Fix inventory scrollingTorbjörn Andersson
Adjusted NM_SLIDE_INSET and NM_SLIDE_THICKNESS to make the inventory scrollbar work as it did before Tinsel v1 and v2 were combined. The scrollbar worked before, but you had to click a bit to the left of it to operate it. It's the only place in the code where these constants are used, so it should not break anything else.
2012-08-06TINSEL: Fixed portability issue with earlier savegamesPaul Gilbert
2012-07-15TINSEL: Fix bug #3541745 - "DW: PSX version has a too small Re-Start window"Filippos Karapetis
2012-07-15TINSEL: Fix bug #3459999 - "TINSEL: DW Crash in Subtitle Menu"Filippos Karapetis
2012-05-17TINSEL: Refactored Tinsel engine to use the Common coroutine schedulerPaul Gilbert
2012-02-22TINSEL: Rename globals to add g_ prefix.Alyssa Milburn
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-14ALL: centre -> centerMax Horn
2011-04-14ALL: colour -> colorMax Horn
2010-11-20TINSEL: Preliminary functionality for reading BE data filesPaul Gilbert
svn-id: r54392
2010-11-16TINSEL: Mark all (?) global vars with a FIXME commentMax Horn
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-10-30TINSEL: Remove unnecessary CORO_PARAM from ObjectTextOutMax Horn
As a nice side effect, this gets rid of 25 out of 64 occurrences of nullContext in the TINSEL code. svn-id: r53935
2009-11-09TINSEL: cleanupMax Horn
svn-id: r45787
2009-11-09TINSEL: Mark all functions in dialogs.cpp explicitly as public (=extern) or ↵Max Horn
private (=static) svn-id: r45785
2009-11-09TINSEL: Add EnablePointing() & DisablePointing() to pdisplay.h; turn ↵Max Horn
DisablePointing from a coroutine into a plain function svn-id: r45782
2009-11-02TINSEL: Small correction to the previous hotfix for _vm->_config crashMax Horn
svn-id: r45621
2009-11-02TINSEL: Fix regression caused by the introduction of _vm->_config; proper ↵Max Horn
fix will be introduced later, when dialogs.cpp gets objectified svn-id: r45620
2009-11-02TINSEL: Turn config code into a simple C++ classMax Horn
svn-id: r45617
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-27TINSEL: Change MemoryAllocFixed to return a (kind of fake) MEM_NODE pointer; ↵Max Horn
add MemoryDeinit() svn-id: r45426
2009-10-26TINSEL: Remove DWM_FIXED and add new MemoryAllocFixed() functionMax Horn
svn-id: r45401
2009-10-26TINSEL: cleanupMax Horn
svn-id: r45400
2009-10-26TINSEL: CleanupMax Horn
svn-id: r45398
2009-10-20TINSEL: Fix apparent bug (?) in the support for the 5 flags version(s)Max Horn
svn-id: r45271
2009-10-20TINSEL: Make lots of stuff in dialogs.cpp staticMax Horn
svn-id: r45270
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-24TINSEL: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44295
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-04-27Fixed a method name clash, and changed the Restart dialog to properly use ↵Paul Gilbert
the renamed method, rather than just setting the global variable directly svn-id: r40158
2009-03-21Converted some leftover tinselV1 code, so that the engine builds when DEBUG ↵Filippos Karapetis
is set svn-id: r39598
2009-03-15Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the ↵Max Horn
SCI engine svn-id: r39428
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-01add virtual keyboard backend hints for savegame nameKostas Nakos
svn-id: r39056
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-11Cleanup. (Removed define and checks for USE_3FLAGS/USE_4FLAGS/USE_5FLAGS)Johannes Schickel
svn-id: r35306
2008-12-11Fix for bug #2412503 "DW1: Subtitle menu not working (Multi-language version)".Johannes Schickel
svn-id: r35300
2008-12-07Added code differences for DW1 demo to allow the first game screen to startPaul Gilbert
svn-id: r35268
2008-12-05Bugfix for correctly leaving from looking at the Rite of AshkEnte scrollPaul Gilbert
svn-id: r35248
2008-12-01Merged the tinsel 2 engine with tinsel 1. Both Discworld 1 and Discworld 2 ↵Filippos Karapetis
should be completable svn-id: r35196