Skip to content

Commit 753e3f3

Browse files
committed
Many improvements, first attempt to export C#
1 parent 47d0029 commit 753e3f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+45601
-1094
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@
88
/loreline.zip
99
/.haxelib
1010
/submit.sh
11+
/cs/bin
12+
/cs/obj
13+
.merge-context
14+
merged-context.txt

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "git/hxcpp"]
55
path = git/hxcpp
66
url = https://github.com/ceramic-engine/hxcpp.git
7+
[submodule "git/hxcs"]
8+
path = git/hxcs
9+
url = https://github.com/HaxeFoundation/hxcs.git

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Loreline.play(
354354
script,
355355
356356
// Called to display a text
357-
(_, character, text, tag, done) -> {
357+
(_, character, text, tags, done) -> {
358358
if (character != null) {
359359
Sys.println(character + ': ' + text);
360360
}
File renamed without changes.

build-cs.hxml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--class-path src
2+
--main loreline.lib.Library
3+
--cs out/cs
4+
--no-output
5+
-D no-compilation
6+
-D loreline_use_cs_types

cs/Directory.Build.props

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project>
2+
<PropertyGroup>
3+
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\build\cs\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
4+
<BaseOutputPath>$(MSBuildThisFileDirectory)..\build\cs\bin\$(MSBuildProjectName)\</BaseOutputPath>
5+
</PropertyGroup>
6+
</Project>

cs/Loreline.csproj

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>netstandard2.1</TargetFramework>
4+
<LangVersion>9.0</LangVersion>
5+
<ImplicitUsings>disable</ImplicitUsings>
6+
<Nullable>disable</Nullable>
7+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
8+
<ProjectGuid>{F3DEFEF5-8B8F-4D6D-8C2C-1DD7F3E309D4}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
11+
<NoWarn>$(NoWarn);1591</NoWarn>
12+
</PropertyGroup>
13+
</Project>

cs/Loreline.sln

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.0.31903.59
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Loreline", "Loreline.csproj", "{F3DEFEF5-8B8F-4D6D-8C2C-1DD7F3E309D4}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{F3DEFEF5-8B8F-4D6D-8C2C-1DD7F3E309D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{F3DEFEF5-8B8F-4D6D-8C2C-1DD7F3E309D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{F3DEFEF5-8B8F-4D6D-8C2C-1DD7F3E309D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{F3DEFEF5-8B8F-4D6D-8C2C-1DD7F3E309D4}.Release|Any CPU.Build.0 = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(SolutionProperties) = preSolution
19+
HideSolutionNode = FALSE
20+
EndGlobalSection
21+
GlobalSection(ExtensibilityGlobals) = postSolution
22+
SolutionGuid = {60F34EF9-0A9A-47B7-883F-8EC1F188C262}
23+
EndGlobalSection
24+
EndGlobal

0 commit comments

Comments
 (0)