Commit Graph
86814 Commits
Author SHA1 Message Date
Filippos Karapetis 4d699301c7 Minimize unnecessary calls to updateScreen() in the new GUI. This improves drawing speed dramatically
svn-id: r44659
2009-10-05 12:04:39 +00:00
Martin Kiewitz 6e38de3905 SCI/newgui: kDrawControl on icon implemented
svn-id: r44658
2009-10-05 11:42:04 +00:00
Filippos Karapetis 55e7c29d95 Removed dead code
svn-id: r44657
2009-10-05 10:27:00 +00:00
Willem Jan Palenstijn 4478ab6472 SCI: Name argument
svn-id: r44656
2009-10-05 09:23:59 +00:00
Filippos Karapetis d37f4ea07d Proper check for window shadows
svn-id: r44655
2009-10-05 09:20:55 +00:00
Filippos Karapetis 93833ee86a Window shadows are also taken into account when storing their bits. This fixes the issue where window shadows were left on screen when windows were closed
svn-id: r44654
2009-10-05 08:19:43 +00:00
Filippos Karapetis 7f053e3a62 Removed the unused _bytesPerDisplayPixel parameter. All SCI games use 8bpp color (apart from the videos in Phantasmagoria 2, which are not part of the engine itself)
svn-id: r44653
2009-10-05 07:51:31 +00:00
Filippos Karapetis d61e73367f Silenced some warnings in drawVectorData()
svn-id: r44652
2009-10-05 07:48:43 +00:00
Filippos Karapetis 3f77685f13 More method renaming
svn-id: r44651
2009-10-05 07:38:05 +00:00
Filippos Karapetis 6f97a7ca81 Cleanup
svn-id: r44650
2009-10-05 07:25:18 +00:00
Filippos Karapetis 8568892bf5 - Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> SciGuiWindowMgr)
- Renamed "cell" -> "cel"

svn-id: r44649
2009-10-05 07:10:01 +00:00
Filippos Karapetis 136dbba9c4 Fixed warning (GameObject is a struct)
svn-id: r44648
2009-10-05 07:00:59 +00:00
Max Horn 126450f3bc Revert nonsense I did in backends/platform/linuxmoto/module.mk and modify ASM build rules instead, enforcing the creation of output dirs for compiled files
svn-id: r44647
2009-10-04 23:21:01 +00:00
Joost Peters fd5cf8f2db Cleaned up version of patch #2872626: "PSP: flicker part 2"
svn-id: r44646
2009-10-04 22:59:39 +00:00
Robert Špalek cc39c5022a Work-around a bug in the original game files.
svn-id: r44645
2009-10-04 22:55:54 +00:00
Max Horn db8c6e3f6c SCI: Really remove sci/gui/gui.h include from engine/state.h
svn-id: r44644
2009-10-04 22:43:30 +00:00
Max Horn 670d8582ff Attempt to fix linuxmoto compilation on our buildbot
svn-id: r44643
2009-10-04 22:35:04 +00:00
Max Horn 8e73622d13 Add some doxygen comments to WinCE scalers. Somebody should verify those. Also note how SmartphoneLandscape's ARM asm version seems to do something different compared to the C version
svn-id: r44642
2009-10-04 22:33:15 +00:00
Filippos Karapetis 71ebd67331 - Minimize the parameters passed to SciGUIfont()
- Some WIP on the pattern_Textures array

svn-id: r44641
2009-10-04 22:32:36 +00:00
Willem Jan Palenstijn 632359c0b4 SCI: Fix cast, constness
svn-id: r44640
2009-10-04 22:26:57 +00:00
Martin Kiewitz 92d0a9e17f SCI/newgui: EGA view loading / mapping table
svn-id: r44639
2009-10-04 22:15:19 +00:00
Robert Špalek eb56dfa965 Fixed two bugs concerning loading:
1. a room need to be reloaded by force when the loaded game is in the same
room as the game before the load
2. objects from the last room and their animations must be deallocated
before I change the room number

svn-id: r44638
2009-10-04 22:11:46 +00:00
Martin Kiewitz 6063d5fbe9 SCI/newgui: ega view loading implemented, unpacking still missing
svn-id: r44637
2009-10-04 21:57:31 +00:00
Martin Kiewitz 08c7ec123d SCI/newgui: SciGUIview class now uses resmanager to detect view format
svn-id: r44636
2009-10-04 21:30:13 +00:00
Max Horn db2e5a4fb5 SCI: Rework the way SciGUIwindowMgr keeps track of windows/ports; remove the GUI heapmanager
svn-id: r44635
2009-10-04 21:27:24 +00:00
Max Horn f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Robert Špalek c8f002ae43 Removed Ctrl-Left Click treating as a Right Click
svn-id: r44633
2009-10-04 20:08:11 +00:00
Max Horn 43a9f9c2ef SCI: Add include guards for gui headers; don't include gui/gui.h from engine/state.h
svn-id: r44632
2009-10-04 20:01:21 +00:00
Martin Kiewitz 69af4ce9f4 SCI/newgui: implemented kPalette / set intensity
svn-id: r44631
2009-10-04 19:49:47 +00:00
Filippos Karapetis 7c7e0445ee Replaced DblList with Common::List
svn-id: r44630
2009-10-04 18:51:01 +00:00
Max Horn 6ad5840181 SCI: Rename EngineState::segMan to _segMan
svn-id: r44629
2009-10-04 18:38:18 +00:00
Max Horn 0da9ad5ff5 SCI: Add SegManager::findObjectByName() method, make parse_reg_t() local to console.cpp, and switch other code using it to use findObjectByName() instead.
svn-id: r44628
2009-10-04 18:36:58 +00:00
Martin Kiewitz 07353be65a SCI/newgui: invokeselector implemented into kAnimate
svn-id: r44627
2009-10-04 18:34:53 +00:00
Johannes Schickel 9d80759a71 Use spaces instead of tabs for formatting. (Tabs should be used for indentation only!)
svn-id: r44626
2009-10-04 18:01:38 +00:00
Johannes Schickel d0bc425da6 Remove obsolete comment.
svn-id: r44625
2009-10-04 18:00:11 +00:00
Johannes Schickel eaca55ee50 Some fixes to comply with our coding guidelines.
svn-id: r44624
2009-10-04 17:54:08 +00:00
Johannes Schickel 41e4a1ddb6 LoL PC98: Fix thumbnail creation for quick saves and autosave.
svn-id: r44623
2009-10-04 17:38:15 +00:00
Johannes Schickel fc4d7b7d1d LoL PC98: Fix thumbnail generation via ingame menu.
svn-id: r44622
2009-10-04 17:37:46 +00:00
Martin Kiewitz 975f1b75ea SCI/gui: final rename commit
svn-id: r44621
2009-10-04 16:41:53 +00:00
Martin Kiewitz 01fca745fd SCI/gui: more renaming...
svn-id: r44620
2009-10-04 16:39:46 +00:00
Martin Kiewitz 4a9804a044 SCI/gui: renaming...
svn-id: r44619
2009-10-04 16:37:02 +00:00
Martin Kiewitz ec526ca461 SCI/gui: renaming...
svn-id: r44618
2009-10-04 16:35:02 +00:00
Johannes Schickel da70060943 Make "_picRect" local to gui_windowmgr.cpp and mark it as const.
svn-id: r44617
2009-10-04 16:26:43 +00:00
Johannes Schickel b8e740c167 Attempt to fix wince compilation.
svn-id: r44616
2009-10-04 16:22:49 +00:00
Johannes Schickel d134eb73ce Add missing PACKED_STRUCT attribute to FrameHeader.
svn-id: r44614
2009-10-04 15:49:40 +00:00
Willem Jan Palenstijn 62c951c031 SCI/newgui: turn sciWnd into subclass of sciPort
svn-id: r44613
2009-10-04 15:44:32 +00:00
Willem Jan Palenstijn 76854f0b86 SCI/newgui: more descriptive names.
svn-id: r44612
2009-10-04 15:44:10 +00:00
Martin Kiewitz 3deae94473 SCI/newgui: getCellRect() getLoopInfo() implemented, cleanup
svn-id: r44611
2009-10-04 15:34:43 +00:00
Martin Kiewitz 1572e622a3 SCI/newgui: UpdateWindow() -> rect1 instead of rect0 typo
svn-id: r44610
2009-10-04 15:20:43 +00:00
Martin Kiewitz b05493af04 SCI/newgui: windowMgr cleanup, UpdateWindow() ported over
svn-id: r44609
2009-10-04 15:14:28 +00:00