Commit graph

37 commits

Author SHA1 Message Date
Cameron Cawley
1558f7a784 STARK: Add a method for drawing filled rectangles 2023-02-03 00:37:20 +00:00
Cameron Cawley
aa5076fb58 STARK: Move the Color struct into a separate header 2023-02-03 00:37:20 +00:00
Cameron Cawley
5bd0ec43a6 STARK: Fully separate bitmaps and textures 2023-01-15 11:54:11 +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
Paweł Kołodziejski
7aab569882
STARK: Separated texture usage for 2D or 3D 2021-10-20 22:24:14 +02:00
Paul Gilbert
baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
Paweł Kołodziejski
eef527e227 STARK: Not dot use ellipsis in text for game. 2020-10-16 23:27:18 +02:00
Bastien Bouclet
308c018141 STARK: Add an engine option to enable font anti-aliasing
Makes use of stem darkening which requires at least FreeType 2.9
2019-06-29 16:42:55 +02:00
Bastien Bouclet
b2caa0be9e STARK: Only snap vertices to the pixel grid for text
Fixes a very minor issue with the shake effect where all the scene
elements don't move with the same offset.
2019-05-30 11:44:43 +02:00
Bastien Bouclet
9f7fe9b6c0 START: Fix crash when trying to draw empty text visuals 2019-02-03 19:29:17 +01:00
Bastien Bouclet
f8203d8b5f STARK: Use the actual font bounding box when rendering text
Prevents parts of characters from being cut off.
2019-02-01 08:58:56 +01:00
Bastien Bouclet
9bbaa69dba STARK: Make the text color endian-safe 2019-01-28 21:23:14 +01:00
Bastien Bouclet
462f087cdb STARK: Add text encoding handling 2019-01-28 18:20:00 +01:00
Bastien Bouclet
282d82df85 STARK: Implement the confirmation dialogs using the original style 2019-01-27 17:53:50 +01:00
Bastien Bouclet
b9a1b8eefd STARK: Optionally use linear filtering when rendering backgrounds 2019-01-16 20:20:39 +01:00
Douglas Liu
4bf241d399 STARK: Fix blank text bounding box and implement help text 2018-05-21 15:30:56 +08:00
Douglas Liu
e779bc8b1c STARK: Style problems fixed 2018-05-21 15:30:56 +08:00
Douglas Liu
6f740cad70 STARK: Fix the empty text bounding area 2018-05-21 15:30:56 +08:00
Bastien Bouclet
f15f8b3996 STARK: Don't show the cursor during FMVs 2018-04-08 20:07:40 +02:00
Douglas Liu
f7697e93bd STARK: Fix the text resized problem on diary index menu
Fix issue #1402
2018-03-28 18:34:06 +02:00
Bastien Bouclet
61576afabf STARK: Use a separate variable for the target width in the text renderer
Fixes the target width value changing due to rounding errors when
refreshing the text.
2018-02-14 19:59:15 +01:00
Snejp
52e999dc51 STARK: Proper align mouse hints 2018-02-09 01:06:46 +01:00
Snejp
904e224581 STARK: remove VisualText::getTexture, fix Button and Cursor render() 2018-02-05 19:30:10 +01:00
Snejp
d9c5c7f28f Merge remote-tracking branch 'upstream/master' 2018-02-03 23:47:50 +01:00
Bastien Bouclet
b6c7abfded STARK: Set the VisualText width the the effective text width 2018-02-02 12:01:15 +01:00
Snejp
bdf1534aac STARK: Move topmenu hints code to Button class
Made requested changes
2018-01-31 16:06:43 +01:00
Snejp
383f78d042 STARK: Make mouse hints appear more like in the game
Added screen boundary to mouse hints. Made hints static for topmenu buttons. Proper placement in fullscreen.
2018-01-26 16:51:46 +01:00
Bastien Bouclet
abd8c585f7 STARK: Change surface data to always be in the RGBA byte order
This eases uploading the textures to OpenGL, and will hopefully fix
endianness issues.
2017-08-20 16:06:36 +02:00
Bastien Bouclet
b358f025a1 STARK: Move surface rendering to its own class
So that more rendering parameters can be added in the future without
creating a mess.
2016-01-01 07:30:11 +01:00
Bastien Bouclet
9ed9efb443 STARK: Draw text at the native resolution 2016-01-01 07:30:10 +01:00
Bastien Bouclet
a4ae3939d9 STARK: Use the appropriate font height when rendering text 2016-01-01 07:30:08 +01:00
Bastien Bouclet
6e3c6f837a STARK: Set a background color for text rendering 2016-01-01 07:30:08 +01:00
Bastien Bouclet
c9540977eb STARK: Implement TrueType font rendering 2016-01-01 07:30:08 +01:00
Bastien Bouclet
0393525a2c STARK: Set the target width in pixels when rendering text 2016-01-01 07:30:07 +01:00
Bastien Bouclet
43bae53ce0 STARK: Fix GCC warnings 2016-01-01 07:29:51 +01:00
Bastien Bouclet
0d62f7a400 STARK: Move text rendering to a separate class 2016-01-01 07:29:51 +01:00