Paweł Kołodziejski
06902574b4
GRIM: Janitorial
2022-06-08 01:12:00 +02: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
Alexandre Detiste
6044504762
JANITORIAL: typos
...
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Pawel Kolodziejski
527ac8ee87
GRIM: Allow compile without freetype
2020-10-07 21:11:04 +02:00
Pawel Kolodziejski
3d74c3dd4d
GRIM: Post branch merge fixes.
2020-10-07 19:50:27 +02:00
Paweł Kołodziejski
6e619ca714
GRIM: Merge branch 'remastered'
2020-10-07 18:26:49 +02:00
Mathias Parnaudeau
75de72f38f
GRIM: Add one missing character description in emerFont data
...
The builtin font emerFont is currently used to display FPS.
Each graphics engine reads this array to render each of the 96 characters,
from 32 to 127 the ASCII table.
TinyGL and OpenGL-shaders read the array out of bound because they read
data for the 96th character in emerFont that only describes 95.
No problem was hightlighted with OpenGL engine because it only read 95
characters, with no consequence as the character 127 is DEL, so never
displayed.
To be compliant with the global implementation, data for character 127
is added in emerFont (will display nothing) and the OpenGL engine is
changed accordingly.
2020-02-21 07:17:48 +01:00
Joel Teichroeb
6df76c20df
Load and render ttf fonts
2015-02-01 15:36:56 -08:00
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