Skip to content

Commit 6135907

Browse files
committed
premake
1 parent 5b16800 commit 6135907

40 files changed

+8755
-0
lines changed

Diff for: data/7za.exe

638 KB
Binary file not shown.

Diff for: data/III.VC.SA.CoordsManager.exe

181 KB
Binary file not shown.

Diff for: data/III.VC.SA.CoordsManager.exe.config

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
5+
</startup>
6+
</configuration>

Diff for: data/release.bat

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
7za a -tzip ".\III.VC.SA.WindowedMode.zip" ".\III.VC.SA.WindowedMode.asi" ".\III.VC.SA.CoordsManager.exe"
2+
EXIT
3+
4+
7-Zip Extra
5+
~~~~~~~~~~~
6+
License for use and distribution
7+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8+
9+
Copyright (C) 1999-2016 Igor Pavlov.
10+
11+
7-Zip Extra files are under the GNU LGPL license.
12+
13+
14+
Notes:
15+
You can use 7-Zip Extra on any computer, including a computer in a commercial
16+
organization. You don't need to register or pay for 7-Zip.
17+
18+
19+
GNU LGPL information
20+
--------------------
21+
22+
This library is free software; you can redistribute it and/or
23+
modify it under the terms of the GNU Lesser General Public
24+
License as published by the Free Software Foundation; either
25+
version 2.1 of the License, or (at your option) any later version.
26+
27+
This library is distributed in the hope that it will be useful,
28+
but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30+
Lesser General Public License for more details.
31+
32+
You can receive a copy of the GNU Lesser General Public License from
33+
http://www.gnu.org/
34+

Diff for: license

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 ThirteenAG
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Diff for: premake5.bat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
premake5 vs2017

Diff for: premake5.exe

1.3 MB
Binary file not shown.

Diff for: premake5.lua

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
workspace "III.VC.SA.WindowedMode"
2+
configurations { "Release", "Debug" }
3+
platforms { "Win32" }
4+
architecture "x32"
5+
location "build"
6+
objdir ("build/obj")
7+
buildlog ("build/log/%{prj.name}.log")
8+
9+
project "III.VC.SA.WindowedMode"
10+
kind "SharedLib"
11+
language "C++"
12+
targetdir "data/%{cfg.buildcfg}"
13+
targetextension ".asi"
14+
15+
defines { "rsc_CompanyName=\"ThirteenAG\"" }
16+
defines { "rsc_LegalCopyright=\"MIT License\""}
17+
defines { "rsc_FileVersion=\"1.0.0.0\"", "rsc_ProductVersion=\"1.0.0.0\"" }
18+
defines { "rsc_InternalName=\"%{prj.name}\"", "rsc_ProductName=\"%{prj.name}\"", "rsc_OriginalFilename=\"%{prj.name}.asi\"" }
19+
defines { "rsc_FileDescription=\"https://github.com/ThirteenAG\"" }
20+
defines { "rsc_UpdateUrl=\"https://github.com/ThirteenAG/III.VC.SA.WindowedMode\"" }
21+
22+
files { "source/cpp/*.h" }
23+
files { "source/cpp/*.cpp", "source/*.c" }
24+
files { "source/cpp/*.rc" }
25+
26+
includedirs { "source/cpp" }
27+
includedirs { "source/cpp/d3d8" }
28+
includedirs { "external/injector/include" }
29+
includedirs { "external/IniReader" }
30+
31+
filter "configurations:Debug"
32+
defines { "DEBUG" }
33+
symbols "On"
34+
35+
filter "configurations:Release"
36+
defines { "NDEBUG" }
37+
optimize "On"
38+
flags { "StaticRuntime" }
39+
characterset ("MBCS")
40+
targetdir "data/"
41+
42+
43+
project "III.VC.SA.CoordsManager"
44+
kind "WindowedApp"
45+
language "C#"
46+
location "source/cs"
47+
targetdir "data/%{cfg.buildcfg}"
48+
targetextension ".exe"
49+
icon "source/cs/radar_player_target.ico"
50+
51+
files { "source/cs/*.*" }
52+
files { "source/cs/Properties/*.*" }
53+
files { "source/cs/Resources/*.*" }
54+
55+
links { "System",
56+
"System.Core",
57+
"System.Xml.Linq",
58+
"System.Data.DataSetExtensions",
59+
"Microsoft.CSharp",
60+
"System.Data",
61+
"System.Deployment",
62+
"System.Drawing",
63+
"System.Net.Http",
64+
"System.Windows.Forms",
65+
"System.Xml"
66+
}
67+
68+
filter "configurations:Debug"
69+
defines { "DEBUG" }
70+
symbols "On"
71+
characterset ("MBCS")
72+
73+
filter "configurations:Release"
74+
defines { "NDEBUG" }
75+
optimize "On"
76+
flags { "StaticRuntime" }
77+
characterset ("MBCS")
78+
targetdir "data/"

Diff for: source/cpp/VersionInfo.h

520 Bytes
Binary file not shown.

Diff for: source/cpp/VersionInfo.rc

2.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)