Commit Graph
117 Commits
Author SHA1 Message Date
Cameron Cawley 8c2b09d919 COMMON: Replace NEResourceType and PEResourceType with a shared enum 2019-05-01 23:52:56 +03:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02: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
D G Turner 8a061ee82d GNAP: Fix Set-But-Unused Variable Compiler Warning. 2017-01-15 14:26:11 +00:00
Eugene Sandulenko 1fe60f10fa GNAP: Move debug channel registration to the top of the engine constructor 2016-07-28 11:36:33 +03:00
Strangerke 30b8030c10 GNAP: As WAIT_CURSOR isn't available in the exe, hide and show the cursor adequately 2016-06-07 23:33:50 +02:00
Strangerke 2473348cf0 GNAP: Initialize some more variables, reorder initialization 2016-06-06 07:22:14 +02:00
Strangerke 56569c84a1 GNAP: Change two variables to bool, remove two useless variables 2016-05-31 23:03:43 +02:00
Strangerke 1f2095b066 GNAP: (hopefully) fix display on BE systems 2016-05-30 21:39:12 +02:00
Strangerke 52ee33dfa6 GNAP: Make 2 variables local to setDeviceHotspot 2016-05-30 07:15:43 +02:00
Strangerke 06eef7a408 GNAP: Initialize some unitialized variables in GnapEngine 2016-05-30 07:08:45 +02:00
Strangerke cd271a0b34 GNAP: Remove duplicate code in screenEffect 2016-05-28 18:40:22 +02:00
Ori Avtalion 32e7eec73d GNAP: Fix typo in initialization code 2016-05-25 14:38:08 +03:00
Strangerke 0d77dbc1e1 GNAP: Initialize some more variables 2016-05-25 06:49:26 +02:00
Torbjörn Andersson 4cac7d1511 GNAP: Fix memory leaks, reported by Valgrind 2016-05-24 07:09:35 +02:00
Strangerke e14e7992cc GNAP: Fix inventory content when loading from launcher 2016-05-23 19:39:56 +02:00
Strangerke 58e77d693b GNAP: Remove original debug code 2016-05-23 00:44:00 +02:00
Strangerke 58fb1563ca GNAP: Map remaining Key codes 2016-05-23 00:33:50 +02:00
Strangerke 13c363f440 GNAP: Remove double smi-columns 2016-05-23 00:00:51 +02:00
Strangerke 8a94670516 GNAP: Remove or rephrase a couple of notes 2016-05-21 00:16:59 +02:00
Strangerke f734291abb GNAP: Implement delayTicks functions, refactor them to share code 2016-05-20 07:47:16 +02:00
Strangerke 20b3d1814a GNAP: Remove some CHECKME's 2016-05-20 07:00:50 +02:00
Strangerke ba61f90eb6 GNAP: Rework the code of Scene07::run, remove an obsolete todo 2016-05-20 01:21:22 +02:00
Strangerke 9a2bc3c572 GNAP: Add several checks on _gameDone in order to quit the game quickly 2016-05-19 07:59:07 +02:00
Strangerke 97ac77b5f1 GNAP: Compute the thumbnail when opening the device so that it doesn't show the large hand in savegames 2016-05-19 07:06:48 +02:00
Strangerke 931846182b GNAP: Change pixel format - Courtesy of _sev 2016-05-18 22:38:54 +02:00
Strangerke 4c37381a8e GNAP: Add missing stars in header, change include guard name in gnap.h 2016-05-17 22:05:35 +02:00
Strangerke 6358981201 GNAP: USe Common::Point for mouse position, initialize some more variables 2016-05-17 07:09:42 +02:00
Strangerke 090c178214 GNAP: Fix another valgrind error 2016-05-16 23:38:49 +02:00
Strangerke e280c833c7 GNAP: Enforce the use of nullptr in function calls 2016-05-16 23:34:58 +02:00
Strangerke 06f3dc2973 GNAP: Fix a couple of unintialized variables 2016-05-16 23:24:02 +02:00
Strangerke 52374bfe7b GNAP: Load TTF from the executable (optional) 2016-05-16 20:43:55 +02:00
Strangerke 55162fb7ca GNAP: Simplify some calls of _hotspotWalkPos 2016-05-12 20:33:51 +02:00
Strangerke 9c0808237c GNAP: Remove _id from HotSpot structure 2016-05-12 07:59:20 +02:00
Strangerke af1cf151de GNAP: Use Common::Rect for hotspots 2016-05-12 07:53:06 +02:00
Strangerke f467db5ed2 GNAP: Add music when game is paused 2016-05-12 00:33:47 +02:00
Strangerke 33ca09ae12 GNAP: Remove useless redirections, move two more functions 2016-05-10 12:14:54 +02:00
Strangerke a508936349 GNAP: Move Gnap action functions to PlayerGnap 2016-05-10 12:14:54 +02:00
Strangerke 8a725082a5 GNAP: Move more functions to PlayerGnap 2016-05-10 12:14:54 +02:00
Strangerke 951fab4853 GNAP: Move walkTo and walkStep to Character 2016-05-10 12:14:54 +02:00
Strangerke b3bf17a315 GNAP: Use Common::Point with platypusWalkTo 2016-05-10 12:14:53 +02:00
Strangerke 81074f4503 GNAP: use Common::Point for gnapWalkTo 2016-05-10 12:14:53 +02:00
Strangerke 38a83d1770 GNAP: More character refactoring (WIP) 2016-05-10 12:14:51 +02:00
Strangerke 45f27ea81c GNAP: Even more refactoring related to characters (WIP) 2016-05-10 12:14:50 +02:00
Strangerke 00c544f9f8 GNAP: More refactoring related to characters (WIP) 2016-05-10 12:14:50 +02:00
Strangerke 579ecdabd1 GNAP: More refactoring related to characters (WIP) 2016-05-10 12:14:50 +02:00
Strangerke dda4931ee9 GNAP: Move _actionStatus to the Character class 2016-05-10 12:14:50 +02:00
Strangerke 45bc40166f GNAP: Use a Character for Platypus (WIP) 2016-05-10 12:14:49 +02:00
Strangerke 2e50019c05 GNAP: Introduce Character class - WIP 2016-05-10 12:14:49 +02:00
Strangerke aee3842163 GNAP: Some renaming 2016-05-10 12:14:49 +02:00