aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-21Implements kyra3 main menu drawing.Johannes Schickel
svn-id: r22556
2006-05-21Make it so that if the new cursor palette to be set has zero colours, theTorbjörn Andersson
cursor palette is disabled. Also, when replacing a cursor palette, try to re-use the old palette buffer, as a minor optimization. (Not that these functions should need any optimization, but it's simple and shouldn't hurt.) svn-id: r22554
2006-05-21Added two lines for the Lure engine progressPaul Gilbert
svn-id: r22553
2006-05-21Oops, I guess I never got around to fully implement replaceCursorPalette().Torbjörn Andersson
svn-id: r22552
2006-05-20fixed compilation when DISABLE_SCALERSPaweł Kołodziejski
svn-id: r22551
2006-05-20fix compilation, that variable no longer existsPaweł Kołodziejski
svn-id: r22550
2006-05-20Make the copy constructor / assignment operator of class File private to ↵Max Horn
prevent accidental copying of File objects svn-id: r22549
2006-05-20Pass values by-reference, using C++ references, and not by using pointersMax Horn
svn-id: r22548
2006-05-20makes destructor of KyraEngine virtualJohannes Schickel
svn-id: r22547
2006-05-20Apparently, passing a file handle directly to a function causes that fileTorbjörn Andersson
handle (a copy of the original?) to be destroyed at the end of the function, and that closes the internal file handle, even though we want it to stay open. Who am I to argue with how C++ handles its parameters? I've simply changed the functions to take pointers to file handles instead. Seems to fix crashes in the Macintosh resource extractor for me. svn-id: r22546
2006-05-20Forgot to set g_initialized to true.Torbjörn Andersson
svn-id: r22544
2006-05-20After the GUI has finished, restore the old cursor palette (if any). For thisTorbjörn Andersson
to work, cursor palette now has to be set using the new "palette manager". See graphics/paletteman.cpp svn-id: r22543
2006-05-20Removed stray printf() from earlier commit.Torbjörn Andersson
svn-id: r22542
2006-05-20Re-render the cursor when enabling/disabling cursor palette. Also, I don'tTorbjörn Andersson
think _cursorHasOwnPalette is needed any more, so I've removed it. svn-id: r22541
2006-05-20Set a cursor palette for the classic theme, as well. Otherwise we'll get theTorbjörn Andersson
wrong colours in many games. svn-id: r22540
2006-05-20Our GUI uses the "cursor palette" feature, but the SDL backend did not use theTorbjörn Andersson
cursor palette in overlay mode. Now it does, which fixes bug #1476666. The reason it worked at all before was that blitCursor() was called while still not in overlay mode. This, of course, means that the GUI can corrupt the in-game cursor palette. I don't have any game that uses this feature, so I don't know if it's properly restored again afterwards. But if it isn't, that should be fairly easy to fix. svn-id: r22539
2006-05-20Fixed cursor drawing in the classic theme.Torbjörn Andersson
svn-id: r22538
2006-05-19Call the inherited handleScreenChanged() method, so that the widget can resizeTorbjörn Andersson
itself on scaler changes. svn-id: r22537
2006-05-19Call handleScreenChanged() *before* calling setEditString(). OtherwiseTorbjörn Andersson
_leftPadding may be wrong, or even undefined, when getEditRect() is called, which may cause ScummVM to trigger an "invalid rect" assertion. svn-id: r22536
2006-05-19Slighty modified patch #1491859: "Possible fix for recent cursor regressions"Eugene Sandulenko
svn-id: r22535
2006-05-19Minor GUI tweaksEugene Sandulenko
svn-id: r22534
2006-05-19Using assert(_something->init()) is a bad idea. Assertions can be disabled.Torbjörn Andersson
svn-id: r22533
2006-05-19Added some BS2 and Simon notes.Torbjörn Andersson
svn-id: r22532
2006-05-19Added some FIXMEs to the kyra engineMax Horn
svn-id: r22531
2006-05-19Fix warningMax Horn
svn-id: r22530
2006-05-19Update HE version for another English version of socksTravis Howell
svn-id: r22529
2006-05-18- load fonts for kyra3Johannes Schickel
- adds screen dim tables for kyra3 - adds palette / screen backup for the vqa player - small changes in the vqa player to use the Kyra::Screen functions - adds (partially implemented/unimplemented) main menu drawing/handling functions (nothing to see yet) svn-id: r22528
2006-05-18Proper rendering of slider widget.Eugene Sandulenko
svn-id: r22527
2006-05-18Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. ItTorbjörn Andersson
could use some cleanup, and there are a couple of TODOs sprinkled throughout the code, but it seems to work reasonably well. Until the Kyra 3 main menu is implemented, it won't actually be used though. It uses the appendable audio stream class, which I have moved out of the SCUMM engine. svn-id: r22526
2006-05-18- Fix spelling in theme configEugene Sandulenko
- Introduce embossing shadow - Less round corners in popup widget - Custom border in editable text widget - Matched color in popup widget and editable text widget with mock-ups - Less round corners in editable text widget - Text padding in editable text widget svn-id: r22525
2006-05-18Oops. Break indefinite loop.Eugene Sandulenko
svn-id: r22524
2006-05-18Plug memory leakEugene Sandulenko
svn-id: r22523
2006-05-18Fix bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch". AlsoEugene Sandulenko
fix same problem in scumm help dialog. svn-id: r22522
2006-05-18Properly set GFX mode selected in GUI. Fixes selection of 1x scaler.Eugene Sandulenko
svn-id: r22521
2006-05-18Initialise _resList to avoid crash (from freeing an invalid pointer) if theTorbjörn Andersson
data files are missing. svn-id: r22520
2006-05-18--force-1x-overlay is no more. Remove leftovers.Eugene Sandulenko
svn-id: r22519
2006-05-18Renamed screenChanged() to handleScreenChanged().Torbjörn Andersson
svn-id: r22518
2006-05-18More GUI fixes:Eugene Sandulenko
- Center dialog title in scumm save/load dialog - more space in add game dialog between dialog header and selected path svn-id: r22517
2006-05-18Fix several GUI layout problems:Eugene Sandulenko
- Correct button widths in scumm help dialog - Fix button widths on path tabs in options dialogs - Fix scumm options dialog in 320xY mode - Added space after volume controls in options dialog svn-id: r22516
2006-05-18Allow changing scaler while playing MPEG cutscenes.Torbjörn Andersson
svn-id: r22515
2006-05-18fixes kyra2 gameflag initJohannes Schickel
svn-id: r22514
2006-05-18Removed leftover printf()Torbjörn Andersson
svn-id: r22513
2006-05-18Cleanup.Torbjörn Andersson
svn-id: r22512
2006-05-18Update HE version for another English version of socksTravis Howell
svn-id: r22510
2006-05-18- Revert additional setUpCursor() call as it broke in-game cursor paletteEugene Sandulenko
- Disable scaling for cursors which have target scale defined svn-id: r22509
2006-05-18Improve new cursor image a bit for better visibility.Eugene Sandulenko
svn-id: r22508
2006-05-18Better cursor imageEugene Sandulenko
svn-id: r22507
2006-05-18Give more feedback to users who misused our SAN compression tool and ignoredEugene Sandulenko
FLU index for cideos which are used by INSANE. svn-id: r22506
2006-05-17- Heavily modified patch #1214784: "Disable overlay scaling"Eugene Sandulenko
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505
2006-05-17Added (optional) looping to the digital sound class.Torbjörn Andersson
svn-id: r22504