mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +00:00
[STARFIELD] Change to use scrnsave library. Tidy up all now useless stuff. Tabs -> spaces. Single language link in support added. Noticable change: Multi Monitor support!!! TBD, some user configuration stuff maybe
svn path=/trunk/; revision=67455
This commit is contained in:
parent
0a06865906
commit
a80379f358
4 changed files with 192 additions and 321 deletions
|
@ -2,5 +2,6 @@
|
||||||
add_executable(starfield screensaver.c starfield.rc)
|
add_executable(starfield screensaver.c starfield.rc)
|
||||||
set_module_type(starfield win32gui UNICODE)
|
set_module_type(starfield win32gui UNICODE)
|
||||||
set_target_properties(starfield PROPERTIES SUFFIX ".scr")
|
set_target_properties(starfield PROPERTIES SUFFIX ".scr")
|
||||||
|
target_link_libraries(starfield scrnsave)
|
||||||
add_importlibs(starfield user32 gdi32 msvcrt kernel32)
|
add_importlibs(starfield user32 gdi32 msvcrt kernel32)
|
||||||
add_cd_file(TARGET starfield DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET starfield DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#define IDS_DESCRIPTION 1
|
#define IDS_DESCRIPTION 1
|
||||||
#define IDS_TITLE 2
|
#define IDS_TITLE 2
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
* Copyright 2003 J Brown
|
* Copyright 2003 J Brown
|
||||||
* Copyright 2006 Eric Kohl
|
* Copyright 2006 Eric Kohl
|
||||||
* Copyright 2007 Marc Piulachs (marc.piulachs@codexchange.net)
|
* Copyright 2007 Marc Piulachs (marc.piulachs@codexchange.net)
|
||||||
|
* Copyright 2015 Daniel Reimer
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -20,6 +21,7 @@
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
#include <scrnsave.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
||||||
#define RANDOM( min, max ) ((rand() % (int)(((max)+1) - (min))) + (min))
|
#define RANDOM( min, max ) ((rand() % (int)(((max)+1) - (min))) + (min))
|
||||||
|
@ -27,359 +29,199 @@
|
||||||
#define MAX_LOADSTRING 100
|
#define MAX_LOADSTRING 100
|
||||||
#define MAX_STARS 1000
|
#define MAX_STARS 1000
|
||||||
|
|
||||||
#define APPNAME _T("Starfield")
|
#define APPNAME _T("Starfield")
|
||||||
#define APP_TIMER 1
|
#define APP_TIMER 1
|
||||||
#define APP_TIMER_INTERVAL 20
|
#define APP_TIMER_INTERVAL 20
|
||||||
|
|
||||||
#define MAX_STARS 1000
|
#define MAX_STARS 1000
|
||||||
|
|
||||||
// Details of each individual star
|
// Details of each individual star
|
||||||
typedef struct star
|
typedef struct star
|
||||||
{
|
{
|
||||||
int m_nXPos, m_nYPos, m_nZPos;
|
int m_nXPos, m_nYPos, m_nZPos;
|
||||||
int m_nOldX, m_nOldY;
|
int m_nOldX, m_nOldY;
|
||||||
} STAR;
|
} STAR;
|
||||||
|
|
||||||
HINSTANCE hInstance;
|
|
||||||
BOOL fullscreen = FALSE;
|
|
||||||
|
|
||||||
STAR *stars;
|
STAR *stars;
|
||||||
|
|
||||||
int m_nTotStars;
|
int m_nTotStars;
|
||||||
int m_nCenterX, m_nCenterY;
|
int m_nCenterX, m_nCenterY;
|
||||||
|
|
||||||
void DrawStarField (HDC pDC)
|
void DrawStarField (HDC pDC)
|
||||||
{
|
{
|
||||||
int nX, nY;
|
int nX, nY;
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < m_nTotStars; i++)
|
for (i = 0; i < m_nTotStars; i++)
|
||||||
{
|
{
|
||||||
// Clear last position of this star
|
// Clear last position of this star
|
||||||
SetPixel (
|
SetPixel (
|
||||||
pDC,
|
pDC,
|
||||||
stars[i].m_nOldX,
|
stars[i].m_nOldX,
|
||||||
stars[i].m_nOldY,
|
stars[i].m_nOldY,
|
||||||
RGB (0, 0, 0));
|
RGB (0, 0, 0));
|
||||||
|
|
||||||
nX = (int)((((long)stars[i].m_nXPos << 7) / (long)stars[i].m_nZPos) + m_nCenterX);
|
nX = (int)((((long)stars[i].m_nXPos << 7) / (long)stars[i].m_nZPos) + m_nCenterX);
|
||||||
nY = (int)((((long)stars[i].m_nYPos << 7) / (long)stars[i].m_nZPos) + m_nCenterY);
|
nY = (int)((((long)stars[i].m_nYPos << 7) / (long)stars[i].m_nZPos) + m_nCenterY);
|
||||||
|
|
||||||
// Draw star
|
// Draw star
|
||||||
SetPixel (
|
SetPixel (
|
||||||
pDC,
|
pDC,
|
||||||
nX,
|
nX,
|
||||||
nY,
|
nY,
|
||||||
RGB (255, 255, 255));
|
RGB (255, 255, 255));
|
||||||
|
|
||||||
// Remember current position for clearing later
|
// Remember current position for clearing later
|
||||||
stars[i].m_nOldX = nX;
|
stars[i].m_nOldX = nX;
|
||||||
stars[i].m_nOldY = nY;
|
stars[i].m_nOldY = nY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL SetUpStars (int nNumStars)
|
BOOL SetUpStars (int nNumStars)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
if (nNumStars > MAX_STARS)
|
if (nNumStars > MAX_STARS)
|
||||||
{
|
{
|
||||||
MessageBox (0,
|
MessageBox (0,
|
||||||
_T("Too many stars! Aborting!"),
|
_T("Too many stars! Aborting!"),
|
||||||
_T("Error"),
|
_T("Error"),
|
||||||
MB_OK | MB_ICONWARNING);
|
MB_OK | MB_ICONWARNING);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stars)
|
if (stars)
|
||||||
free (stars);
|
free (stars);
|
||||||
|
|
||||||
m_nTotStars = nNumStars;
|
m_nTotStars = nNumStars;
|
||||||
|
|
||||||
stars = (STAR*)malloc(nNumStars * sizeof(STAR));
|
stars = (STAR*)malloc(nNumStars * sizeof(STAR));
|
||||||
|
|
||||||
if (!stars)
|
if (!stars)
|
||||||
{
|
{
|
||||||
MessageBox (0,
|
MessageBox (0,
|
||||||
_T("Unable to allocate memory! Aborting!"),
|
_T("Unable to allocate memory! Aborting!"),
|
||||||
_T("Error"),
|
_T("Error"),
|
||||||
MB_OK | MB_ICONWARNING);
|
MB_OK | MB_ICONWARNING);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < m_nTotStars; i++)
|
for (i = 0; i < m_nTotStars; i++)
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
stars[i].m_nXPos = RANDOM (-320, 320);
|
stars[i].m_nXPos = RANDOM (-320, 320);
|
||||||
stars[i].m_nYPos = RANDOM (-200, 200);
|
stars[i].m_nYPos = RANDOM (-200, 200);
|
||||||
stars[i].m_nZPos = i+1;
|
stars[i].m_nZPos = i+1;
|
||||||
stars[i].m_nOldX = -1;
|
stars[i].m_nOldX = -1;
|
||||||
stars[i].m_nOldY = -1;
|
stars[i].m_nOldY = -1;
|
||||||
} while ((stars[i].m_nXPos == 0) || (stars[i].m_nYPos == 0));
|
} while ((stars[i].m_nXPos == 0) || (stars[i].m_nYPos == 0));
|
||||||
}
|
}
|
||||||
|
return TRUE;
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveStarField (int nXofs, int nYofs, int nZofs)
|
void MoveStarField (int nXofs, int nYofs, int nZofs)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < m_nTotStars; i++)
|
for (i = 0; i < m_nTotStars; i++)
|
||||||
{
|
{
|
||||||
stars[i].m_nXPos += nXofs;
|
stars[i].m_nXPos += nXofs;
|
||||||
stars[i].m_nYPos += nYofs;
|
stars[i].m_nYPos += nYofs;
|
||||||
stars[i].m_nZPos += nZofs;
|
stars[i].m_nZPos += nZofs;
|
||||||
|
|
||||||
if (stars[i].m_nZPos > m_nTotStars)
|
if (stars[i].m_nZPos > m_nTotStars)
|
||||||
stars[i].m_nZPos -= m_nTotStars;
|
stars[i].m_nZPos -= m_nTotStars;
|
||||||
if (stars[i].m_nZPos < 1)
|
if (stars[i].m_nZPos < 1)
|
||||||
stars[i].m_nZPos += m_nTotStars;
|
stars[i].m_nZPos += m_nTotStars;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetDimensions (int nWidth, int nHeight)
|
void SetDimensions (int nWidth, int nHeight)
|
||||||
{
|
{
|
||||||
m_nCenterX = nWidth / 2;
|
m_nCenterX = nWidth / 2;
|
||||||
m_nCenterY = nHeight / 2;
|
m_nCenterY = nHeight / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT WINAPI WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
LRESULT WINAPI ScreenSaverProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
static POINT ptLast;
|
static HDC pDC;
|
||||||
static POINT ptCursor;
|
|
||||||
static BOOL fFirstTime = TRUE;
|
|
||||||
static HDC pDC;
|
|
||||||
|
|
||||||
switch (msg)
|
switch (msg)
|
||||||
{
|
{
|
||||||
case WM_CREATE :
|
case WM_CREATE:
|
||||||
{
|
{
|
||||||
SetTimer (
|
SetTimer (
|
||||||
hwnd,
|
hwnd,
|
||||||
APP_TIMER,
|
APP_TIMER,
|
||||||
APP_TIMER_INTERVAL,
|
APP_TIMER_INTERVAL,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case WM_PAINT :
|
case WM_PAINT:
|
||||||
{
|
{
|
||||||
PAINTSTRUCT PtStr;
|
PAINTSTRUCT PtStr;
|
||||||
HDC pDC = BeginPaint (hwnd, &PtStr);
|
HDC pDC = BeginPaint (hwnd, &PtStr);
|
||||||
DrawStarField (pDC);
|
DrawStarField (pDC);
|
||||||
EndPaint (hwnd, &PtStr);
|
EndPaint (hwnd, &PtStr);
|
||||||
return (0);
|
SetUpStars(250);
|
||||||
}
|
return (0);
|
||||||
break;
|
}
|
||||||
case WM_TIMER :
|
break;
|
||||||
{
|
case WM_TIMER:
|
||||||
if (wParam == APP_TIMER)
|
{
|
||||||
{
|
if (wParam == APP_TIMER)
|
||||||
MoveStarField (0, 0, -3);
|
{
|
||||||
pDC = GetDC(hwnd);
|
MoveStarField (0, 0, -3);
|
||||||
DrawStarField (pDC);
|
pDC = GetDC(hwnd);
|
||||||
ReleaseDC(hwnd, pDC);
|
DrawStarField (pDC);
|
||||||
}
|
ReleaseDC(hwnd, pDC);
|
||||||
}
|
}
|
||||||
break;
|
}
|
||||||
case WM_SIZE :
|
break;
|
||||||
{
|
case WM_SIZE:
|
||||||
// Change the center point of the starfield
|
{
|
||||||
SetDimensions (
|
// Change the center point of the starfield
|
||||||
LOWORD(lParam),
|
SetDimensions (
|
||||||
HIWORD(lParam));
|
LOWORD(lParam),
|
||||||
}
|
HIWORD(lParam));
|
||||||
break;
|
}
|
||||||
case WM_DESTROY :
|
break;
|
||||||
{
|
case WM_DESTROY:
|
||||||
KillTimer (hwnd, APP_TIMER);
|
{
|
||||||
free(stars);
|
KillTimer (hwnd, APP_TIMER);
|
||||||
ShowCursor(TRUE);
|
free(stars);
|
||||||
PostQuitMessage (0);
|
ShowCursor(TRUE);
|
||||||
return 0;
|
PostQuitMessage (0);
|
||||||
}
|
return 0;
|
||||||
break;
|
}
|
||||||
// break out of screen-saver if any keyboard activity
|
break;
|
||||||
case WM_NOTIFY:
|
default:
|
||||||
case WM_SYSKEYDOWN:
|
return DefScreenSaverProc(hwnd, msg, wParam, lParam);
|
||||||
{
|
}
|
||||||
PostMessage(hwnd, WM_CLOSE, 0, 0);
|
return 0;
|
||||||
break;
|
|
||||||
}
|
|
||||||
// break out of screen-saver if any mouse activity
|
|
||||||
case WM_LBUTTONDOWN:
|
|
||||||
case WM_LBUTTONUP:
|
|
||||||
case WM_RBUTTONDOWN:
|
|
||||||
case WM_RBUTTONUP:
|
|
||||||
case WM_MBUTTONDOWN:
|
|
||||||
case WM_MBUTTONUP:
|
|
||||||
case WM_MOUSEMOVE:
|
|
||||||
{
|
|
||||||
// If we've got a parent then we must be a preview
|
|
||||||
if(GetParent(hwnd) != 0)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
if(fFirstTime)
|
|
||||||
{
|
|
||||||
GetCursorPos(&ptLast);
|
|
||||||
fFirstTime = FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
GetCursorPos(&ptCursor);
|
|
||||||
|
|
||||||
// if the mouse has moved more than 3 pixels then exit
|
|
||||||
if( (abs(ptCursor.x - ptLast.x) >= 3) ||
|
|
||||||
(abs(ptCursor.y - ptLast.y) >= 3))
|
|
||||||
{
|
|
||||||
PostMessage(hwnd, WM_CLOSE, 0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
ptLast = ptCursor;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return DefWindowProc(hwnd, msg, wParam, lParam);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI ScreenSaverConfigureDialog(HWND hWnd, UINT message, WPARAM wparam, LPARAM lparam)
|
||||||
void InitSaver(HWND hwndParent)
|
|
||||||
{
|
{
|
||||||
WNDCLASS wc;
|
return FALSE;
|
||||||
ZeroMemory(&wc, sizeof(wc));
|
|
||||||
wc.style = CS_HREDRAW | CS_VREDRAW;
|
|
||||||
wc.lpfnWndProc = WndProc;
|
|
||||||
wc.lpszClassName = APPNAME;
|
|
||||||
wc.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
|
||||||
RegisterClass(&wc);
|
|
||||||
|
|
||||||
if (hwndParent != 0)
|
|
||||||
{
|
|
||||||
RECT rect;
|
|
||||||
GetClientRect(hwndParent, &rect);
|
|
||||||
CreateWindow(APPNAME, APPNAME,
|
|
||||||
WS_VISIBLE | WS_CHILD,
|
|
||||||
0, 0,
|
|
||||||
rect.right,
|
|
||||||
rect.bottom,
|
|
||||||
hwndParent, 0,
|
|
||||||
hInstance, NULL);
|
|
||||||
fullscreen = FALSE;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
HWND hwnd;
|
|
||||||
hwnd = CreateWindowEx(WS_EX_TOPMOST,
|
|
||||||
APPNAME,
|
|
||||||
APPNAME,
|
|
||||||
WS_VISIBLE | WS_POPUP,
|
|
||||||
0, 0,
|
|
||||||
GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN),
|
|
||||||
HWND_DESKTOP, 0,
|
|
||||||
hInstance, NULL);
|
|
||||||
|
|
||||||
SetWindowPos(hwnd,
|
|
||||||
0, 0, 0, 0, 0,
|
|
||||||
SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOSIZE|SWP_SHOWWINDOW);
|
|
||||||
|
|
||||||
ShowCursor(FALSE);
|
|
||||||
fullscreen = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
SetUpStars(250);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
BOOL WINAPI RegisterDialogClasses(HANDLE hmodule)
|
||||||
// Look for any options Windows has passed to us:
|
|
||||||
//
|
|
||||||
// -a <hwnd> (set password)
|
|
||||||
// -s (screensave)
|
|
||||||
// -p <hwnd> (preview)
|
|
||||||
// -c <hwnd> (configure)
|
|
||||||
//
|
|
||||||
VOID ParseCommandLine(LPWSTR szCmdLine, UCHAR *chOption, HWND *hwndParent)
|
|
||||||
{
|
{
|
||||||
UCHAR ch = *szCmdLine++;
|
TCHAR szTitle[256];
|
||||||
|
TCHAR szText[256];
|
||||||
|
|
||||||
if(ch == '-' || ch == '/')
|
LoadString(hmodule,
|
||||||
ch = *szCmdLine++;
|
IDS_TITLE,
|
||||||
|
szTitle,
|
||||||
|
256);
|
||||||
|
|
||||||
if(ch >= 'A' && ch <= 'Z')
|
LoadString(hmodule,
|
||||||
ch += 'a' - 'A'; //convert to lower case
|
IDS_TEXT,
|
||||||
|
szText,
|
||||||
|
256);
|
||||||
|
|
||||||
*chOption = ch;
|
MessageBox(0,
|
||||||
ch = *szCmdLine++;
|
szText,
|
||||||
|
szTitle,
|
||||||
if(ch == ':')
|
MB_OK | MB_ICONWARNING);
|
||||||
ch = *szCmdLine++;
|
return FALSE;
|
||||||
|
}
|
||||||
while(ch == ' ' || ch == '\t')
|
|
||||||
ch = *szCmdLine++;
|
|
||||||
|
|
||||||
if(isdigit(ch))
|
|
||||||
{
|
|
||||||
unsigned int i = _wtoi(szCmdLine - 1);
|
|
||||||
*hwndParent = (HWND)i;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
*hwndParent = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Configure(void)
|
|
||||||
{
|
|
||||||
TCHAR szTitle[256];
|
|
||||||
TCHAR szText[256];
|
|
||||||
|
|
||||||
LoadString(hInstance,
|
|
||||||
IDS_TITLE,
|
|
||||||
szTitle,
|
|
||||||
256);
|
|
||||||
|
|
||||||
LoadString(hInstance,
|
|
||||||
IDS_TEXT,
|
|
||||||
szText,
|
|
||||||
256);
|
|
||||||
|
|
||||||
MessageBox(0,
|
|
||||||
szText,
|
|
||||||
szTitle,
|
|
||||||
MB_OK | MB_ICONWARNING);
|
|
||||||
}
|
|
||||||
|
|
||||||
int CALLBACK wWinMain (HINSTANCE hInst,
|
|
||||||
HINSTANCE hPrev,
|
|
||||||
LPWSTR lpCmdLine,
|
|
||||||
int iCmdShow)
|
|
||||||
{
|
|
||||||
HWND hwndParent;
|
|
||||||
UINT nPreviousState;
|
|
||||||
UCHAR chOption;
|
|
||||||
MSG Message;
|
|
||||||
|
|
||||||
hInstance = hInst;
|
|
||||||
|
|
||||||
ParseCommandLine(lpCmdLine, &chOption, &hwndParent);
|
|
||||||
|
|
||||||
SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, TRUE, &nPreviousState, 0);
|
|
||||||
|
|
||||||
switch (chOption)
|
|
||||||
{
|
|
||||||
case 's':
|
|
||||||
InitSaver(0);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'p':
|
|
||||||
InitSaver(hwndParent);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'c':
|
|
||||||
default:
|
|
||||||
Configure();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
while (GetMessage(&Message, 0, 0, 0))
|
|
||||||
DispatchMessage(&Message);
|
|
||||||
|
|
||||||
SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, FALSE, &nPreviousState, 0);
|
|
||||||
|
|
||||||
return Message.wParam;
|
|
||||||
}
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <scrnsave.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
||||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
|
@ -10,18 +11,44 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
|
|
||||||
#include <reactos/version.rc>
|
#include <reactos/version.rc>
|
||||||
|
|
||||||
|
#include <reactos/manifest_exe.rc>
|
||||||
|
|
||||||
/* UTF-8 */
|
/* UTF-8 */
|
||||||
#pragma code_page(65001)
|
#pragma code_page(65001)
|
||||||
|
|
||||||
#include "lang/bg-BG.rc"
|
#ifdef LANGUAGE_BG_BG
|
||||||
#include "lang/de-DE.rc"
|
#include "lang/bg-BG.rc"
|
||||||
#include "lang/en-US.rc"
|
#endif
|
||||||
#include "lang/es-ES.rc"
|
#ifdef LANGUAGE_DE_DE
|
||||||
#include "lang/fr-FR.rc"
|
#include "lang/de-DE.rc"
|
||||||
#include "lang/lt-LT.rc"
|
#endif
|
||||||
#include "lang/nl-NL.rc"
|
#ifdef LANGUAGE_EN_US
|
||||||
#include "lang/no-NO.rc"
|
#include "lang/en-US.rc"
|
||||||
#include "lang/pl-PL.rc"
|
#endif
|
||||||
#include "lang/ro-RO.rc"
|
#ifdef LANGUAGE_ES_ES
|
||||||
#include "lang/sk-SK.rc"
|
#include "lang/es-ES.rc"
|
||||||
#include "lang/uk-UA.rc"
|
#endif
|
||||||
|
#ifdef LANGUAGE_ES_ES
|
||||||
|
#include "lang/fr-FR.rc"
|
||||||
|
#endif
|
||||||
|
#ifdef LANGUAGE_LT_LT
|
||||||
|
#include "lang/lt-LT.rc"
|
||||||
|
#endif
|
||||||
|
#ifdef LANGUAGE_NL_NL
|
||||||
|
#include "lang/nl-NL.rc"
|
||||||
|
#endif
|
||||||
|
#ifdef LANGUAGE_NO_NO
|
||||||
|
#include "lang/no-NO.rc"
|
||||||
|
#endif
|
||||||
|
#ifdef LANGUAGE_PL_PL
|
||||||
|
#include "lang/pl-PL.rc"
|
||||||
|
#endif
|
||||||
|
#ifdef LANGUAGE_RO_RO
|
||||||
|
#include "lang/ro-RO.rc"
|
||||||
|
#endif
|
||||||
|
#ifdef LANGUAGE_SK_SK
|
||||||
|
#include "lang/sk-SK.rc"
|
||||||
|
#endif
|
||||||
|
#ifdef LANGUAGE_UK_UA
|
||||||
|
#include "lang/uk-UA.rc"
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue