Commit Graph
65 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 5733e3de1c PRINCE: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Paul Gilbert baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
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
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Eugene Sandulenko 378f8573b0 PRINCE: Object initialization 2016-05-31 17:12:18 +02:00
Alexandre Detiste 6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Eugene Sandulenko 1f1c9803a7 PRINCE: Fix color clipping logic 2015-11-27 22:34:26 +01:00
Filippos Karapetis 0f0ca25e43 PRINCE: Remove trailing whitespace 2014-10-28 16:21:53 +02:00
Strangerke 5c012f8e01 PRINCE: Reduce the scope of several variables in GraphicsMan 2014-10-10 20:43:23 +02:00
Willem Jan Palenstijn f52d3fa84b PRINCE: Attempt to fix compilation on AmigaOS 2014-10-10 17:02:30 +02:00
Willem Jan Palenstijn 6419a0da5e PRINCE: Fix a few warnings 2014-10-10 14:02:33 +02:00
lukaslw 0e6ae70d9b PRINCE: Fix INT_MAX error - change it to kIntMax constant 2014-10-09 18:43:17 +02:00
lukaslw ebd417fef4 PRINCE: GraphicsMan::getBlendTableColor - change big number to INT_MAX 2014-10-09 00:12:09 +02:00
lukaslw f10ea31e3b PRINCE: GraphicsMan - add some new comments 2014-10-08 23:59:20 +02:00
lukaslw 4270a1a23a PRINCE: GraphicsMan::drawTransparentWithTransDrawNode - add comments
Add skipping anti-alias check for last pixel in row
2014-10-08 20:56:59 +02:00
lukaslw afe47b014a PRINCE: drawTransparentWithTrans - memory leak fix 2014-08-18 22:03:50 +02:00
lukaslw b315003439 PRINCE: Graphics::drawTransparentWithTrans fix 2014-08-12 20:26:03 +02:00
lukaslw 6471a354f4 PRINCE: drawTransparent functions - update 2014-08-11 00:40:32 +02:00
lukaslw c941c5e2fd PRINCE: Graphics - drawing functions update 2014-08-10 22:07:45 +02:00
lukaslw 7026f687ff PRINCE: loadTrans(), drawTransparentWithTransDrawNode() - implementation 2014-08-10 21:47:35 +02:00
lukaslw b97f726a3e PRINCE: scrollCredits() implementation, showLogo() update 2014-08-09 05:37:57 +02:00
lukaslw 85f4c2ccd2 PRINCE: showHeroShadow - update 2014-08-04 08:55:20 +02:00
lukaslw 3c29d61f67 PRINCE: Code clean-up 2014-08-01 17:38:04 +02:00
lukaslw 60881987d0 PRINCE: Animations - update 2014-07-31 05:29:03 +02:00
lukaslw 93a552c26d PRINCE: Skull mini-game fix 2014-07-30 19:54:39 +02:00
lukaslw 2ffc9e1523 PRINCE: Map location update 2014-07-23 01:24:57 +02:00
lukaslw 6fe1bb3c9c PRINCE: Pathfinding - scanDirections() 2014-07-16 22:12:56 +02:00
lukaslw 7155db4304 PRINCE: Pathfinding - bug fixing, approxPath() 2014-07-13 18:27:13 +02:00
lukaslw 191b4cc8be PRINCE: Memory leaks fix - showBackAnim(), printAt(), checkMob()" 2014-06-29 20:40:04 +02:00
lukaslw 5163d6ce4e PRINCE: GraphicsMan - name changing; Options window - right mouse button handling progress 2014-06-22 20:08:59 +02:00
lukaslw 1c02028ddd PRINCE: draw(), drawTransparentDrawNode() update 2014-06-22 20:08:56 +02:00
lukaslw f4f09efa5f PRINCE: drawTransparentWithBlend(), getBlendTableColor() - update 2014-06-22 20:08:55 +02:00
lukaslw 1beaf46210 PRINCE: GrahicsMan - update(), formatting fix 2014-06-22 20:08:54 +02:00
lukaslw 8f98d80f4e PRINCE: drawMask() update 2014-06-22 20:08:52 +02:00
lukaslw 26db9ae9f5 PRINCE: drawAsShadow() update 2014-06-22 20:08:51 +02:00
lukaslw ffa438afeb PRINCE: drawTransparent() update 2014-06-22 20:08:51 +02:00
lukaslw 3bf8d86a57 PRINCE: Inventory update, drawing functions improvements 2014-06-22 20:08:49 +02:00
lukaslw bc3ce22fe3 PRINCE: getBlendTableColor() - fix for wrong colors 2014-06-22 20:08:45 +02:00
lukaslw dcd9c48906 PRINCE: getBlendTableColor(), drawTransparentWithBlend() 2014-06-22 20:08:44 +02:00
lukaslw bb85844e73 PRINCE: Inventory update - first suitcase drawing 2014-06-22 20:08:42 +02:00
lukaslw c61ccb0319 PRINCE: hotspot() - name of mobs in wider locations fix, clean up 2014-06-22 20:08:40 +02:00
lukaslw 94ab6b268c PRINCE: DrawNode struct, runDrawNodes(), freeDrawNodes() 2014-06-22 20:08:37 +02:00
lukaslw 6f19bd82f4 PRINCE: Object class update, showObjects() beginning 2014-06-22 20:08:31 +02:00
lukaslw 421b27f2c7 PRINCE: drawMask() fix for wider locations, delete old spriteCheck 2014-06-22 20:08:28 +02:00
lukaslw 7874a4e782 PRINCE: drawMask progress, changes in spriteCheck 2014-06-22 20:08:27 +02:00
lukaslw dab83cc3eb PRINCE: showMask, drawMask update 2014-06-22 20:08:27 +02:00
lukaslw a2b1f2fb7b PRINCE: Warings fix, drawAsShadow update - kShadowColor to graphics.h 2014-06-22 20:08:23 +02:00
lukaslw 5df6b9a4f4 PRINCE: Shadow drawing for background animations 2014-06-22 20:08:21 +02:00
lukaslw ada532cf2e PRINCE: showSprite and drawTransparent update 2014-06-22 20:08:17 +02:00