Commit Graph
62 Commits
Author SHA1 Message Date
Paweł Kołodziejski 06902574b4 GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski 590ec99ffc GRIM: Lua_V1::ResetTextures is actually stub 2022-01-16 14:48:21 +01:00
Paweł Kołodziejski 526a08263a GRIM: Added lua function stubs used by game 2022-01-16 12:51:32 +01:00
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Paweł Kołodziejski 6e619ca714 GRIM: Merge branch 'remastered' 2020-10-07 18:26:49 +02:00
Vincent Pelletier bad3de8a12 GRIM: Drop off-screen buffers
These were present to implement actor freezing in software rendering mode
in the way original engine was intended for performance reason.
In residualvm, software rendering will generalise the principle through
dirty-rectangles management, so off-screen buffers should not be needed.

Also, properly implementing them requires invasive changes (move previous
draw call list from global OpenGL context to individual off-screen buffers,
along with associated linear vertex allocator, adding a new draw call to
track requested buffer changes until final on-screen frame buffer
presentation).
So instead of such added complexity, lie to lua API about actor not being
in set but keep it in so it is part of normal redraw sequence.

Fixes disappearing actors in cn, bi.
Likely also fixes at, ly, sh, mn, dd which uses free/thaw lua API, but
which I did not check.
2017-05-02 09:51:47 +00:00
Vincent Pelletier 1c2e6f554a GRIM: Simplify Lua_V1::EngineDisplay 2017-05-01 02:37:31 +00:00
Joel Teichroeb 6df76c20df Load and render ttf fonts 2015-02-01 15:36:56 -08:00
Pawel Kolodziejski 8b616ea590 GRIM: Fixes #1113 2014-11-02 13:37:19 +01:00
Pawel Kolodziejski f1c29914cf GRIM: fixed entries of polygon creation 2014-08-14 07:51:13 +02:00
Joseph Jezak febd94c8db EMI: WorldToScreen returns a float representation of the screen position. 2014-08-04 21:12:23 -04:00
Joseph Jezak 1d2cdd38fe GRIM/EMI: Refactor graphics primitives code. 2014-08-04 21:10:14 -04:00
Christian Krause 1e82136592 EMI: Implement screenshot thumbnails for savegames 2014-07-16 23:18:43 +02:00
Joel Teichroeb 64621fc223 EMI: Implement changing line enpoints 2014-06-05 07:50:49 -07:00
Vincent Pelletier 295e27ea3e GRIM: Do not truncate SetGamma parameter decimals. 2014-05-31 17:06:07 +02:00
Joel Teichroeb 0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski 8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Ingo van Lil c3b202ede3 GRIM: Cleanup refreshDrawMode
Remove _refreshDrawNeeded and refreshDrawMode(), they have been unused
for years.
2013-12-02 14:07:24 -08:00
Einar Johan Trøan Sømåen fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00
Giulio Camuffo e93e33fb80 GRIM: Save and restore the movie subtitle. Bump save version to 22.6. 2013-01-16 14:49:37 +01:00
Giulio Camuffo 80109ca3fe GRIM: Fix ActorToClean behaviour. Bump save version to 22.4. Fix #701.
The clean buffer code needs two layers. Every actor needs its buffer,
but we also need a global one. The actors' buffers blit to the global buffer
which then gets blitted to screen.
2013-01-11 12:44:30 +01:00
Giulio Camuffo eef5076999 GRIM: Bind the background movies to a specific setup. Fix #679 2013-01-08 11:55:05 +01:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Joel Teichroeb 77f4978a42 GRIM: Remove unneeded forbidden symbol exceptions 2012-05-05 22:19:45 -07:00
Paweł Kołodziejski 640889b805 ALL: disabled compiler warnings 2012-04-12 02:54:10 +02:00
Joel Teichroeb 0dcfaf8fb1 GRIM: Do not include unneeded headers 2012-04-04 16:11:05 -07:00
Joel Teichroeb 3fc378d386 GRIM: Removed unneeded old code 2012-04-04 15:29:37 -07:00
Giulio Camuffo b2b809aa27 GRIM: Treat the movie subtitle separate from the other TextObjects. Fix #571. 2012-03-21 18:14:58 +01:00
Giulio Camuffo 718789b48f GRIM: Delete the TextObjects when a movie is stopped. 2012-03-09 16:46:08 +01:00
Giulio Camuffo 5c7db7a77d GRIM: Properly implement the lua opcode ActorToClean(). Fix #406 2012-02-13 18:01:03 +01:00
Joel Teichroeb 505ec14fc3 GRIM: Greatly improved memory usage of bitmaps 2012-02-02 09:38:37 -08:00
Giulio Camuffo dada5799d7 GRIM: Just use the prim object given by lua. Fix #499 2012-01-28 12:38:32 +01:00
Joel Teichroeb aa814e3334 GRIM: Enhance the way that colors are given to lua. 2012-01-27 11:47:28 -08:00
Giulio Camuffo b42bbe5259 TinyGL: Support for different color modes, part 2. 2012-01-24 21:36:47 +01:00
Paweł Kołodziejski e350c7f777 renames 2012-01-06 23:29:45 +01:00
Giulio Camuffo 353c42effe GRIM: Use the new foreach macro.
Modify a bit PoolObject::Pool to allow it to be used with foreach.
2011-11-21 22:07:12 +01:00
Giulio Camuffo cbeccc9fa6 GRIM: Move some lua related code into LuaBase. 2011-10-13 20:25:50 +02:00
Giulio Camuffo 782bfdecf7 GRIM: Lua_L1 -> Lua_V1 and Lua_L2 -> Lua_V2. 2011-10-13 15:41:22 +02:00
Giulio Camuffo 5ca9cae83c GRIM: Incapsulate the lua opcodes in a class hierarchy. 2011-10-12 17:57:31 +02:00
Giulio Camuffo d6941173df GRIM: Use an enum for the engine modes instead of the #defines. 2011-10-04 22:01:24 +02:00
Giulio Camuffo 1fbbd24aee GRIM: Port Actor, Bitmap, Color, Font, Primitive, ObjectState, Scene, TextObj to PoolObject.
These are the classes that go into Lua, and so are kept in a pool,
indexed with an id.
2011-09-07 23:08:59 +02:00
Giulio Camuffo bf4603c2c3 GRIM: Don't check the engine mode in L1_IsMoviePlaying. Fix #301 2011-08-23 15:48:58 +02:00
Giulio Camuffo b83d432dd7 GRIM: Implemented L1_PreRender(). 2011-07-29 23:02:52 +02:00
Giulio Camuffo 692ce7685f GRIM: Some header cleanups. 2011-07-22 22:40:49 +02:00
Giulio Camuffo 588b59e671 GRIM: Fix opening of menu during movies. 2011-07-20 17:59:47 +02:00
Giulio Camuffo 68427fdad4 GRIM: Implemented iris animation. 2011-07-17 18:17:07 +02:00
Andrea Corna 4482bd8771 Cleaned some code (thanks to Klusark) 2011-05-26 14:24:04 +08:00
Andrea Corna 970b738e8a GRIM: Prevent a crash if StartFullscreenMovie or StartMovie are called with a non-existant file 2011-05-26 14:23:54 +08:00