1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 14:38:30 +02:00
VVVVVV/desktop_version/src
Info Teddy c49ae404af Convert roomname background to a surface, then draw that
The roomname background used to just be a simple SDL_Rect that was drawn
using SDL_FillRect with a color of 0. Unfortunately, it seems that you
cannot use transparent colors with SDL_FillRect, it just defaults to
being fully opaque. However, you CAN draw surfaces with translucency,
which seems like the easiest thing to do. But the first step is to
convert the roomname background to an SDL_Surface.

This replaces the FillRect()s with SDL_BlitSurface() in the three places
roomnames are drawn: in towerrender, in gamerender, and in editorrender.
2020-01-25 23:29:37 -05:00
..
BinaryBlob.cpp Fix warnings raised by GCC 8 2020-01-11 08:53:32 -05:00
BinaryBlob.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
BlockV.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
BlockV.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
editor.cpp Convert roomname background to a surface, then draw that 2020-01-25 23:29:37 -05:00
editor.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Ent.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Ent.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Entity.cpp Move skipblocks default setting to obj.init() 2020-01-24 20:28:15 -05:00
Entity.h Move skipblocks default setting to obj.init() 2020-01-24 20:28:15 -05:00
Enums.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
FileSystemUtils.cpp Fix level editor not using LoadTiXmlDocument 2020-01-24 16:45:18 -05:00
FileSystemUtils.h Add a null terminator to loaded TinyXML files (#117) 2020-01-24 15:35:46 -05:00
Finalclass.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Finalclass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Game.cpp Add text outline as an accessibility option 2020-01-17 12:37:53 -05:00
Game.h Integrate dynamic list sizes for credited patrons, add CONTRIBUTORS to credits 2020-01-16 20:14:56 -05:00
GOGNetwork.c Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Graphics.cpp Fix bug with displaying translucent pixels incorrectly 2020-01-21 23:33:33 -05:00
Graphics.h Convert roomname background to a surface, then draw that 2020-01-25 23:29:37 -05:00
GraphicsResources.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
GraphicsResources.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
GraphicsUtil.cpp Fix warnings raised by GCC 8 2020-01-11 08:53:32 -05:00
GraphicsUtil.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Input.cpp Call nexttowercolour() when exiting to menu 2020-01-22 20:26:54 -05:00
Input.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
KeyPoll.cpp Fix frame-ordering backspacing empty line bug in script editor 2020-01-19 08:37:14 -05:00
KeyPoll.h Fix frame-ordering backspacing empty line bug in script editor 2020-01-19 08:37:14 -05:00
Labclass.cpp Fix "Exausted?" typo in roomname 2020-01-15 04:23:17 -08:00
Labclass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Logic.cpp Found another dumb comment, removed 2020-01-17 13:47:34 +01:00
Logic.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
main.cpp Convert roomname background to a surface, then draw that 2020-01-25 23:29:37 -05:00
MakeAndPlay.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Map.cpp Correct Warp Zone's area name from "Warpzone" to "Warp Zone" 2020-01-15 20:29:30 -05:00
Map.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Maths.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Music.cpp Don't quick fade when using niceplay() 2020-01-22 20:26:16 -05:00
Music.h Stop the game from freezing if we play a song during a fadeout (#61) 2020-01-12 22:33:58 -05:00
Network.c int32_t > int 2020-01-13 11:27:16 -05:00
Network.h Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Otherlevel.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Otherlevel.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
preloader.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
preloader.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Screen.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Screen.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Script.cpp Fix tower quicksave bug (only appeared in some builds) 2020-01-24 20:28:15 -05:00
Script.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Scripts.cpp fix Victoria typo "scentists" in the Secret Lab 2020-01-10 22:41:15 -05:00
SoundSystem.cpp add myself to the contributors file, fix formatting 2020-01-10 15:07:29 -07:00
SoundSystem.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Spacestation2.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Spacestation2.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
SteamNetwork.c Untested Haiku port? 2020-01-13 23:31:14 -05:00
TerminalScripts.cpp Correct capitalization of song names 2020-01-15 22:05:37 -08:00
Textbox.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Textbox.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
titlerender.cpp Convert roomname background to a surface, then draw that 2020-01-25 23:29:37 -05:00
titlerender.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Tower.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Tower.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
UtilityClass.cpp Abstract UtilityClass::number() to be more generic 2020-01-23 10:00:26 -05:00
UtilityClass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
WarpClass.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
WarpClass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00