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
5ca9cae83c
GRIM: Incapsulate the lua opcodes in a class hierarchy.
2011-10-12 17:57:31 +02:00
Giulio Camuffo
7b1f87f928
GRIM: Boost of the debug system, using debug channels.
2011-10-10 18:17:22 +02:00
George Macon
f435e25e7c
Include specializations to fix compile on Mac OS 10.7.
2011-09-12 20:37:48 +08: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
54e1478e85
GRIM: Calculate the bounding box of the meshes only if necessary.
2011-07-25 23:42:07 +02:00
Giulio Camuffo
a270ca866b
GRIM: Make TextObject::_textID a String.
2011-07-25 17:06:24 +02:00
Giulio Camuffo
5f59fff5b3
GRIM: Move the debug levels enum in a separate header.
2011-07-23 15:37:14 +02:00
Giulio Camuffo
b0efe91506
GRIM: Initialize textObject::_maxLineWidth.
2011-07-22 22:42:26 +02:00
Giulio Camuffo
692ce7685f
GRIM: Some header cleanups.
2011-07-22 22:40:49 +02:00
Pawel Kolodziejski
60611723ff
Merge branch 'master' of git://github.com/residual/residual
2011-07-20 06:28:17 +02:00
Giulio Camuffo
d6436fbee8
GRIM: Fix the in-word wrapping of subtitles. Fix #244
2011-07-12 12:20:53 +02:00
Giulio Camuffo
994c2ef52f
GRIM: Shut up a warning.
2011-07-04 12:13:48 +02:00
Giulio Camuffo
73bd50a96f
GRIM: Init TextObject::_lines to NULL in TextObject().
2011-07-04 12:09:44 +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
Giulio Camuffo
e585759a32
GRIM: Don't set a TextObject's _disabled to true if the text is none. Fix #227
2011-06-24 15:22:31 +02:00
Joel Teichroeb
7e453c1bbc
Destroy the old textobject graphics data when text is changed. Fixes #240
2011-06-11 22:33:55 -07:00
Giulio Camuffo
1c6e03f08d
GRIM: Don't save TextObject::_created.
2011-06-10 19:03:08 +02:00
Pawel Kolodziejski
ba0af91198
Merge pull request #222 from klusark/stuff
...
Fix TinyGL text rendering.
2011-06-09 09:16:52 -07:00
Giulio Camuffo
8e91515595
GRIM: Fix restore of TextObjects. Fix #220
2011-06-07 18:25:37 +02:00
Joel Teichroeb
86c5751695
Fix TinyGL text rendering.
2011-06-07 09:22:12 -07:00
Joel Teichroeb
722ab01405
Fixed incorrect symbols being shown.
2011-06-06 13:07:38 -07:00
Joel Teichroeb
a208b3c9b0
Kind of fix it.
2011-06-06 13:07:37 -07:00
Joel Teichroeb
de9bfa0a52
Added some more data checking.
2011-06-06 13:07:37 -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
16061be03e
Cleaned up some code and improved the tinygl creation and rendering.
2011-06-06 13:07:35 -07:00
Joel Teichroeb
c69322d78b
Improved the tinygl font rendering.
2011-06-06 13:07:32 -07:00
Joel Teichroeb
4725e4fbe5
Make the graphics systems draw the TextObject instead of just the text.
2011-06-06 13:07:32 -07:00
Joel Teichroeb
65eb5d8ea2
Fix improper merge
2011-06-06 13:07:31 -07:00
Joel Teichroeb
b94fcbd554
Finished new font stuff
2011-06-06 13:07:30 -07:00
Joel Teichroeb
3e8baa9657
Removed a large amount of now unused code and slightly improved font stuff.
2011-06-06 13:07:29 -07:00
Joel Teichroeb
5fb97a647b
Made fonts be rendered by opengl.
2011-06-06 13:03:46 -07:00
Giulio Camuffo
5efbdf0a1b
GRIM: If duration == 0 the text object won't expire.
2011-05-23 16:35:10 +02:00
Giulio Camuffo
2ba81d9c13
GRIM: Default TextObjectCommon::_duration to 0.
2011-05-23 16:34:38 +02:00
Giulio Camuffo
698ca807d4
GRIM: Save duration of text objects.
2011-05-23 16:28:05 +02:00
Giulio Camuffo
94885408fc
GRIM: Implement duration of text objects.
2011-05-22 19:46:59 +02:00
Pawel Kolodziejski
356c9c8c07
sync with scummvm
2011-05-18 23:33:39 +02:00
Joel Teichroeb
3fd4945f6f
Reducded duplicate code dealing with textobjects.
2011-05-18 16:47:16 +08:00
Joel Teichroeb
4751516279
Cleaned up dependencies between files.
2011-05-13 17:55:14 -07:00
Giulio Camuffo
7e3e63dbbd
GRIM: Rename GrimEngine's getters.
2011-05-05 11:25:08 +02:00
Matthew Hoops
938800e170
GRIM: Silence a ton of warnings
2011-05-02 03:56:42 +08:00
Giulio Camuffo
1e868dd359
GRIM: Store ids instead of the pointers as lua's userdata objects.
...
Removed ObjectManager as it became useless.
2011-05-01 18:54:29 +02:00
Pawel Kolodziejski
a7449f24ff
shutup warning
2011-04-17 12:34:22 +02:00
Pawel Kolodziejski
b18b857558
cleanup headers - grim part
2011-04-16 14:12:44 +02:00
Matthew Hoops
00ee0554be
GRIM: Remove global constructor usage and silence warnings
2011-04-12 20:51:55 +08:00
Pawel Kolodziejski
55415ee174
fix compilation using msvc
2011-04-10 11:24:03 +02:00
Giulio Camuffo
66bba94bcf
Fixed some warnings. Patch by Torbjorn Andersson.
2011-04-05 21:45:20 +02:00
Giulio Camuffo
ca8985862c
Paint the TextObjects after restore. Bumped savegame version to 3.
2011-03-22 17:51:34 +01:00
Giulio Camuffo
cff70f9fad
Cleanings. Mostly indent fixes.
2011-03-21 17:18:04 +01:00
Giulio Camuffo
59dcece9ae
Working savegame support.
...
Implemented also the movement of Manny's head when looking at usable items.
This commit also introduces a new Object class with a ObjectPtr used for
caching the resources loaded by ResourceLoader. This fixes also the lipsync
regression.
2011-03-21 05:41:30 +08:00