mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Add support for XP visual styles
git-svn-id: https://svn.eduke32.com/eduke32@195 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
42b4208d1e
commit
b080cbabb8
4 changed files with 50 additions and 17 deletions
21
polymer/eduke32/rsrc/eduke32.manifest
Executable file
21
polymer/eduke32/rsrc/eduke32.manifest
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||||
|
<assemblyIdentity
|
||||||
|
name="EDuke32"
|
||||||
|
processorArchitecture="x86"
|
||||||
|
version="1.0.0.0"
|
||||||
|
type="win32"/>
|
||||||
|
<description>EDuke32</description>
|
||||||
|
<dependency>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity
|
||||||
|
type="win32"
|
||||||
|
name="Microsoft.Windows.Common-Controls"
|
||||||
|
version="6.0.0.0"
|
||||||
|
processorArchitecture="x86"
|
||||||
|
publicKeyToken="6595b64144ccf1df"
|
||||||
|
language="*"
|
||||||
|
/>
|
||||||
|
</dependentAssembly>
|
||||||
|
</dependency>
|
||||||
|
</assembly>
|
|
@ -8386,26 +8386,10 @@ void loadtmb(void)
|
||||||
kclose(fil);
|
kclose(fil);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
void freeconmem(void)
|
||||||
===================
|
|
||||||
=
|
|
||||||
= ShutDown
|
|
||||||
=
|
|
||||||
===================
|
|
||||||
*/
|
|
||||||
|
|
||||||
void Shutdown( void )
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
SoundShutdown();
|
|
||||||
MusicShutdown();
|
|
||||||
uninittimer();
|
|
||||||
uninitengine();
|
|
||||||
CONTROL_Shutdown();
|
|
||||||
CONFIG_WriteSetup();
|
|
||||||
KB_Shutdown();
|
|
||||||
|
|
||||||
for(i=0;i<MAXQUOTES;i++)
|
for(i=0;i<MAXQUOTES;i++)
|
||||||
{
|
{
|
||||||
if(fta_quotes[i] != NULL)
|
if(fta_quotes[i] != NULL)
|
||||||
|
@ -8430,6 +8414,28 @@ void Shutdown( void )
|
||||||
Bfree(labelcode);
|
Bfree(labelcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
===================
|
||||||
|
=
|
||||||
|
= ShutDown
|
||||||
|
=
|
||||||
|
===================
|
||||||
|
*/
|
||||||
|
|
||||||
|
void Shutdown( void )
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
SoundShutdown();
|
||||||
|
MusicShutdown();
|
||||||
|
uninittimer();
|
||||||
|
uninitengine();
|
||||||
|
CONTROL_Shutdown();
|
||||||
|
CONFIG_WriteSetup();
|
||||||
|
KB_Shutdown();
|
||||||
|
freeconmem();
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
===================
|
===================
|
||||||
=
|
=
|
||||||
|
@ -8526,6 +8532,7 @@ void Startup(void)
|
||||||
if (initengine()) {
|
if (initengine()) {
|
||||||
wm_msgbox("Build Engine Initialisation Error",
|
wm_msgbox("Build Engine Initialisation Error",
|
||||||
"There was a problem initialising the Build engine: %s", engineerrstr);
|
"There was a problem initialising the Build engine: %s", engineerrstr);
|
||||||
|
freeconmem();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8533,6 +8540,7 @@ void Startup(void)
|
||||||
if (i < 0 || ForceSetup || CommandSetup) {
|
if (i < 0 || ForceSetup || CommandSetup) {
|
||||||
if (!startwin_run()) {
|
if (!startwin_run()) {
|
||||||
uninitengine();
|
uninitengine();
|
||||||
|
freeconmem();
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include "startwin.editor.h"
|
#include "startwin.editor.h"
|
||||||
|
|
||||||
|
1 24 "rsrc/eduke32.manifest"
|
||||||
|
|
||||||
RSRC_ICON ICON "rsrc/build_icon.ico"
|
RSRC_ICON ICON "rsrc/build_icon.ico"
|
||||||
RSRC_BMP BITMAP "rsrc/build.bmp"
|
RSRC_BMP BITMAP "rsrc/build.bmp"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include "startwin.game.h"
|
#include "startwin.game.h"
|
||||||
|
|
||||||
|
1 24 "rsrc/eduke32.manifest"
|
||||||
|
|
||||||
RSRC_ICON ICON "rsrc/game_icon.ico"
|
RSRC_ICON ICON "rsrc/game_icon.ico"
|
||||||
RSRC_ICON+1 ICON "rsrc/game_icon.ico"
|
RSRC_ICON+1 ICON "rsrc/game_icon.ico"
|
||||||
|
|
Loading…
Reference in a new issue