Skip to content

Commit

Permalink
test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed Jun 8, 2024
1 parent 45b7812 commit 3c76308
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CLEO4.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<ClInclude Include="source\CGameVersionManager.h" />
<ClInclude Include="source\CLegacy.h" />
<ClInclude Include="source\cleo.h" />
<ClInclude Include="source\CleoVersion.h" />
<ClInclude Include="source\CModuleSystem.h" />
<ClInclude Include="source\CPluginSystem.h" />
<ClInclude Include="source\crc32.h" />
Expand Down Expand Up @@ -110,15 +111,15 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)output\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)output\.obj\$(Configuration)\</IntDir>
<OutDir>$(SolutionDir).output\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir).output\.obj\$(Configuration)\</IntDir>
<TargetName>CLEO</TargetName>
<TargetExt>.asi</TargetExt>
<IncludePath>$(PLUGIN_SDK_DIR)\shared\;$(PLUGIN_SDK_DIR)\shared\game\;$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)output\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)output\.obj\$(Configuration)\</IntDir>
<OutDir>$(SolutionDir).output\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir).output\.obj\$(Configuration)\</IntDir>
<TargetName>CLEO</TargetName>
<TargetExt>.asi</TargetExt>
<IncludePath>$(PLUGIN_SDK_DIR)\shared\;$(PLUGIN_SDK_DIR)\shared\game\;$(IncludePath)</IncludePath>
Expand Down
16 changes: 16 additions & 0 deletions source/CleoVersion.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

#define CLEO_VERSION_MAIN 4
#define CLEO_VERSION_MAJOR 5
#define CLEO_VERSION_MINOR 0

#define CLEO_VERSION ((CLEO_VERSION_MAIN << 24)|(CLEO_VERSION_MAJOR << 16)|(CLEO_VERSION_MINOR << 8))

#define CLEO_VERSION_DOT CLEO_VERSION_MAIN.CLEO_VERSION_MAJOR.CLEO_VERSION_MINOR
#define CLEO_VERSION_COMMA CLEO_VERSION_MAIN,CLEO_VERSION_MAJOR,CLEO_VERSION_MINOR

#define __TO_STR(x) #x
#define TO_STR(x) __TO_STR(x)

#define CLEO_VERSION_DOT_STR TO_STR(CLEO_VERSION_DOT)
#define CLEO_VERSION_COMMA_STR TO_STR(CLEO_VERSION_COMMA)

0 comments on commit 3c76308

Please sign in to comment.