Joseph Jezak
f3200a76ff
EMI: Fix font text centering by using just the kerned width.
2014-08-20 09:36:31 -04:00
Joseph Jezak
4a02e3af42
EMI: Fix font rendering with TinyGL.
2014-08-15 10:06:08 -04:00
Joseph Jezak
e638c09ba6
GRIM/EMI: Adjust the width and height names to better reflect usage.
2014-08-04 11:14:28 -04:00
Joseph Jezak
4e5cfab3a3
EMI: Fix spacing between word wrapped lines.
2014-08-04 11:14:27 -04:00
Joseph Jezak
53de9b5ef6
GRIM/EMI: Use only the kerned width when determining text width.
2014-08-04 11:14:27 -04: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
Joel Teichroeb
dbfd0efab6
GRIM: Don't bother checking if the value returned from new is nulll
...
It can never be null and will throw an exception if it can't allocate the
memory
2014-02-04 13:07:17 -08:00
Einar Johan Trøan Sømåen
d992b0759d
GRIM: Initialize more members in Font's constructor
2014-01-07 12:32:04 +01:00
Joel Teichroeb
a3ce54703f
GRIM: Clean up font constructors
2013-10-26 13:27:29 -07: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
94aeca9663
GRIM: Remove tag from the pool template
2012-04-05 15:20:30 -07:00
Joel Teichroeb
0dcfaf8fb1
GRIM: Do not include unneeded headers
2012-04-04 16:11:05 -07:00
Joel Teichroeb
c32458a389
GRIM: Intialize font data to NULL in order to not crash in certain cases
2012-03-24 17:37:27 -07:00
Joel Teichroeb
777287e33f
GRIM: Fix a memory leak when restoring fonts
2012-03-24 16:32:09 -07:00
Joel Teichroeb
2649620a9b
GRIM: Fix some small memory leaks
2012-01-25 20:35:58 -08:00
Joel Teichroeb
acdd0e223f
GRIM: Add support for live switching of gfx engines
2012-01-21 20:18:35 -08:00
Joel Teichroeb
af7f68db76
GRIM: Fix some memory leaks related to not always freeing streams
2012-01-20 12:06:01 -08:00
Paweł Kołodziejski
e350c7f777
renames
2012-01-06 23:29:45 +01:00
Andrea Corna
37b70f4350
GRIM: Remove Block class. Restore cache for raw files in ResourceLoader
2011-12-30 17:17:08 +01:00
Andrea Corna
55995f0c64
GRIM: Make Font load from a stream instead of a data Block
2011-12-30 17:17:08 +01: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
5f59fff5b3
GRIM: Move the debug levels enum in a separate header.
2011-07-23 15:37:14 +02:00
Giulio Camuffo
692ce7685f
GRIM: Some header cleanups.
2011-07-22 22:40:49 +02:00
Joel Teichroeb
57e320ec89
Cleaned up some old code.
2011-06-06 13:11:04 -07:00
Joel Teichroeb
a1773a4674
Forgot to uncomment a file
2011-06-06 13:07:33 -07:00
Joel Teichroeb
075e61ddcf
Made font stuff private again and added a userdata member.
2011-06-06 13:07:33 -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
17b0378237
Some small code fixes and a destroyFont function
2011-06-06 13:07:31 -07:00
Joel Teichroeb
5fb97a647b
Made fonts be rendered by opengl.
2011-06-06 13:03:46 -07:00
Joel Teichroeb
733b34febc
Changed const char * to const Common::String &.
2011-05-22 12:56:37 +08:00
Pawel Kolodziejski
7e279b1769
remove unneded chars
2011-05-21 16:47:59 +02:00
Pawel Kolodziejski
356c9c8c07
sync with scummvm
2011-05-18 23:33:39 +02:00
Joel Teichroeb
4751516279
Cleaned up dependencies between files.
2011-05-13 17:55:14 -07: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
Vincent Pelletier
29badcec9a
Fix crash in french version when talking to clown.
...
Crash is caused by improper font settings, causing last pixel line of
C-cedilla glyph to fall out of display buffer.
2011-04-30 17:39:34 +08:00
Pawel Kolodziejski
5d702b312b
remove odd chars from file
2011-04-17 11:03:26 +02:00
Pawel Kolodziejski
b18b857558
cleanup headers - grim part
2011-04-16 14:12:44 +02:00
Matthew Hoops
37cd4d1ad4
GRIM: Remove iostream usage
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
e89ca555ef
ObjectManager uses a new T::restoreObject(SaveGame*) function to restore saved objects.
...
This function replaces newObject() and allows more flexibility.
2011-03-21 06:46:35 +08: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
Pawel Kolodziejski
6e489b1c2d
get rid Resource and ResPtr
2009-06-26 16:13:11 +00:00
Pawel Kolodziejski
cb4b4fe130
store filename in class
2009-06-22 17:34:26 +00:00
Pawel Kolodziejski
abaa548181
synced with scummvm
2009-06-18 11:52:26 +00:00
Pawel Kolodziejski
f364f9a535
update headers
2009-05-26 14:13:08 +00:00