From b080cbabb880360a2bde9f6db9b1e8ac3ec156d2 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 1 Jul 2006 02:01:18 +0000 Subject: [PATCH] Add support for XP visual styles git-svn-id: https://svn.eduke32.com/eduke32@195 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/rsrc/eduke32.manifest | 21 +++++++++++++ polymer/eduke32/source/game.c | 42 +++++++++++++++---------- polymer/eduke32/source/misc/buildres.rc | 2 ++ polymer/eduke32/source/misc/gameres.rc | 2 ++ 4 files changed, 50 insertions(+), 17 deletions(-) create mode 100755 polymer/eduke32/rsrc/eduke32.manifest diff --git a/polymer/eduke32/rsrc/eduke32.manifest b/polymer/eduke32/rsrc/eduke32.manifest new file mode 100755 index 000000000..7b68b5151 --- /dev/null +++ b/polymer/eduke32/rsrc/eduke32.manifest @@ -0,0 +1,21 @@ + + + +EDuke32 + + + + + + diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index f903bac16..3347f3688 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -8386,26 +8386,10 @@ void loadtmb(void) kclose(fil); } -/* -=================== -= -= ShutDown -= -=================== -*/ - -void Shutdown( void ) +void freeconmem(void) { int i; - SoundShutdown(); - MusicShutdown(); - uninittimer(); - uninitengine(); - CONTROL_Shutdown(); - CONFIG_WriteSetup(); - KB_Shutdown(); - for(i=0;i #include #include "startwin.editor.h" + +1 24 "rsrc/eduke32.manifest" RSRC_ICON ICON "rsrc/build_icon.ico" RSRC_BMP BITMAP "rsrc/build.bmp" diff --git a/polymer/eduke32/source/misc/gameres.rc b/polymer/eduke32/source/misc/gameres.rc index 4f720717e..5fec43d25 100644 --- a/polymer/eduke32/source/misc/gameres.rc +++ b/polymer/eduke32/source/misc/gameres.rc @@ -1,6 +1,8 @@ #include #include #include "startwin.game.h" + +1 24 "rsrc/eduke32.manifest" RSRC_ICON ICON "rsrc/game_icon.ico" RSRC_ICON+1 ICON "rsrc/game_icon.ico"