Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ba79108a0c | |||
| fbd949d8f3 | |||
| 980446b1e5 | |||
| 4fc545f28a | |||
| 8b6d8758a2 | |||
| 3879ffa8e2 | |||
| 508fcc0600 | |||
| f94e7cce5c | |||
| b39c4d4d6d | |||
| 2f67ff4cf9 | |||
| 9a93fc4539 | |||
| 1cd094d8ed | |||
| 2d27971eab | |||
| 807ba40b50 | |||
| 1af3d13d6b | |||
| cab18d13d6 | |||
| dd3209901b | |||
| 2758d6ab73 | |||
| 5c884e9587 | |||
| ee342de0d2 | |||
| 38a4510d0e | |||
| 924ec6492e |
+15
-6
@@ -1,7 +1,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2023-2023
|
||||
// EgalTech 2023-2024
|
||||
//----------------------------------------------------------------------------
|
||||
// File : EgtEngine.cpp Data : 30.05.23 Versione : 2.5e5
|
||||
// File : EgtEngine.cpp Data : 09.04.24 Versione : 2.6d2
|
||||
// Contenuto : Motore di calcolo geometrico-grafico con lua.
|
||||
//
|
||||
//
|
||||
@@ -93,8 +93,8 @@ wmain( int argc, wchar_t* argv[])
|
||||
ExeSetLockId( sLockId) ;
|
||||
// Recupero livello e opzioni della chiave
|
||||
int nKeyLev ; unsigned int nKeyOptions ;
|
||||
bool bKey = ExeGetKeyLevel( 9935, 2511, 1, nKeyLev) &&
|
||||
ExeGetKeyOptions( 9935, 2511, 1, nKeyOptions) ;
|
||||
bool bKey = ExeGetKeyLevel( 9935, 2706, 1, nKeyLev) &&
|
||||
ExeGetKeyOptions( 9935, 2706, 1, nKeyOptions) ;
|
||||
// Recupero livello utente e livello di debug
|
||||
int nUserLev = min( GetPrivateProfileInt( "General", "UserLevel", 1, sFileIni.c_str()), nKeyLev) ;
|
||||
int nDebug = GetPrivateProfileInt( "General", "Debug", 0, sFileIni.c_str()) ;
|
||||
@@ -123,14 +123,23 @@ wmain( int argc, wchar_t* argv[])
|
||||
ExeSetLuaLibs( sLuaLibsDir) ;
|
||||
string sLuaBaseLib = GetPrivateProfileStringUtf8( "Lua", "BaseLib", "EgtBase", sFileIni.c_str()) ;
|
||||
ExeLuaRequire( sLuaBaseLib) ;
|
||||
// Imposto unità di misura di interfaccia (per generazione CN)
|
||||
bool bMM = ( GetPrivateProfileInt( "Scene", "MmUnits", 1, sFileIni.c_str()) != 0) ;
|
||||
ExeSetUiUnits( bMM) ;
|
||||
// Imposto direttorio temporaneo a EgtInterface
|
||||
ExeSetTempDir( sTempDir) ;
|
||||
// Imposto IniFile a EgtInterface
|
||||
ExeSetIniFile( sFileIni) ;
|
||||
// Verifiche chiave e licenza
|
||||
if ( ! bKey) {
|
||||
if ( nKeyLev == -1)
|
||||
ExeOutLog( "Error : Missing Protection Key") ;
|
||||
if ( nKeyLev == -1 || nKeyLev == -2) {
|
||||
if ( ! ExeGetNetHwKey())
|
||||
ExeOutLog( "Error : Missing Protection Key") ;
|
||||
else
|
||||
ExeOutLog( "Error : Net Key is full") ;
|
||||
}
|
||||
else if ( nKeyLev == -9)
|
||||
ExeOutLog( "Error : Missing Link with Net Key") ;
|
||||
else
|
||||
ExeOutLog( "Error : Missing or Expired Licence") ;
|
||||
ExeExit() ;
|
||||
|
||||
+20
-20
@@ -56,8 +56,8 @@ VS_VERSION_INFO$(_DEB32) VERSIONINFO
|
||||
#else
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
#endif
|
||||
FILEVERSION 2,5,11,5
|
||||
PRODUCTVERSION 2,5,0,0
|
||||
FILEVERSION 2,7,6,2
|
||||
PRODUCTVERSION 2,7,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -74,12 +74,12 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Egalware s.r.l."
|
||||
VALUE "FileDescription", "EgtEngine Debug Version"
|
||||
VALUE "FileVersion", "2.5k5"
|
||||
VALUE "FileVersion", "2.7f2"
|
||||
VALUE "InternalName", "EgtEngine"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2023 by Egalware s.r.l."
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2025 by Egalware s.r.l."
|
||||
VALUE "OriginalFilename", "EgtEngineD32.exe"
|
||||
VALUE "ProductName", "Egalware Engine"
|
||||
VALUE "ProductVersion", "2.5"
|
||||
VALUE "ProductVersion", "2.7"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
@@ -95,8 +95,8 @@ VS_VERSION_INFO$(NDEB32) VERSIONINFO
|
||||
#else
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
#endif
|
||||
FILEVERSION 2,5,11,5
|
||||
PRODUCTVERSION 2,5,0,0
|
||||
FILEVERSION 2,7,6,2
|
||||
PRODUCTVERSION 2,7,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -113,12 +113,12 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Egalware s.r.l."
|
||||
VALUE "FileDescription", "EgtEngine"
|
||||
VALUE "FileVersion", "2.5k5"
|
||||
VALUE "FileVersion", "2.7f2"
|
||||
VALUE "InternalName", "EgtEngine"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2023 by Egalware s.r.l."
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2025 by Egalware s.r.l."
|
||||
VALUE "OriginalFilename", "EgtEngineR32.exe"
|
||||
VALUE "ProductName", "Egalware Engine"
|
||||
VALUE "ProductVersion", "2.5"
|
||||
VALUE "ProductVersion", "2.7"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
@@ -134,8 +134,8 @@ VS_VERSION_INFO$(_DEB64) VERSIONINFO
|
||||
#else
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
#endif
|
||||
FILEVERSION 2,5,11,5
|
||||
PRODUCTVERSION 2,5,0,0
|
||||
FILEVERSION 2,7,6,2
|
||||
PRODUCTVERSION 2,7,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -152,12 +152,12 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Egalware s.r.l."
|
||||
VALUE "FileDescription", "EgtEngine Debug Version"
|
||||
VALUE "FileVersion", "2.5k5"
|
||||
VALUE "FileVersion", "2.7f2"
|
||||
VALUE "InternalName", "EgtEngine"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2023 by Egalware s.r.l."
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2025 by Egalware s.r.l."
|
||||
VALUE "OriginalFilename", "EgtEngineD64.exe"
|
||||
VALUE "ProductName", "Egalware Engine"
|
||||
VALUE "ProductVersion", "2.5"
|
||||
VALUE "ProductVersion", "2.7"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
@@ -173,8 +173,8 @@ VS_VERSION_INFO$(NDEB64) VERSIONINFO
|
||||
#else
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
#endif
|
||||
FILEVERSION 2,5,11,5
|
||||
PRODUCTVERSION 2,5,0,0
|
||||
FILEVERSION 2,7,6,2
|
||||
PRODUCTVERSION 2,7,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -191,12 +191,12 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Egalware s.r.l."
|
||||
VALUE "FileDescription", "EgtEngine"
|
||||
VALUE "FileVersion", "2.5k5"
|
||||
VALUE "FileVersion", "2.7f2"
|
||||
VALUE "InternalName", "EgtEngine"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2023 by Egalware s.r.l."
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023-2025 by Egalware s.r.l."
|
||||
VALUE "OriginalFilename", "EgtEngineR64.exe"
|
||||
VALUE "ProductName", "Egalware Engine"
|
||||
VALUE "ProductVersion", "2.5"
|
||||
VALUE "ProductVersion", "2.7"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
+4
-3
@@ -23,19 +23,19 @@
|
||||
<ProjectGuid>{85FFCC70-F711-43E9-80D9-A2CD755C20A2}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>EgtConverter</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.20348.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141_xp</PlatformToolset>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141_xp</PlatformToolset>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
@@ -114,6 +114,7 @@
|
||||
<AdditionalIncludeDirectories>
|
||||
</AdditionalIncludeDirectories>
|
||||
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
|
||||
Reference in New Issue
Block a user