Commit Graph
30 Commits
Author SHA1 Message Date
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Bastien Bouclet 6506b95fce PEGASUS: Call OSystem::updateScreen on each frame
Fixes the display of OSD information when toggling fullscreen.
2017-09-12 20:25:24 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Johannes Schickel aca802bd70 PEGASUS: Take advantage of Surface::getPixels. 2013-08-03 04:02:52 +02:00
Johannes Schickel e59995b0b2 PEGASUS: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +02:00
Johannes Schickel a6c6c74350 PEGASUS: Remove trailing whitespaces.
Powered by: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:11:09 +02:00
Matthew Hoops b625df1612 PEGASUS: Cleanup doFadeOutSync/doFadeInSync calls 2012-07-05 20:41:01 -04:00
Matthew Hoops 3860f34136 PEGASUS: Implement screen fading
This does linear instead of gamma for speed and complexity reasons.
2012-07-05 20:36:34 -04:00
Matthew Hoops 12efb47b53 PEGASUS: Remove t prefix from typedefs
Some other minor cleanup too
2011-12-16 14:17:50 -05:00
Matthew Hoops 59f7d432d1 PEGASUS: Implement dirty rect erase code (as used by the space chase) 2011-10-28 01:43:05 -04:00
Matthew Hoops 422ff6c4c1 PEGASUS: Don't use the work area for screen shaking
It may have stuff purposely not drawn on it
2011-10-19 14:55:48 -04:00
Matthew Hoops 4af1fe25af PEGASUS: Add our TGWorldSaver replacement
The scoring on the death/pause screens are now shown
2011-10-18 09:37:56 -04:00
Matthew Hoops 0dada6e231 PEGASUS: Implement screen shaking
Would be great to be able to use OSystem's stuff, but that only handles vertical shaking.
2011-10-16 23:44:48 -04:00
Matthew Hoops 8c7ebc8033 PEGASUS: Add the basic Caldoria neighborhood
Does not include the end-of-game timers and sequence yet. It's currently hooked up to the full game, but does not go beyond the first frame of the wake-up sequence right now.
2011-10-02 20:52:09 -04:00
Matthew Hoops 23c7b9f0dc PEGASUS: Introduce better cursor update code 2011-09-30 01:14:11 -04:00
Matthew Hoops c4c83e2346 PEGASUS: Resolve some TODO's and cleanup 2011-09-29 20:12:51 -04:00
Matthew Hoops 54dd0c266e PEGASUS: Import a bunch more code in preparation for actual gameplay 2011-09-28 14:32:03 -04:00
Matthew Hoops 85e7d2d9a9 PEGASUS: Update the GraphicsManager a bit
- Only update the screen if we drew something to it, not if a dirty rect was present.
- Add ability to clear the screen.
2011-09-26 00:17:21 -04:00
Matthew Hoops 5b23d33a29 PEGASUS: Remove old graphics API 2011-09-21 21:35:55 -04:00
Matthew Hoops 802fb1a97b PEGASUS: Add very simple mouse movement update checking 2011-09-21 21:33:33 -04:00
Matthew Hoops cb500d147e PEGASUS: Clamp the dirty rect to the screen size 2011-09-21 21:09:58 -04:00
Matthew Hoops 64d0b6df58 PEGASUS: Fix bug with drawing dirty rects 2011-09-21 19:42:45 -04:00
Matthew Hoops 6ed2679cf1 PEGASUS: Add the Surface classes
Renamed from GWorld; I'm trying to distance us from QuickDraw as much as possible :P
2011-09-19 19:07:11 -04:00
Matthew Hoops dc0254c1ce PEGASUS: Implement very basic screen updating (new API) 2011-09-15 20:50:21 -04:00
Matthew Hoops d3fde69770 PEGASUS: Implement two of the primitive-based DisplayElements 2011-09-10 10:41:36 -04:00
Matthew Hoops bbda19ab80 PEGASUS: Add DisplayElement class and begin porting over the graphics API 2011-09-09 14:09:20 -04:00
Matthew Hoops 5a7ca3553c PEGASUS: Create separate Cursor class for cursors 2011-09-08 20:38:12 -04:00
Matthew Hoops 9cb600099f Merge remote branch 'upstream/master' into pegasus 2011-05-03 17:25:41 -04:00
Matthew Hoops 850d776e62 PEGASUS: Fix cursor palettes 2011-02-21 18:44:24 -05:00
Matthew Hoops 950676bf4c PEGASUS: Add my very WIP Pegasus Prime engine 2011-02-21 18:44:24 -05:00