Commit Graph
137148 Commits
Author SHA1 Message Date
Paul Gilbert 186b4e095a TITANIC: Added DoorbotScript updateState 2016-07-28 23:23:27 -04:00
Eugene Sandulenko 0182a8a230 MADS: Fix warning 2016-07-29 05:47:31 +03:00
Paul Gilbert c08ad39a94 TITANIC: Added DeskbotScript setFlags17 2016-07-28 22:36:29 -04:00
Paul Gilbert c7bd63d881 TITANIC: Added BarbotScript updateState 2016-07-28 22:05:16 -04:00
Paul Gilbert 52b6c92ac0 TITANIC: Add loading of updateState arrays 2016-07-28 21:17:01 -04:00
Paul Gilbert f36d392c11 DEVTOOLS: Add updateState methods arrays to create_titanic 2016-07-28 21:03:02 -04:00
Vincent Pelletier 112ca82363 TINYGL: Manage BlitImages with a refcount.
So that zdirtyrect can keep an image alive for longer than its creator
intended.
2016-07-28 23:32:43 +00:00
Vincent Pelletier 8cd029aac7 TINYGL: Add support for 4-bytes words in FrameBuffer::clear{,Region} 2016-07-28 23:29:17 +00:00
Paul Gilbert 7a2a705a7a TITANIC: Added DeskbotScript updateState 2016-07-28 19:00:22 -04:00
Eugene Sandulenko 0943555e8b FULLPIPE: Fix crash in MGM::movementis2 clearing 2016-07-29 00:06:46 +03:00
Eugene Sandulenko d8e7d3cc35 Merge pull request #794 from bgK/fix-tests-event-recorder
COMMON: Fix tests when building with the event recorder
2016-07-28 23:05:30 +03:00
Bastien Bouclet f980ef5524 BUILD: Don't disable the event recorder for TravisCI
Tests now build fine with the event recorder enabled
2016-07-28 18:25:05 +02:00
Bastien Bouclet 8d34d5190d Revert "BUILD: Fix test compilation with event recorder enabled"
This reverts commit 1f8667c5d9.
2016-07-28 18:23:50 +02:00
Bastien Bouclet ad3ab61241 COMMON: Remove the EventRecorder dependency from OSystem
EventRecorder is in the gui lib which is not linked in the cxxtest suite.
2016-07-28 18:23:46 +02:00
Alexander Tkachev a80547b206 WAGE: Refresh menus on load 2016-07-28 21:47:52 +06:00
Vincent Pelletier 7e51d78480 TINYGL: Fix FrameBuffer::clearRegion color clearing line length. 2016-07-28 15:26:14 +00:00
Michał Janiszewski 823c2f899b BUILD: Use parallel build on travis (#792) 2016-07-28 17:34:49 +03:00
Eugene Sandulenko a72b7ab0f7 WAGE: Fix weapons menu size 2016-07-28 16:52:31 +03:00
Alexander Tkachev a854217bd6 WAGE: Refine loadGame()
It now actually does the loading.
2016-07-28 15:21:14 +06:00
Eugene Sandulenko 406b8cf33b TINSEL: Move debug channel registration to the very top of the engine constructor 2016-07-28 11:45:33 +03:00
Eugene Sandulenko aa2eec09be SHERLOCK: Fix debug channel initialization 2016-07-28 11:44:04 +03:00
Eugene Sandulenko 1fc03406e3 MORTEVIELLE: Fix debug channel initialization 2016-07-28 11:41:49 +03:00
Eugene Sandulenko 12728cf4dd MADS: Fix debug channel initialization 2016-07-28 11:40:29 +03:00
Eugene Sandulenko fa07121155 GROOVIE: Move debug channel registration to the top of the engine constructor 2016-07-28 11:38:05 +03:00
Eugene Sandulenko cf89cc04cc GOB: Move debug channel registration to the top of the engine constructor 2016-07-28 11:37:06 +03:00
Eugene Sandulenko 1fe60f10fa GNAP: Move debug channel registration to the top of the engine constructor 2016-07-28 11:36:33 +03:00
Eugene Sandulenko 2d428e2760 DREAMWEB: Cleanup 2016-07-28 11:34:34 +03:00
Eugene Sandulenko 40290fb244 CINE: Move debug channel registration to the first place in the constructor
Otherwise we could miss some of the debug output as the channels are not yet
registered.
2016-07-28 11:33:15 +03:00
Eugene Sandulenko 49ee8d82d1 ACCESS: Move debug channel registration where they belong 2016-07-28 11:32:54 +03:00
Eugene Sandulenko 795a628684 DRACI: Remove generic comment 2016-07-28 11:32:30 +03:00
Eugene Sandulenko f6f8c31984 FULLPIPE: Hid warning under debug channel. More debug output 2016-07-28 11:27:41 +03:00
Eugene Sandulenko 9f234b0aea FULLPIPE: Fixed debuf channel registration 2016-07-28 11:25:20 +03:00
Eugene Sandulenko f3f53ab823 BUILD: Disable Event Recorder for Travis CI, as our test/ suite is yet compatible with it 2016-07-28 10:43:41 +03:00
Eugene Sandulenko ad72d93873 Merge pull request #608 from mgerhardy/travis
BUILD: Added Travis-CI support
2016-07-28 10:42:48 +03:00
Paul Gilbert a185a99a86 TTIANIC: Added support methods for BellbotScript updateState 2016-07-27 23:04:26 -04:00
Vincent Pelletier e7e1df886e TINYGL: Merge dead kInterpST code path into kInterpSTZ one.
Texture coordinates interpolation along Z coordinate is an extra behaviour
over texture coordinates interpolation along X and Y coordinates.
2016-07-28 02:46:41 +00:00
Paul Gilbert 875a9998c5 TITANIC: Added BellbotScript updateState 2016-07-27 22:26:23 -04:00
Vincent Pelletier a577b4c6a6 TINYGL: Free disposed textures before images.
Reusing function already defined in zdirtyrect.cpp doing both.
2016-07-28 01:55:48 +00:00
Vincent Pelletier 47a1e826e7 TINYGL: Free draw call lists in glClose. 2016-07-28 01:55:48 +00:00
Vincent Pelletier 3221146de9 TINYGL: Always initialise normal and eye coordinates (valgrind) 2016-07-28 01:55:48 +00:00
Vincent Pelletier 786311652a TINYGL: Initialise all light properties (valgrind).
Also, sort initialisation in the same order as declaration, for easier
difference-spotting.
2016-07-28 01:55:48 +00:00
Vincent Pelletier f272c85704 TINYGL: Initialise z buffer (valgrind) 2016-07-28 01:55:48 +00:00
Vincent Pelletier 369332e464 TINYGL: Treat alpha the same way as other color components.
When kLightsMode (aka kInterpRGB) is false, "a" is always 0 (vertice data is
not used in caller in corresponding branches), so taking it into account makes
all triangles transparent.
This is not visible in practice, because putPixelTextureMappingPerspective is
only called when (kInterpST || kInterpSTZ) is true, and kInterpRGB is always
true when that's the case. But unifying color processing allows further code
simplification.
2016-07-28 01:55:14 +00:00
Vincent Pelletier 0065f38251 TINYGL: Reuse global const. 2016-07-28 01:55:14 +00:00
Vincent Pelletier e1d5b811e1 Revert "GRIM: fixed transparency in TinyGL renderer"
This reverts commit b8bddf64da.

Since 9b7548ccf7, alpha test is enabled
when drawing model faces, fixing transparency issues in GRIM which were
corrected by reverted commit.
It is incorrect to test transparency when caller did not enable it.
Also, this change bypasses increments done at the end of
putPixelTextureMappingPerspective, so transparent textures in 16 bits mode
would be stuck on the transparent pixel for the current line's 8-pixel run
in filTriangle, and would ignore z coordinate.
2016-07-28 01:55:14 +00:00
Vincent Pelletier 8b6d362c58 TINYGL: Reuse _enableScissor property.
Should have been part of:
  commit db764b1ca5
  TINYGL: Entirely avoid calling scissorPixel in putPixel when possible.
2016-07-28 01:55:14 +00:00
Vincent Pelletier 18342118dc TINYGL: Fix y coordinate tracking when drawing triangles.
Increment y inside the loop, not outside.
Set y to the topmost vertex y coordinate, which depends on which half of
the triangle is being drawn.
Should have been part of:
  commit 3c2689a65f
  TINYGL: Optimise scissorPixel.

This does not (should not) fix any visible regression, as pixel scissor is
only (?) used when dirty rectangle mecanism is enabled (and it is disabled).
2016-07-28 01:55:10 +00:00
Paul Gilbert 8cc9142a92 TITANIC: Renaming for NPC state methods 2016-07-27 19:41:07 -04:00
Eugene Sandulenko 6ac435099c FULLPIPE: Split all debug output by channels 2016-07-28 00:37:32 +03:00
Eugene Sandulenko 1fb5f55b70 FULLPIPE: Added more debug channels 2016-07-28 00:37:32 +03:00