Commit graph

32 commits

Author SHA1 Message Date
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
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
5906b0826d GRIM: Make the opcode InputDialog show a dialog instead of using the console. 2011-07-24 16:19:17 +02:00
Giulio Camuffo
39c6553e61 GRIM: Store the message id in TextObject::_textID, not the message itself.
Fix #274
2011-07-22 16:00:14 +02:00
Giulio Camuffo
0547cceee7 GRIM: Others explicit casts. 2011-07-21 11:58:51 +02:00
Pawel Kolodziejski
cd8d8cb84e EMI: Stub more lua functions and fix some text stuff (pull request #232) 2011-07-03 10:53:57 +02:00
Joni Vähämäki
5ea33b4f7f GRIM: Allow SayLine messages of zero length. Fixes #199 2011-06-11 18:25:25 +03:00
Pawel Kolodziejski
ba0af91198 Merge pull request #222 from klusark/stuff
Fix TinyGL text rendering.
2011-06-09 09:16:52 -07:00
Pawel Kolodziejski
7329a5d164 ALL: sync with scummvm 2011-06-09 11:17:15 +02:00
Joel Teichroeb
86c5751695 Fix TinyGL text rendering. 2011-06-07 09:22:12 -07:00
Joel Teichroeb
57e320ec89 Cleaned up some old code. 2011-06-06 13:11:04 -07:00
Joel Teichroeb
f925f95fa9 Add checks to ensure that the text received is valid. 2011-06-06 13:07:36 -07:00
Joel Teichroeb
a8724370c5 A bit of cleanup. 2011-06-06 13:07:35 -07:00
Joel Teichroeb
5fb97a647b Made fonts be rendered by opengl. 2011-06-06 13:03:46 -07:00
Pawel Kolodziejski
7a5148d73a GRIM: fix bad loop in L1_ChangeTextObject 2011-06-06 09:16:43 +02:00
Pawel Kolodziejski
15cda2a646 GRIM: fix compilation 2011-06-06 08:22:35 +02:00
Pawel Kolodziejski
6d31f42477 EMI: part of pull 214: disabled loadComponentEMI, and EMI case for load font in setTextObjectParams 2011-06-06 07:27:13 +02:00
Pawel Kolodziejski
403cd61c2a GRIM: fix warnings 2011-06-02 10:55:14 +02:00
Giulio Camuffo
ca5a804079 GRIM: Check the text object passed before trying to delete it. Fix #192 2011-05-30 22:53:08 +02:00
Giulio Camuffo
0679f6323b GRIM: Actually delete the TextObjects passed to KillTextObject. 2011-05-26 18:02:29 +02:00
Joel Teichroeb
915fc302bd Add support for lua sending text to the background. 2011-05-24 12:55:22 -07:00
Giulio Camuffo
94885408fc GRIM: Implement duration of text objects. 2011-05-22 19:46:59 +02:00
Giulio Camuffo
65b074987e GRIM: Better implementation of IsMessageGoing() when no actor is passed. 2011-05-19 17:56:32 +02:00
Pawel Kolodziejski
356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Giulio Camuffo
556efa807e GRIM: Set the value of system.lastActorTalking. Fixes #119 2011-05-18 18:37:15 +02:00
Joel Teichroeb
3fd4945f6f Reducded duplicate code dealing with textobjects. 2011-05-18 16:47:16 +08:00
Pawel Kolodziejski
51953fb5a6 EMI: more opcodes 2011-05-15 13:54:13 +02:00
Pawel Kolodziejski
83de2e6600 refactor movie playback and game detection params 2011-05-14 12:11:53 +02:00
Joel Teichroeb
4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Pawel Kolodziejski
0f5de71f70 sync with scummvm 2011-05-08 15:38:26 +02:00
Pawel Kolodziejski
59fdb1c03d GRIM: added missed files 2011-05-08 12:34:15 +02:00