678 Commits

Author SHA1 Message Date
Bastien Bouclet
d4a50ba13f MYST3: Don't display the last drawn subtitle when no phrase is found
Fixes #1291
2016-07-26 19:03:39 +02:00
Bastien Bouclet
0c87528e21 MYST3: Don't write directly to the TinyGL FrameBuffer
Fixes solar flares with TinyGL.
2016-07-24 11:16:08 +02:00
Bastien Bouclet
7de10fdafe MYST3: Add two missing sound calls in the resonance rings puzzle 2016-07-24 10:53:38 +02:00
Bastien Bouclet
043e6ffc30 MYST3: Don't allow entering the main menu while in script loops
Fixes #1288.
2016-07-24 10:52:48 +02:00
Bastien Bouclet
8d4854670c MYST3: Allow looking around in one more script game loop 2016-07-24 10:52:48 +02:00
Bastien Bouclet
409ee36841 MYST3: Decorrelate game ticks from the framerate 2016-07-24 10:52:48 +02:00
Pawel Kolodziejski
82bc17b63a ALL: Fixed compiler warnings 2016-07-23 19:08:22 +02:00
Bastien Bouclet
797d8767cb MYST3: Pause all the movies when the engine is paused
Prevents the movies from going too fast after returning from the GMM.
2016-07-22 21:17:34 +02:00
Bastien Bouclet
5cf904e8bc MYST3: Several fixes for the Amateria pinball puzzle
- The puzzle was running at double speed. Fixes #1277.
- The rotation sound effect was restarted on each frame.
- The puzzle was not showing the reset animation after the ball expiration.
2016-07-17 21:17:16 +02:00
Bastien Bouclet
db73881d4d MYST3: Fix the sound fade out opcode 2016-07-17 21:16:13 +02:00
Bastien Bouclet
18b0e3e38e MYST3: Only play looping sounds if they are not already playing 2016-07-17 21:15:48 +02:00
Bastien Bouclet
e3493f7467 MYST3: Prevent events consumed to enter a save name to be used a second time
Fixes #1274.
2016-07-17 17:30:47 +02:00
Bastien Bouclet
6a24f82812 MYST3: Fix spotitems with multiple images per face
Fixes #1273
2016-07-17 17:30:47 +02:00
Bastien Bouclet
9261840866 MYST3: Mark subclasses of Drawable as overriding its methods 2016-07-15 14:51:12 +02:00
Bastien Bouclet
00981d9ab0 MYST3: Remove useless drawBlackBorders method 2016-07-15 14:50:59 +02:00
Bastien Bouclet
7174ccc81d MYST3: Remove the Renderer interface 2016-07-15 14:50:41 +02:00
Bastien Bouclet
c7811b2d25 MYST3: Use ticks to count time instead of frames
Ticks go by at 30 ticks per second, one tick every two frames.
This halves the speed of all game controlled animations.
2016-07-15 13:04:41 +02:00
Bastien Bouclet
6cb71cd52a MYST3: Add a frame limiter for better framerate control 2016-07-13 07:39:34 +02:00
Bastien Bouclet
36c45b7f0b GRIM: Don't enable / disable GL_TEXTURE_2D in the programmable pipeline
It is an invalid operation.
2016-06-26 09:30:28 +02:00
Bastien Bouclet
0bda7cd00b MYST3: Fix logic in the varSetMinDistanceToZone opcode
Fixes #1247.
2016-05-26 21:45:27 +02:00
Bastien Bouclet
5024daec23 MYST3: Check at runtime that shaders are available 2016-02-06 08:53:41 +01:00
Bastien Bouclet
31715787ca SYSTEM: Add a system method for retrieving the screen framebuffer 2016-02-06 08:53:41 +01:00
Bastien Bouclet
ed38c20cce OPENGL: Add a Context class used to describe the active OpenGL context 2016-02-06 08:02:50 +01:00
Bastien Bouclet
6c78bcebe4 GRAPHICS: Move opengles2 files to the opengl folder 2016-02-06 08:02:49 +01:00
Bastien Bouclet
4c2c1b4d36 GRAPHICS: Set the namespace for OpenGL classes to OpenGL 2016-02-06 08:02:27 +01:00
Bastien Bouclet
8a4bada6b9 ENGINES: Also build the legacy OpenGL renderer when enabling shaders 2015-12-29 08:05:49 +01:00
Bastien Bouclet
8d5406720c ENGINES: Add a new 'renderer' option to replace 'soft_renderer'
'soft_renderer' was a bool and was not useful to select a renderer
in a list with more than two values.
2015-12-29 07:55:27 +01:00
Bastien Bouclet
4c9ae35e88 MYST3: Change the room name to the String type
And remove slightly hazardous C string handling
2015-12-28 11:15:02 +01:00
Bastien Bouclet
4433268bea MYST3: Fix restarting movies with their current position after the loop point
Fix #1213.
2015-10-03 09:16:29 +02:00
Bastien Bouclet
2c7b5fd5ef MYST3: Fix some warnings when building with CLang 2015-09-09 16:47:27 +02:00
Dries Harnie
98cf7e2eda L10N: Add create_translations and POTFILES 2015-09-09 13:44:37 +02:00
Matthew Hoops
fc33643a38 MYST3: Fix ambient table offsets for the 1.0 binaries 2015-08-16 08:00:49 +02:00
Bastien Bouclet
aa316b9435 MYST3: Fix some warnings with clang
- Missing override qualifiers
- Unimplemented method declarations
2015-08-10 21:30:06 +02:00
Bastien Bouclet
58f8e6426a MYST3: Disable detection for the PS2 versions
The PS2 versions are not working at all. Furthermore,
the detection entries caused AdvancedMetaEngine to output
a misleading error message when the game executable cannot
be found.
2015-07-12 19:55:59 +02:00
Dries Harnie
36c8b3d2d5 GRAPHICS: Move common OpenGL files into graphics/opengl 2015-05-27 10:08:25 +02:00
Bastien Bouclet
8e54a010b4 MYST3: Remove usage of Desktop specific GL features in GLES2 mode
- GL_UNPACK_ROW_LENGTH can only be used when extension GL_EXT_unpack_subimage is available
- GL_UNSIGNED_INT_8_8_8_8_REV does not exist in GLES2
2015-05-26 21:25:01 +02:00
Bastien Bouclet
23b40041ad MYST3: Filter save files accoring to the platform 2015-05-26 21:03:43 +02:00
Bastien Bouclet
ea3fcdd96f MYST3: Implement dragging using the gamepad
Used in the Xbox version menus
2015-05-26 21:03:43 +02:00
Bastien Bouclet
402517fbee MYST3: Turn some platform checks into generic checks 2015-05-26 21:03:43 +02:00
Bastien Bouclet
b900deb530 MYST3: Play the Xbox version introduction videos 2015-05-26 21:03:36 +02:00
Bastien Bouclet
17c53b5d14 MYST3: The Xbox version has one more age
The menu logos
2015-04-19 11:46:03 +02:00
Bastien Bouclet
c2d358cea7 MYST3: Fix Saavedro's journal for the Xbox version 2015-04-19 11:46:03 +02:00
Bastien Bouclet
7da29fae74 MYST3: Fix Timestamp API usage in the sound code 2015-04-19 11:46:03 +02:00
Bastien Bouclet
9b4b88485c MYST3: Fix the dialog return values to match the original 2015-04-19 11:46:02 +02:00
Bastien Bouclet
bb83f1e384 MYST3: The cursor tables are different for the Xbox version 2015-04-19 11:46:02 +02:00
Bastien Bouclet
0ee13b9b9a MYST3: Adjust movie frame counts given by the scripts according to the framerate
The Xbox version making of video is 29fps instead of the usual 15
2015-04-19 11:46:02 +02:00
Bastien Bouclet
30abe2bac8 MYST3: Implement the settings menu differences with the Xbox version 2015-04-19 11:46:02 +02:00
Bastien Bouclet
10b84c7274 MYST3: Implement Xbox specific opcode 27 2015-04-19 11:46:02 +02:00
Bastien Bouclet
c3bfc1f26e MYST3: Implement more Xbox input differences 2015-04-19 11:46:02 +02:00
Bastien Bouclet
5b242db8e9 MYST3: Implement the Xbox load and save menu specificities 2015-04-19 11:46:02 +02:00