Commit Graph
137148 Commits
Author SHA1 Message Date
Paul Gilbert bb459dd5a8 TITANIC: Changed setSynStr parameter type 2016-07-15 19:13:28 -04:00
Paul Gilbert c4084e731b TITANIC: Implemented TTvocab getSuffixedWord 2016-07-15 19:13:25 -04:00
Paul Gilbert 54669e7b7e TITANIC: Added an enum for TTword wordMode 2016-07-15 19:13:22 -04:00
Paul Gilbert c858190c54 TITANIC: Beginnings of TTvocab getSuffixedWord 2016-07-15 19:13:20 -04:00
Paul Gilbert 6fa65bbf0a TITANIC: Add proper destruction of node chains 2016-07-15 19:13:17 -04:00
Paul Gilbert fc05032fed TITANIC: Finished TTvocab getWord 2016-07-15 19:13:15 -04:00
Paul Gilbert 72add4230f TITANIC: Finished TTvocab getPrefixedWord 2016-07-15 19:13:12 -04:00
Paul Gilbert 6fdaa608f1 TITANIC: Start on vocab method for finding words with prefixes 2016-07-15 19:13:10 -04:00
Paul Gilbert f7b8a87065 TITANIC: Added TTstring deletePrefix 2016-07-15 19:13:07 -04:00
Paul Gilbert 2b9fcd2cda TITANIC: Finished TTvocab getPrimeWord 2016-07-15 19:13:05 -04:00
Paul Gilbert defd50c926 TITANIC: Added support methods for finding synonyms by name 2016-07-15 19:13:02 -04:00
Paul Gilbert d4c6538726 TITANIC: Work on TTparser findFrames 2016-07-15 19:13:00 -04:00
Paul Gilbert cca38c15e5 TITANIC: Implemented TTstring tokenize 2016-07-15 19:12:57 -04:00
Paul Gilbert 89caddc217 TITANIC: Beginning of TTparser findFrames 2016-07-15 19:12:55 -04:00
Paul Gilbert c762308bff TITANIC: Implement TTsentence copy 2016-07-15 19:12:53 -04:00
Paul Gilbert 5b42ae357e TITANIC: Refactor TTstringNode to have a base TTnode class 2016-07-15 19:12:50 -04:00
Paul Gilbert 5da19b674d TITANIC: Changed TTinput to TTsentence to match original 2016-07-15 19:12:48 -04:00
Paul Gilbert aead3a0083 TITANIC: Beginnings of TThist class 2016-07-15 19:12:46 -04:00
Paul Gilbert 39b85d845b TITANIC: Changed parser & script processInput methods to preprocess 2016-07-15 19:12:44 -04:00
Paul Gilbert a7c1b2fc6b TITANIC: Finished TTparser processInput 2016-07-15 19:12:42 -04:00
Paul Gilbert 361ac2cfe4 TITANIC: Implemented secondary replaceNumbers method 2016-07-15 19:12:39 -04:00
Paul Gilbert 3878f38d8c TITANIC: Move replacement string arrays into TTparser, added NUMBERS array 2016-07-15 19:12:22 -04:00
Paul Gilbert e16239e21f TITANIC: Implemented parser replaceNumbers sub-methods 2016-07-15 19:12:02 -04:00
Paul Gilbert e1ba967233 TITANIC: Moved other static arrays from Titanic engine to dat file 2016-07-15 19:12:00 -04:00
Paul Gilbert b37da849c9 TITANIC: Implement TTparser searchAndReplace methods 2016-07-15 19:11:43 -04:00
Paul Gilbert 053ff7ab75 TITANIC: Change engine to use titanic.dat 2016-07-15 19:11:06 -04:00
Paul Gilbert 2680caa5bd DEVTOOLS: Creation of titanic.dat for holding static data 2016-07-15 19:10:30 -04:00
Vincent Pelletier 342cf9a60d TINYGL: Simplify a bit updateTmp . 2016-07-15 22:20:41 +00:00
Paweł Kołodziejski a772bd4667 Merge pull request #1239 from raziel-/patch-1
README: Add the easy to miss Local.m4b of EMI
2016-07-15 22:16:56 +02:00
Hubert Maier 51006ef808 Add missing periods 2016-07-15 21:10:17 +03:00
Paweł Kołodziejski c48ae5a934 Merge pull request #1267 from vpelletier/grim_enable_more_alpha
GRIM: Enable TGL_ALPHA_TEST in GfxTinyGL::drawSprite.
2016-07-15 16:32:29 +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
Vincent Pelletier a0201afc37 GRIM: Enable TGL_ALPHA_TEST in GfxTinyGL::drawSprite. 2016-07-15 12:43:06 +00: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
Torbjörn Andersson 246d48b467 WAGE: Free memory used by loadWorld() debug code 2016-07-15 11:41:50 +02:00
Torbjörn Andersson 72269b6c9d WAGE: Fix memory leak in drawBitmap()
The 'tmp' surface was never freed when in _boundsCalculationMode.
2016-07-15 11:29:19 +02:00
Torbjörn Andersson 9284204cf6 WAGE: Free memory for buttons when dialog is destroyed 2016-07-15 11:24:05 +02:00
Paweł Kołodziejski fef52b35c0 Merge pull request #1265 from vpelletier/tinygl_alphatest
TinyGL: Fix TGL_ALPHA_TEST support with clipped triangles
2016-07-15 09:29:32 +02:00
Vincent Pelletier 03da50312b TINYGL: Move the task of writing to z-buffer to FrameBuffer::writePixel.
Because writePixel may decide to not write anything (alpha test), in which
case no z-buffer write should happen.
Factorises code.
Fixes apparent back-face culling in GRIM behind transparent textures, like
the tube (the 3d-shape Manny takes out, not the flat image in foreground)
in set mo.
2016-07-14 21:30:18 +00:00
Vincent Pelletier 9b7548ccf7 GRIM: Enable alpha test in GfxTinyGL::drawModelFace.
Fixes the appearance of textures using alpha (ex: game card).
2016-07-14 15:36:33 +00:00
Vincent Pelletier a336422811 TINYGL: Fix clipped triangle vertices alpha channel.
In all 4 updateTmp call places, q is not initialised, so there is nothing
of value in the alpha channel (it's 0). So just apply the same rule as for
other color channels.
2016-07-14 15:36:28 +00:00
Bastien Bouclet 08fd76686d Merge pull request #1256 from bgK/sdl-split
SDL: Split the OpenGL code to a separate GraphicsManager
2016-07-14 12:06:30 +02:00
Bastien Bouclet f8cce66926 SDL: Improve code organisation and documentation
No functional change
2016-07-14 12:04:06 +02:00
Bastien Bouclet 5b927c06f1 SDL: Ony perform framebuffer detection once on startup 2016-07-14 12:04:06 +02:00
Bastien Bouclet 2141277df9 SDL: Detect the desktop resolution earlier
So that nothing has a chance to change it beforehand.
2016-07-14 12:04:05 +02:00
Bastien Bouclet 8927dcdcf6 SDL: Rewrite OpenGL overlay handling to use TiledSurface 2016-07-14 12:03:38 +02:00
Bastien Bouclet 7a52f226e7 OPENGL: Modify SurfaceRenderer to allow alpha blending 2016-07-14 12:02:55 +02:00
Bastien Bouclet b718d86a6f OPENGL: Add TiledSurface to be used for drawing large 2D surfaces 2016-07-14 12:02:55 +02:00