summaryrefslogtreecommitdiff
path: root/source/ui_confirm.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-05-18 14:37:21 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-05-18 14:37:21 +0000
commitcb43ed08c3cf6410fe4ce22dac3d07952db92893 (patch)
tree0b2b2790941743db47913cdf06b819c36b89e161 /source/ui_confirm.c
parent179f701f7aec100ac1228fc02778fc4af47b75f0 (diff)
Accept `all' as special argument to `delstuffcmd' command.
Cleaned up Cvar_Get and fixed semantic bug. Accept `background keyword in menu scripts. Renamed `gl_fastsky' to `gl_drawsky'. If at least one of the sky env maps fails lo load, disable entire sky drawing. Reworked loading screen. Fixed Com_Quit argument string handling. Catch more signals on *nix. Updated server docs.
Diffstat (limited to 'source/ui_confirm.c')
-rw-r--r--source/ui_confirm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/ui_confirm.c b/source/ui_confirm.c
index 68078ab..cb60512 100644
--- a/source/ui_confirm.c
+++ b/source/ui_confirm.c
@@ -58,6 +58,8 @@ void M_Menu_Confirm( const char *text, confirmAction_t action ) {
memset( &m_confirm, 0, sizeof( m_confirm ) );
m_confirm.menu.keydown = ConfirmKeydown;
+ m_confirm.menu.image = uis.backgroundHandle;
+ *( uint32_t * )m_confirm.menu.color = *( uint32_t * )colorBlack;
m_confirm.text.generic.type = MTYPE_STATIC;
m_confirm.text.generic.name = ( char * )text;
@@ -111,6 +113,8 @@ void M_Menu_Error( comErrorType_t type, const char *text ) {
memset( &m_error, 0, sizeof( m_error ) );
m_error.menu.keydown = ErrorKeydown;
+ m_error.menu.image = uis.backgroundHandle;
+ *( uint32_t * )m_error.menu.color = *( uint32_t * )colorBlack;
m_error.text.generic.type = MTYPE_STATIC;
m_error.text.generic.flags = QMF_CUSTOM_COLOR;