diff --git a/README.md b/README.md
index 1b695f9..000921c 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,3 @@
-## Targets
-
-| № | Target | macOS | iOS/iPadOS | Android |
-| 1 | ogs-blue | √ | √ | ? |
-
## Prerequisites
### macOS
@@ -15,3 +10,9 @@
* ghera's [raylib-ios-xcframeworks][rzip] release unpacked and placed alongside the project
[rzip]: https://github.com/ghera/raylib-iOS/releases/download/6.2.0-iOS/raylib-ios-xcframeworks-6.2.0-iOS.zip
+
+## Components
+
+| Name | Description | macOS | iOS | Android | Linux | Windows | Raspberry Pi |
+| --- | --- | --- | --- | --- | --- | --- | --- |
+| hp | **hello-platform** is a simple UI to validate platform support | √ | | | | | |
diff --git a/VERSION b/VERSION
deleted file mode 100644
index 227cea2..0000000
--- a/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-2.0.0
diff --git a/components/hp/hp.swift b/components/hp/hp.swift
new file mode 100644
index 0000000..116ca5f
--- /dev/null
+++ b/components/hp/hp.swift
@@ -0,0 +1,14 @@
+class HPComponent {
+ let ctrl = DialectController(HPContext())
+ static private(set) weak var singleton: HPComponent?
+
+ init() {
+ Self.singleton = self
+ hpRegisterEffects(ctrl)
+ hpRegisterShoulds(ctrl)
+ }
+
+ func setup() {
+ hpSet(F.didSetup, true)
+ }
+}
diff --git a/components/hp/hpVM.swift b/components/hp/hpVM.swift
new file mode 100644
index 0000000..2ce6211
--- /dev/null
+++ b/components/hp/hpVM.swift
@@ -0,0 +1,11 @@
+import Combine
+
+final class HPVM: ObservableObject {
+ @Published var countText = ""
+
+ static private(set) weak var shared: HPVM?
+
+ init() {
+ Self.shared = self
+ }
+}
diff --git a/components/hp/mac/view/HPView.swift b/components/hp/mac/view/HPView.swift
new file mode 100644
index 0000000..e33aaf1
--- /dev/null
+++ b/components/hp/mac/view/HPView.swift
@@ -0,0 +1,22 @@
+import SwiftUI
+
+struct HPView: View {
+ @ObservedObject var vm: HPVM
+
+ init(_ vm: HPVM) {
+ self.vm = vm
+ }
+
+ var body: some View {
+ VStack(spacing: 16) {
+ Text("Hello, platform!")
+ .font(.largeTitle)
+ Text(vm.countText)
+ .font(.title3.monospacedDigit())
+ Button("Increment") {
+ hpSet(F.didClickIncrement, true)
+ }
+ }
+ .padding(40)
+ }
+}
diff --git a/hello/hello-platform/dialect.yml b/hello/hello-platform/dialect.yml
new file mode 100644
index 0000000..078c381
--- /dev/null
+++ b/hello/hello-platform/dialect.yml
@@ -0,0 +1,51 @@
+version: 4
+
+output:
+ ver-mac/src/dialect.swift:
+ type: swift
+
+HPContext:
+ type: context
+ fields:
+ count: Int
+ countText: String
+ didClickIncrement: Bool
+ didLaunch: Bool
+ didSetup: Bool
+
+HPComponent:
+ type: component
+ oneliners:
+ - countText: HPVM.shared!.countText = c.countText
+ shoulds:
+ count:
+ 1. Upon hitting 7:
+ if:
+ c.recentField == F.didClickIncrement &&
+ c.count == 7
+ then:
+ c.count += 10
+ 2. Upon each button click:
+ if:
+ c.recentField == F.didClickIncrement
+ then:
+ c.count += 1
+ countText:
+ 1. Upon each count change:
+ if:
+ c.recentField == F.count
+ then:
+ c.countText = "Count: '\(c.count)'"
+ 2. Upon launch:
+ if:
+ c.recentField == F.didLaunch
+ then:
+ c.countText = "Press the button to count"
+ didLaunch:
+ 1. Only once during the first setup:
+ if:
+ c.recentField == F.didSetup &&
+ c.didLaunch == false
+ then:
+ c.didLaunch = true
+
diff --git a/hello/hello-platform/util/build-mac b/hello/hello-platform/util/build-mac
new file mode 100755
index 0000000..d4082e1
--- /dev/null
+++ b/hello/hello-platform/util/build-mac
@@ -0,0 +1,10 @@
+#!/bin/bash -e
+SDIR=$(cd "$(dirname "$0")" ; pwd -P)
+
+T=$SDIR/step
+TARGET=hello-platform
+
+STEP=0
+source $T/generateDialect $TARGET
+source $T/buildMac $TARGET
+source $T/packageMac $TARGET hello-platform
diff --git a/hello/hello-platform/util/run-mac b/hello/hello-platform/util/run-mac
new file mode 100755
index 0000000..4d15806
--- /dev/null
+++ b/hello/hello-platform/util/run-mac
@@ -0,0 +1,7 @@
+#!/bin/bash -e
+SDIR=$(cd "$(dirname "$0")" ; pwd -P)
+
+T=$SDIR/step
+
+STEP=0
+source $T/runMac hello-platform hello-platform
diff --git a/hello/hello-platform/util/step/buildMac b/hello/hello-platform/util/step/buildMac
new file mode 100755
index 0000000..c71861f
--- /dev/null
+++ b/hello/hello-platform/util/step/buildMac
@@ -0,0 +1,8 @@
+#!/bin/bash -e
+
+TARGET=$1
+STEP=$((STEP+1))
+echo -e "\n> > > > Step №$STEP. Build '$TARGET' for macOS"
+
+cd $SDIR/../ver-mac
+swift build
diff --git a/hello/hello-platform/util/step/generateDialect b/hello/hello-platform/util/step/generateDialect
new file mode 100755
index 0000000..b12535b
--- /dev/null
+++ b/hello/hello-platform/util/step/generateDialect
@@ -0,0 +1,7 @@
+#!/bin/bash -e
+
+TARGET=$1
+STEP=$((STEP+1))
+echo -e "\n> > > > Step №$STEP. Generate Dialect for '$TARGET'"
+
+$SDIR/../../../../dialect/util/run-generator --file=$SDIR/../dialect.yml
diff --git a/hello/hello-platform/util/step/packageMac b/hello/hello-platform/util/step/packageMac
new file mode 100755
index 0000000..a4e5649
--- /dev/null
+++ b/hello/hello-platform/util/step/packageMac
@@ -0,0 +1,18 @@
+#!/bin/bash -e
+
+TARGET=$1
+APP_NAME=$2
+
+STEP=$((STEP+1))
+echo -e "\n> > > > Step №$STEP. Make '$APP_NAME' macOS package for '$TARGET'"
+
+APP_MAC="$SDIR/../ver-mac/.build/$APP_NAME.app"
+rm -rf "$APP_MAC"
+
+APP_DAT="$APP_MAC/Contents"
+mkdir -p "$APP_DAT/MacOS"
+mkdir -p "$APP_DAT/Resources"
+cp $SDIR/../ver-mac/.build/debug/$TARGET "$APP_DAT/MacOS/$TARGET"
+cp $SDIR/../ver-mac/Info.plist "$APP_DAT/Info.plist"
+# Copy resources with symlink dereferencing
+cp -R -L $SDIR/../ver-mac/res/* "$APP_DAT/Resources/"
diff --git a/hello/hello-platform/util/step/runMac b/hello/hello-platform/util/step/runMac
new file mode 100755
index 0000000..90ffa31
--- /dev/null
+++ b/hello/hello-platform/util/step/runMac
@@ -0,0 +1,8 @@
+#!/bin/bash -e
+
+TARGET=$1
+APP_NAME=$2
+STEP=$((STEP+1))
+echo -e "\n> > > > Step №$STEP. Run macOS app for '$TARGET'"
+
+"$SDIR/../ver-mac/.build/$APP_NAME.app/Contents/MacOS/$TARGET"
diff --git a/hello/hello-platform/ver-mac/Info.plist b/hello/hello-platform/ver-mac/Info.plist
new file mode 100644
index 0000000..ccf8b58
--- /dev/null
+++ b/hello/hello-platform/ver-mac/Info.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleName
+ hello-platform
+ CFBundleDisplayName
+ hello-platform
+ CFBundleIdentifier
+ org.opengamestudio.hello-platform
+ CFBundleExecutable
+ hello-platform
+ CFBundleIconFile
+ AppIcon
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleVersion
+ 1
+ LSMinimumSystemVersion
+ 11.0
+ NSHighResolutionCapable
+
+
+
diff --git a/hello/hello-platform/ver-mac/Package.swift b/hello/hello-platform/ver-mac/Package.swift
new file mode 100644
index 0000000..27d7761
--- /dev/null
+++ b/hello/hello-platform/ver-mac/Package.swift
@@ -0,0 +1,15 @@
+// swift-tools-version: 5.9
+import PackageDescription
+
+let package = Package(
+ name: "hello-platform",
+ platforms: [
+ .macOS(.v13)
+ ],
+ targets: [
+ .executableTarget(
+ name: "hello-platform",
+ path: "src"
+ )
+ ]
+)
diff --git a/hello/hello-platform/ver-mac/res/AppIcon.icns b/hello/hello-platform/ver-mac/res/AppIcon.icns
new file mode 120000
index 0000000..77180e1
--- /dev/null
+++ b/hello/hello-platform/ver-mac/res/AppIcon.icns
@@ -0,0 +1 @@
+../../../../res/AppIcon.icns
\ No newline at end of file
diff --git a/hello/hello-platform/ver-mac/src/HPApp.swift b/hello/hello-platform/ver-mac/src/HPApp.swift
new file mode 100644
index 0000000..81d3975
--- /dev/null
+++ b/hello/hello-platform/ver-mac/src/HPApp.swift
@@ -0,0 +1,14 @@
+import AppKit
+import SwiftUI
+
+@main
+struct HPApp: App {
+ @NSApplicationDelegateAdaptor(HPAppDelegate.self) private var appDelegate
+
+ var body: some Scene {
+ WindowGroup {
+ HPView(appDelegate.hpVM)
+ }
+ .defaultSize(width: 640, height: 480)
+ }
+}
diff --git a/hello/hello-platform/ver-mac/src/HPAppDelegate.swift b/hello/hello-platform/ver-mac/src/HPAppDelegate.swift
new file mode 100644
index 0000000..d3d47c5
--- /dev/null
+++ b/hello/hello-platform/ver-mac/src/HPAppDelegate.swift
@@ -0,0 +1,22 @@
+import AppKit
+
+final class HPAppDelegate:
+ NSObject,
+ NSApplicationDelegate
+{
+ let hp = HPComponent()
+ let hpVM = HPVM()
+
+ func applicationDidFinishLaunching(_ notification: Notification) {
+ // Bring the app to the foreground
+ NSApp.setActivationPolicy(.regular)
+ NSApp.activate(ignoringOtherApps: true)
+
+ otherSetupConsoleLogging(hp.ctrl, "HP")
+ hp.setup()
+ }
+
+ func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ true
+ }
+}
diff --git a/hello/hello-platform/ver-mac/src/dialect.swift b/hello/hello-platform/ver-mac/src/dialect.swift
new file mode 100644
index 0000000..18b261b
--- /dev/null
+++ b/hello/hello-platform/ver-mac/src/dialect.swift
@@ -0,0 +1,275 @@
+
+// Reusable "none" constant
+public let DIALECT_CONTEXT_RECENT_FIELD_NONE = "none"
+
+// Base protocol for each component's state
+public protocol DialectContext {
+ var recentField: String { get set }
+
+ func field(_ name: String) -> T
+ func fieldAny(_ name: String) -> Any
+ mutating func setField(_ name: String, _ value: Any)
+}
+
+// Default implementation of `fieldAny` method for the protocol
+public extension DialectContext {
+ func fieldAny(_ name: String) -> Any {
+ return field(name)
+ }
+}
+
+// The engine of the dialect components
+public class DialectController {
+ var callbacks = [(DialectContext) -> Void]()
+ var context: DialectContext
+ var functions = [(DialectContext) -> DialectContext]()
+ var isProcessingQueue = false
+ var queue = [DialectContext]()
+
+ public init(_ context: DialectContext) {
+ self.context = context
+ }
+
+ func executeFunctions() {
+ let c = queue.removeFirst()
+ // Keep SSOT: Only allow single field change per should-function
+ context.recentField = c.recentField
+ context.setField(c.recentField, c.fieldAny(c.recentField))
+
+ for f in functions {
+ let ctx = f(context)
+ if ctx.recentField != DIALECT_CONTEXT_RECENT_FIELD_NONE {
+ queue.append(ctx)
+ }
+ }
+
+ reportContext()
+ }
+
+ func processQueue() {
+ // Prevent recursion.
+ if isProcessingQueue {
+ return
+ }
+
+ isProcessingQueue = true
+
+ while (queue.count > 0) {
+ executeFunctions()
+ }
+
+ isProcessingQueue = false
+ }
+
+ public func registerCallback(_ cb: @escaping (DialectContext) -> Void) {
+ callbacks.append(cb)
+ }
+
+ public func registerFieldCallback(
+ _ fieldName: String,
+ _ cb: @escaping (DialectContext) -> Void
+ ) {
+ callbacks.append({ c in
+ if c.recentField == fieldName {
+ cb(c)
+ }
+ })
+ }
+
+ public func registerFunction(_ f: @escaping (DialectContext) -> DialectContext) {
+ functions.append(f)
+ }
+
+ func reportContext() {
+ for cb in callbacks {
+ cb(context)
+ }
+ }
+
+ public func set(
+ _ fieldName: String,
+ _ value: Any
+ ) {
+ var c = context
+ c.setField(fieldName, value)
+ c.recentField = fieldName
+ queue.append(c)
+ processQueue()
+ }
+}
+
+// Register several oneliner callbacks to a controller
+func registerOneliners(
+ _ ctrl: DialectController,
+ _ items: [Any]
+) -> T? {
+ let halfCount = items.count / 2
+ for i in 0.. Void
+ ctrl.registerFieldCallback(field) { cc in
+ let c = cc as! T
+ callback(c)
+ }
+ }
+
+ // A hack for generics to operate
+ return nil
+}
+
+// Context field names for static type check
+public struct F {
+ public static let count = "count"
+ public static let countText = "countText"
+ public static let didClickIncrement = "didClickIncrement"
+ public static let didLaunch = "didLaunch"
+ public static let didSetup = "didSetup"
+
+}
+public struct HPContext: DialectContext {
+ public var count = Int()
+ public var countText = String()
+ public var didClickIncrement = Bool()
+ public var didLaunch = Bool()
+ public var didSetup = Bool()
+
+ public var recentField = ""
+
+ public func field(_ name: String) -> T {
+ if (name == "count") {
+ return count as! T
+ }
+ else if (name == "countText") {
+ return countText as! T
+ }
+ else if (name == "didClickIncrement") {
+ return didClickIncrement as! T
+ }
+ else if (name == "didLaunch") {
+ return didLaunch as! T
+ }
+ else if (name == "didSetup") {
+ return didSetup as! T
+ }
+
+ return "unknown-field-name" as! T
+ }
+
+ public mutating func setField(
+ _ name: String,
+ _ value: Any
+ ) {
+ if (name == "count") {
+ count = value as! Int
+ }
+ else if (name == "countText") {
+ countText = value as! String
+ }
+ else if (name == "didClickIncrement") {
+ didClickIncrement = value as! Bool
+ }
+ else if (name == "didLaunch") {
+ didLaunch = value as! Bool
+ }
+ else if (name == "didSetup") {
+ didSetup = value as! Bool
+ }
+
+ }
+}
+
+public func hpSet(
+ _ key: String,
+ _ value: Any
+) {
+ HPComponent.singleton!.ctrl.set(key, value)
+}
+
+func hpShouldResetCount(_ c: HPContext) -> HPContext {
+ var c = c
+
+ /* 1. Upon hitting 7 */
+ if
+ c.recentField == F.didClickIncrement &&
+ c.count == 7
+ {
+ c.count += 10
+ c.recentField = F.count
+ return c
+ }
+
+ /* 2. Upon each button click */
+ if
+ c.recentField == F.didClickIncrement
+ {
+ c.count += 1
+ c.recentField = F.count
+ return c
+ }
+
+
+ c.recentField = DIALECT_CONTEXT_RECENT_FIELD_NONE
+ return c
+}
+
+func hpShouldResetCountText(_ c: HPContext) -> HPContext {
+ var c = c
+
+ /* 1. Upon each count change */
+ if
+ c.recentField == F.count
+ {
+ c.countText = "Count: '\(c.count)'"
+ c.recentField = F.countText
+ return c
+ }
+
+ /* 2. Upon launch */
+ if
+ c.recentField == F.didLaunch
+ {
+ c.countText = "Press the button to count"
+ c.recentField = F.countText
+ return c
+ }
+
+
+ c.recentField = DIALECT_CONTEXT_RECENT_FIELD_NONE
+ return c
+}
+
+func hpShouldResetDidLaunch(_ c: HPContext) -> HPContext {
+ var c = c
+
+ /* 1. Only once during the first setup */
+ if
+ c.recentField == F.didSetup &&
+ c.didLaunch == false
+ {
+ c.didLaunch = true
+ c.recentField = F.didLaunch
+ return c
+ }
+
+
+ c.recentField = DIALECT_CONTEXT_RECENT_FIELD_NONE
+ return c
+}
+
+func hpRegisterShoulds(_ ctrl: DialectController) {
+ [
+ hpShouldResetCount,
+ hpShouldResetCountText,
+ hpShouldResetDidLaunch,
+
+ ].forEach { f in
+ ctrl.registerFunction { c in f(c as! HPContext) }
+ }
+}
+
+func hpRegisterEffects(_ ctrl: DialectController) {
+ let _: HPContext? = registerOneliners(ctrl, [
+ F.countText, { (c: HPContext) in HPVM.shared!.countText = c.countText },
+
+ ])
+}
diff --git a/hello/hello-platform/ver-mac/src/hp/hp.swift b/hello/hello-platform/ver-mac/src/hp/hp.swift
new file mode 120000
index 0000000..b83cde2
--- /dev/null
+++ b/hello/hello-platform/ver-mac/src/hp/hp.swift
@@ -0,0 +1 @@
+../../../../../components/hp/hp.swift
\ No newline at end of file
diff --git a/hello/hello-platform/ver-mac/src/hp/hpVM.swift b/hello/hello-platform/ver-mac/src/hp/hpVM.swift
new file mode 120000
index 0000000..6997858
--- /dev/null
+++ b/hello/hello-platform/ver-mac/src/hp/hpVM.swift
@@ -0,0 +1 @@
+../../../../../components/hp/hpVM.swift
\ No newline at end of file
diff --git a/hello/hello-platform/ver-mac/src/hp/view/HPView.swift b/hello/hello-platform/ver-mac/src/hp/view/HPView.swift
new file mode 120000
index 0000000..72d0e3a
--- /dev/null
+++ b/hello/hello-platform/ver-mac/src/hp/view/HPView.swift
@@ -0,0 +1 @@
+../../../../../../components/hp/mac/view/HPView.swift
\ No newline at end of file
diff --git a/hello/hello-platform/ver-mac/src/other/other.swift b/hello/hello-platform/ver-mac/src/other/other.swift
new file mode 120000
index 0000000..8c61410
--- /dev/null
+++ b/hello/hello-platform/ver-mac/src/other/other.swift
@@ -0,0 +1 @@
+../../../../../components/other/other.swift
\ No newline at end of file
diff --git a/ogs-blue/dialect.yml b/history/ogs-blue/dialect.yml
similarity index 100%
rename from ogs-blue/dialect.yml
rename to history/ogs-blue/dialect.yml
diff --git a/ogs-blue/ver-android/app/build.gradle.kts b/history/ogs-blue/ver-android/app/build.gradle.kts
similarity index 100%
rename from ogs-blue/ver-android/app/build.gradle.kts
rename to history/ogs-blue/ver-android/app/build.gradle.kts
diff --git a/ogs-blue/ver-android/app/src/main/AndroidManifest.xml b/history/ogs-blue/ver-android/app/src/main/AndroidManifest.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/AndroidManifest.xml
rename to history/ogs-blue/ver-android/app/src/main/AndroidManifest.xml
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ActivityDelegate.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ActivityDelegate.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ActivityDelegate.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ActivityDelegate.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/MainActivity.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/MainActivity.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/MainActivity.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/MainActivity.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/blue.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/blue.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/blue.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/blue.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/view/BlueView.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/view/BlueView.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/view/BlueView.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/blue/view/BlueView.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/dialect.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/dialect.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/dialect.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/dialect.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/other/other.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/other/other.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/other/other.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/other/other.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Color.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Color.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Color.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Color.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Theme.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Theme.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Theme.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Theme.kt
diff --git a/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Type.kt b/history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Type.kt
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Type.kt
rename to history/ogs-blue/ver-android/app/src/main/kotlin/org/opengamestudio/ui/theme/Type.kt
diff --git a/ogs-blue/ver-android/app/src/main/res/drawable-nodpi/ic_launcher_artwork.png b/history/ogs-blue/ver-android/app/src/main/res/drawable-nodpi/ic_launcher_artwork.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/drawable-nodpi/ic_launcher_artwork.png
rename to history/ogs-blue/ver-android/app/src/main/res/drawable-nodpi/ic_launcher_artwork.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/history/ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/history/ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/history/ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
rename to history/ogs-blue/ver-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
diff --git a/ogs-blue/ver-android/app/src/main/res/values/colors.xml b/history/ogs-blue/ver-android/app/src/main/res/values/colors.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/values/colors.xml
rename to history/ogs-blue/ver-android/app/src/main/res/values/colors.xml
diff --git a/ogs-blue/ver-android/app/src/main/res/values/strings.xml b/history/ogs-blue/ver-android/app/src/main/res/values/strings.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/values/strings.xml
rename to history/ogs-blue/ver-android/app/src/main/res/values/strings.xml
diff --git a/ogs-blue/ver-android/app/src/main/res/values/themes.xml b/history/ogs-blue/ver-android/app/src/main/res/values/themes.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/values/themes.xml
rename to history/ogs-blue/ver-android/app/src/main/res/values/themes.xml
diff --git a/ogs-blue/ver-android/app/src/main/res/xml/backup_rules.xml b/history/ogs-blue/ver-android/app/src/main/res/xml/backup_rules.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/xml/backup_rules.xml
rename to history/ogs-blue/ver-android/app/src/main/res/xml/backup_rules.xml
diff --git a/ogs-blue/ver-android/app/src/main/res/xml/data_extraction_rules.xml b/history/ogs-blue/ver-android/app/src/main/res/xml/data_extraction_rules.xml
similarity index 100%
rename from ogs-blue/ver-android/app/src/main/res/xml/data_extraction_rules.xml
rename to history/ogs-blue/ver-android/app/src/main/res/xml/data_extraction_rules.xml
diff --git a/ogs-blue/ver-android/build.gradle.kts b/history/ogs-blue/ver-android/build.gradle.kts
similarity index 100%
rename from ogs-blue/ver-android/build.gradle.kts
rename to history/ogs-blue/ver-android/build.gradle.kts
diff --git a/ogs-blue/ver-android/dialect.yml b/history/ogs-blue/ver-android/dialect.yml
similarity index 100%
rename from ogs-blue/ver-android/dialect.yml
rename to history/ogs-blue/ver-android/dialect.yml
diff --git a/ogs-blue/ver-android/gradle.properties b/history/ogs-blue/ver-android/gradle.properties
similarity index 100%
rename from ogs-blue/ver-android/gradle.properties
rename to history/ogs-blue/ver-android/gradle.properties
diff --git a/ogs-blue/ver-android/gradle/libs.versions.toml b/history/ogs-blue/ver-android/gradle/libs.versions.toml
similarity index 100%
rename from ogs-blue/ver-android/gradle/libs.versions.toml
rename to history/ogs-blue/ver-android/gradle/libs.versions.toml
diff --git a/ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.jar b/history/ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.jar
similarity index 100%
rename from ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.jar
rename to history/ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.jar
diff --git a/ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.properties b/history/ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.properties
rename to history/ogs-blue/ver-android/gradle/wrapper/gradle-wrapper.properties
diff --git a/ogs-blue/ver-android/gradlew b/history/ogs-blue/ver-android/gradlew
similarity index 100%
rename from ogs-blue/ver-android/gradlew
rename to history/ogs-blue/ver-android/gradlew
diff --git a/ogs-blue/ver-android/settings.gradle.kts b/history/ogs-blue/ver-android/settings.gradle.kts
similarity index 100%
rename from ogs-blue/ver-android/settings.gradle.kts
rename to history/ogs-blue/ver-android/settings.gradle.kts
diff --git a/ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png b/history/ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png
similarity index 100%
rename from ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png
rename to history/ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png
diff --git a/ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json b/history/ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to history/ogs-blue/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/ogs-blue/ver-ios/Info.plist b/history/ogs-blue/ver-ios/Info.plist
similarity index 100%
rename from ogs-blue/ver-ios/Info.plist
rename to history/ogs-blue/ver-ios/Info.plist
diff --git a/ogs-blue/ver-ios/project.yml b/history/ogs-blue/ver-ios/project.yml
similarity index 100%
rename from ogs-blue/ver-ios/project.yml
rename to history/ogs-blue/ver-ios/project.yml
diff --git a/ogs-blue/ver-ios/src/AppDelegate.swift b/history/ogs-blue/ver-ios/src/AppDelegate.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/AppDelegate.swift
rename to history/ogs-blue/ver-ios/src/AppDelegate.swift
diff --git a/ogs-blue/ver-ios/src/Blue.c b/history/ogs-blue/ver-ios/src/Blue.c
similarity index 100%
rename from ogs-blue/ver-ios/src/Blue.c
rename to history/ogs-blue/ver-ios/src/Blue.c
diff --git a/ogs-blue/ver-ios/src/BlueApp.swift b/history/ogs-blue/ver-ios/src/BlueApp.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/BlueApp.swift
rename to history/ogs-blue/ver-ios/src/BlueApp.swift
diff --git a/ogs-blue/ver-ios/src/BlueBridgingHeader.h b/history/ogs-blue/ver-ios/src/BlueBridgingHeader.h
similarity index 100%
rename from ogs-blue/ver-ios/src/BlueBridgingHeader.h
rename to history/ogs-blue/ver-ios/src/BlueBridgingHeader.h
diff --git a/ogs-blue/ver-ios/src/blue/blue.swift b/history/ogs-blue/ver-ios/src/blue/blue.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/blue/blue.swift
rename to history/ogs-blue/ver-ios/src/blue/blue.swift
diff --git a/ogs-blue/ver-ios/src/blue/blueVM.swift b/history/ogs-blue/ver-ios/src/blue/blueVM.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/blue/blueVM.swift
rename to history/ogs-blue/ver-ios/src/blue/blueVM.swift
diff --git a/ogs-blue/ver-ios/src/blue/view/BlueView.swift b/history/ogs-blue/ver-ios/src/blue/view/BlueView.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/blue/view/BlueView.swift
rename to history/ogs-blue/ver-ios/src/blue/view/BlueView.swift
diff --git a/ogs-blue/ver-ios/src/dialect.swift b/history/ogs-blue/ver-ios/src/dialect.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/dialect.swift
rename to history/ogs-blue/ver-ios/src/dialect.swift
diff --git a/ogs-blue/ver-ios/src/egl/egl.h b/history/ogs-blue/ver-ios/src/egl/egl.h
similarity index 100%
rename from ogs-blue/ver-ios/src/egl/egl.h
rename to history/ogs-blue/ver-ios/src/egl/egl.h
diff --git a/ogs-blue/ver-ios/src/egl/eglConst.h b/history/ogs-blue/ver-ios/src/egl/eglConst.h
similarity index 100%
rename from ogs-blue/ver-ios/src/egl/eglConst.h
rename to history/ogs-blue/ver-ios/src/egl/eglConst.h
diff --git a/ogs-blue/ver-ios/src/other/other.swift b/history/ogs-blue/ver-ios/src/other/other.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/other/other.swift
rename to history/ogs-blue/ver-ios/src/other/other.swift
diff --git a/ogs-blue/ver-ios/src/raybri/raybri.h b/history/ogs-blue/ver-ios/src/raybri/raybri.h
similarity index 100%
rename from ogs-blue/ver-ios/src/raybri/raybri.h
rename to history/ogs-blue/ver-ios/src/raybri/raybri.h
diff --git a/ogs-blue/ver-ios/src/raybri/raybriConst.h b/history/ogs-blue/ver-ios/src/raybri/raybriConst.h
similarity index 100%
rename from ogs-blue/ver-ios/src/raybri/raybriConst.h
rename to history/ogs-blue/ver-ios/src/raybri/raybriConst.h
diff --git a/ogs-blue/ver-ios/src/render/render.swift b/history/ogs-blue/ver-ios/src/render/render.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/render/render.swift
rename to history/ogs-blue/ver-ios/src/render/render.swift
diff --git a/ogs-blue/ver-ios/src/render/renderAux.swift b/history/ogs-blue/ver-ios/src/render/renderAux.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/render/renderAux.swift
rename to history/ogs-blue/ver-ios/src/render/renderAux.swift
diff --git a/ogs-blue/ver-ios/src/render/renderConst.swift b/history/ogs-blue/ver-ios/src/render/renderConst.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/render/renderConst.swift
rename to history/ogs-blue/ver-ios/src/render/renderConst.swift
diff --git a/ogs-blue/ver-ios/src/render/renderEffect.swift b/history/ogs-blue/ver-ios/src/render/renderEffect.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/render/renderEffect.swift
rename to history/ogs-blue/ver-ios/src/render/renderEffect.swift
diff --git a/ogs-blue/ver-ios/src/render/renderVM.swift b/history/ogs-blue/ver-ios/src/render/renderVM.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/render/renderVM.swift
rename to history/ogs-blue/ver-ios/src/render/renderVM.swift
diff --git a/ogs-blue/ver-ios/src/render/view/RenderGLView.swift b/history/ogs-blue/ver-ios/src/render/view/RenderGLView.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/render/view/RenderGLView.swift
rename to history/ogs-blue/ver-ios/src/render/view/RenderGLView.swift
diff --git a/ogs-blue/ver-ios/src/render/view/RenderView.swift b/history/ogs-blue/ver-ios/src/render/view/RenderView.swift
similarity index 100%
rename from ogs-blue/ver-ios/src/render/view/RenderView.swift
rename to history/ogs-blue/ver-ios/src/render/view/RenderView.swift
diff --git a/ogs-blue/ver-mac/Info.plist b/history/ogs-blue/ver-mac/Info.plist
similarity index 100%
rename from ogs-blue/ver-mac/Info.plist
rename to history/ogs-blue/ver-mac/Info.plist
diff --git a/ogs-blue/ver-mac/Package.swift b/history/ogs-blue/ver-mac/Package.swift
similarity index 100%
rename from ogs-blue/ver-mac/Package.swift
rename to history/ogs-blue/ver-mac/Package.swift
diff --git a/ogs-blue/ver-mac/res/AppIcon.icns b/history/ogs-blue/ver-mac/res/AppIcon.icns
similarity index 100%
rename from ogs-blue/ver-mac/res/AppIcon.icns
rename to history/ogs-blue/ver-mac/res/AppIcon.icns
diff --git a/ogs-blue/ver-mac/res/cube b/history/ogs-blue/ver-mac/res/cube
similarity index 100%
rename from ogs-blue/ver-mac/res/cube
rename to history/ogs-blue/ver-mac/res/cube
diff --git a/ogs-blue/ver-mac/src/AppDelegate.swift b/history/ogs-blue/ver-mac/src/AppDelegate.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/AppDelegate.swift
rename to history/ogs-blue/ver-mac/src/AppDelegate.swift
diff --git a/ogs-blue/ver-mac/src/Blue.c b/history/ogs-blue/ver-mac/src/Blue.c
similarity index 100%
rename from ogs-blue/ver-mac/src/Blue.c
rename to history/ogs-blue/ver-mac/src/Blue.c
diff --git a/ogs-blue/ver-mac/src/BlueApp.swift b/history/ogs-blue/ver-mac/src/BlueApp.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/BlueApp.swift
rename to history/ogs-blue/ver-mac/src/BlueApp.swift
diff --git a/ogs-blue/ver-mac/src/blue/blue.swift b/history/ogs-blue/ver-mac/src/blue/blue.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/blue/blue.swift
rename to history/ogs-blue/ver-mac/src/blue/blue.swift
diff --git a/ogs-blue/ver-mac/src/blue/blueVM.swift b/history/ogs-blue/ver-mac/src/blue/blueVM.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/blue/blueVM.swift
rename to history/ogs-blue/ver-mac/src/blue/blueVM.swift
diff --git a/ogs-blue/ver-mac/src/blue/view/BlueView.swift b/history/ogs-blue/ver-mac/src/blue/view/BlueView.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/blue/view/BlueView.swift
rename to history/ogs-blue/ver-mac/src/blue/view/BlueView.swift
diff --git a/ogs-blue/ver-mac/src/dialect.swift b/history/ogs-blue/ver-mac/src/dialect.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/dialect.swift
rename to history/ogs-blue/ver-mac/src/dialect.swift
diff --git a/ogs-blue/ver-mac/src/other/other.swift b/history/ogs-blue/ver-mac/src/other/other.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/other/other.swift
rename to history/ogs-blue/ver-mac/src/other/other.swift
diff --git a/ogs-blue/ver-mac/src/raybri/raybri.h b/history/ogs-blue/ver-mac/src/raybri/raybri.h
similarity index 100%
rename from ogs-blue/ver-mac/src/raybri/raybri.h
rename to history/ogs-blue/ver-mac/src/raybri/raybri.h
diff --git a/ogs-blue/ver-mac/src/raybri/raybriAux.h b/history/ogs-blue/ver-mac/src/raybri/raybriAux.h
similarity index 100%
rename from ogs-blue/ver-mac/src/raybri/raybriAux.h
rename to history/ogs-blue/ver-mac/src/raybri/raybriAux.h
diff --git a/ogs-blue/ver-mac/src/raybri/raybriConst.h b/history/ogs-blue/ver-mac/src/raybri/raybriConst.h
similarity index 100%
rename from ogs-blue/ver-mac/src/raybri/raybriConst.h
rename to history/ogs-blue/ver-mac/src/raybri/raybriConst.h
diff --git a/ogs-blue/ver-mac/src/render/render.swift b/history/ogs-blue/ver-mac/src/render/render.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/render.swift
rename to history/ogs-blue/ver-mac/src/render/render.swift
diff --git a/ogs-blue/ver-mac/src/render/renderAux.swift b/history/ogs-blue/ver-mac/src/render/renderAux.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/renderAux.swift
rename to history/ogs-blue/ver-mac/src/render/renderAux.swift
diff --git a/ogs-blue/ver-mac/src/render/renderConst.swift b/history/ogs-blue/ver-mac/src/render/renderConst.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/renderConst.swift
rename to history/ogs-blue/ver-mac/src/render/renderConst.swift
diff --git a/ogs-blue/ver-mac/src/render/renderConstMac.swift b/history/ogs-blue/ver-mac/src/render/renderConstMac.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/renderConstMac.swift
rename to history/ogs-blue/ver-mac/src/render/renderConstMac.swift
diff --git a/ogs-blue/ver-mac/src/render/renderConstShader.swift b/history/ogs-blue/ver-mac/src/render/renderConstShader.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/renderConstShader.swift
rename to history/ogs-blue/ver-mac/src/render/renderConstShader.swift
diff --git a/ogs-blue/ver-mac/src/render/renderEffect.swift b/history/ogs-blue/ver-mac/src/render/renderEffect.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/renderEffect.swift
rename to history/ogs-blue/ver-mac/src/render/renderEffect.swift
diff --git a/ogs-blue/ver-mac/src/render/renderVM.swift b/history/ogs-blue/ver-mac/src/render/renderVM.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/renderVM.swift
rename to history/ogs-blue/ver-mac/src/render/renderVM.swift
diff --git a/ogs-blue/ver-mac/src/render/view/RenderGLView.swift b/history/ogs-blue/ver-mac/src/render/view/RenderGLView.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/view/RenderGLView.swift
rename to history/ogs-blue/ver-mac/src/render/view/RenderGLView.swift
diff --git a/ogs-blue/ver-mac/src/render/view/RenderView.swift b/history/ogs-blue/ver-mac/src/render/view/RenderView.swift
similarity index 100%
rename from ogs-blue/ver-mac/src/render/view/RenderView.swift
rename to history/ogs-blue/ver-mac/src/render/view/RenderView.swift
diff --git a/ogs-chkgfx/dialect.yml b/history/ogs-chkgfx/dialect.yml
similarity index 100%
rename from ogs-chkgfx/dialect.yml
rename to history/ogs-chkgfx/dialect.yml
diff --git a/ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png b/history/ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png
similarity index 100%
rename from ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png
rename to history/ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png
diff --git a/ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json b/history/ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to history/ogs-chkgfx/ver-ios/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/ogs-chkgfx/ver-ios/Info.plist b/history/ogs-chkgfx/ver-ios/Info.plist
similarity index 100%
rename from ogs-chkgfx/ver-ios/Info.plist
rename to history/ogs-chkgfx/ver-ios/Info.plist
diff --git a/ogs-chkgfx/ver-ios/project.yml b/history/ogs-chkgfx/ver-ios/project.yml
similarity index 100%
rename from ogs-chkgfx/ver-ios/project.yml
rename to history/ogs-chkgfx/ver-ios/project.yml
diff --git a/ogs-chkgfx/ver-ios/src/AppDelegate.swift b/history/ogs-chkgfx/ver-ios/src/AppDelegate.swift
similarity index 100%
rename from ogs-chkgfx/ver-ios/src/AppDelegate.swift
rename to history/ogs-chkgfx/ver-ios/src/AppDelegate.swift
diff --git a/ogs-chkgfx/ver-ios/src/ChkgfxApp.swift b/history/ogs-chkgfx/ver-ios/src/ChkgfxApp.swift
similarity index 100%
rename from ogs-chkgfx/ver-ios/src/ChkgfxApp.swift
rename to history/ogs-chkgfx/ver-ios/src/ChkgfxApp.swift
diff --git a/ogs-chkgfx/ver-ios/src/chkgfx/chkgfx.swift b/history/ogs-chkgfx/ver-ios/src/chkgfx/chkgfx.swift
similarity index 100%
rename from ogs-chkgfx/ver-ios/src/chkgfx/chkgfx.swift
rename to history/ogs-chkgfx/ver-ios/src/chkgfx/chkgfx.swift
diff --git a/ogs-chkgfx/ver-ios/src/chkgfx/chkgfxVM.swift b/history/ogs-chkgfx/ver-ios/src/chkgfx/chkgfxVM.swift
similarity index 100%
rename from ogs-chkgfx/ver-ios/src/chkgfx/chkgfxVM.swift
rename to history/ogs-chkgfx/ver-ios/src/chkgfx/chkgfxVM.swift
diff --git a/ogs-chkgfx/ver-ios/src/chkgfx/view/ChkgfxView.swift b/history/ogs-chkgfx/ver-ios/src/chkgfx/view/ChkgfxView.swift
similarity index 100%
rename from ogs-chkgfx/ver-ios/src/chkgfx/view/ChkgfxView.swift
rename to history/ogs-chkgfx/ver-ios/src/chkgfx/view/ChkgfxView.swift
diff --git a/ogs-chkgfx/ver-ios/src/dialect.swift b/history/ogs-chkgfx/ver-ios/src/dialect.swift
similarity index 100%
rename from ogs-chkgfx/ver-ios/src/dialect.swift
rename to history/ogs-chkgfx/ver-ios/src/dialect.swift
diff --git a/ogs-chkgfx/ver-ios/src/other/other.swift b/history/ogs-chkgfx/ver-ios/src/other/other.swift
similarity index 100%
rename from ogs-chkgfx/ver-ios/src/other/other.swift
rename to history/ogs-chkgfx/ver-ios/src/other/other.swift
diff --git a/ogs-chkgfx/ver-mac/Info.plist b/history/ogs-chkgfx/ver-mac/Info.plist
similarity index 100%
rename from ogs-chkgfx/ver-mac/Info.plist
rename to history/ogs-chkgfx/ver-mac/Info.plist
diff --git a/ogs-chkgfx/ver-mac/Package.swift b/history/ogs-chkgfx/ver-mac/Package.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/Package.swift
rename to history/ogs-chkgfx/ver-mac/Package.swift
diff --git a/ogs-chkgfx/ver-mac/res/AppIcon.icns b/history/ogs-chkgfx/ver-mac/res/AppIcon.icns
similarity index 100%
rename from ogs-chkgfx/ver-mac/res/AppIcon.icns
rename to history/ogs-chkgfx/ver-mac/res/AppIcon.icns
diff --git a/ogs-chkgfx/ver-mac/res/cube b/history/ogs-chkgfx/ver-mac/res/cube
similarity index 100%
rename from ogs-chkgfx/ver-mac/res/cube
rename to history/ogs-chkgfx/ver-mac/res/cube
diff --git a/ogs-chkgfx/ver-mac/src/AppDelegate.swift b/history/ogs-chkgfx/ver-mac/src/AppDelegate.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/AppDelegate.swift
rename to history/ogs-chkgfx/ver-mac/src/AppDelegate.swift
diff --git a/ogs-chkgfx/ver-mac/src/ChkgfxApp.swift b/history/ogs-chkgfx/ver-mac/src/ChkgfxApp.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/ChkgfxApp.swift
rename to history/ogs-chkgfx/ver-mac/src/ChkgfxApp.swift
diff --git a/ogs-chkgfx/ver-mac/src/chkgfx/chkgfx.swift b/history/ogs-chkgfx/ver-mac/src/chkgfx/chkgfx.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/chkgfx/chkgfx.swift
rename to history/ogs-chkgfx/ver-mac/src/chkgfx/chkgfx.swift
diff --git a/ogs-chkgfx/ver-mac/src/chkgfx/chkgfxVM.swift b/history/ogs-chkgfx/ver-mac/src/chkgfx/chkgfxVM.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/chkgfx/chkgfxVM.swift
rename to history/ogs-chkgfx/ver-mac/src/chkgfx/chkgfxVM.swift
diff --git a/ogs-chkgfx/ver-mac/src/chkgfx/view/ChkgfxView.swift b/history/ogs-chkgfx/ver-mac/src/chkgfx/view/ChkgfxView.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/chkgfx/view/ChkgfxView.swift
rename to history/ogs-chkgfx/ver-mac/src/chkgfx/view/ChkgfxView.swift
diff --git a/ogs-chkgfx/ver-mac/src/dialect.swift b/history/ogs-chkgfx/ver-mac/src/dialect.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/dialect.swift
rename to history/ogs-chkgfx/ver-mac/src/dialect.swift
diff --git a/ogs-chkgfx/ver-mac/src/other/other.swift b/history/ogs-chkgfx/ver-mac/src/other/other.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/other/other.swift
rename to history/ogs-chkgfx/ver-mac/src/other/other.swift
diff --git a/ogs-chkgfx/ver-mac/src/raybri/raybri.c b/history/ogs-chkgfx/ver-mac/src/raybri/raybri.c
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/raybri/raybri.c
rename to history/ogs-chkgfx/ver-mac/src/raybri/raybri.c
diff --git a/ogs-chkgfx/ver-mac/src/raybri/raybri.h b/history/ogs-chkgfx/ver-mac/src/raybri/raybri.h
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/raybri/raybri.h
rename to history/ogs-chkgfx/ver-mac/src/raybri/raybri.h
diff --git a/ogs-chkgfx/ver-mac/src/raybri/raybriAux.c b/history/ogs-chkgfx/ver-mac/src/raybri/raybriAux.c
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/raybri/raybriAux.c
rename to history/ogs-chkgfx/ver-mac/src/raybri/raybriAux.c
diff --git a/ogs-chkgfx/ver-mac/src/raybri/raybriAux.h b/history/ogs-chkgfx/ver-mac/src/raybri/raybriAux.h
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/raybri/raybriAux.h
rename to history/ogs-chkgfx/ver-mac/src/raybri/raybriAux.h
diff --git a/ogs-chkgfx/ver-mac/src/raybri/raybriConst.c b/history/ogs-chkgfx/ver-mac/src/raybri/raybriConst.c
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/raybri/raybriConst.c
rename to history/ogs-chkgfx/ver-mac/src/raybri/raybriConst.c
diff --git a/ogs-chkgfx/ver-mac/src/raybri/raybriConst.h b/history/ogs-chkgfx/ver-mac/src/raybri/raybriConst.h
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/raybri/raybriConst.h
rename to history/ogs-chkgfx/ver-mac/src/raybri/raybriConst.h
diff --git a/ogs-chkgfx/ver-mac/src/render/render.swift b/history/ogs-chkgfx/ver-mac/src/render/render.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/render.swift
rename to history/ogs-chkgfx/ver-mac/src/render/render.swift
diff --git a/ogs-chkgfx/ver-mac/src/render/renderAux.swift b/history/ogs-chkgfx/ver-mac/src/render/renderAux.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/renderAux.swift
rename to history/ogs-chkgfx/ver-mac/src/render/renderAux.swift
diff --git a/ogs-chkgfx/ver-mac/src/render/renderConst.swift b/history/ogs-chkgfx/ver-mac/src/render/renderConst.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/renderConst.swift
rename to history/ogs-chkgfx/ver-mac/src/render/renderConst.swift
diff --git a/ogs-chkgfx/ver-mac/src/render/renderConstShader.swift b/history/ogs-chkgfx/ver-mac/src/render/renderConstShader.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/renderConstShader.swift
rename to history/ogs-chkgfx/ver-mac/src/render/renderConstShader.swift
diff --git a/ogs-chkgfx/ver-mac/src/render/renderEffect.swift b/history/ogs-chkgfx/ver-mac/src/render/renderEffect.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/renderEffect.swift
rename to history/ogs-chkgfx/ver-mac/src/render/renderEffect.swift
diff --git a/ogs-chkgfx/ver-mac/src/render/renderVM.swift b/history/ogs-chkgfx/ver-mac/src/render/renderVM.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/renderVM.swift
rename to history/ogs-chkgfx/ver-mac/src/render/renderVM.swift
diff --git a/ogs-chkgfx/ver-mac/src/render/view/RenderGLView.swift b/history/ogs-chkgfx/ver-mac/src/render/view/RenderGLView.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/view/RenderGLView.swift
rename to history/ogs-chkgfx/ver-mac/src/render/view/RenderGLView.swift
diff --git a/ogs-chkgfx/ver-mac/src/render/view/RenderView.swift b/history/ogs-chkgfx/ver-mac/src/render/view/RenderView.swift
similarity index 100%
rename from ogs-chkgfx/ver-mac/src/render/view/RenderView.swift
rename to history/ogs-chkgfx/ver-mac/src/render/view/RenderView.swift
diff --git a/ogs-mahjong/dialect.yml b/history/ogs-mahjong/dialect.yml
similarity index 100%
rename from ogs-mahjong/dialect.yml
rename to history/ogs-mahjong/dialect.yml
diff --git a/ogs-mahjong/ver-mac/Info.plist b/history/ogs-mahjong/ver-mac/Info.plist
similarity index 100%
rename from ogs-mahjong/ver-mac/Info.plist
rename to history/ogs-mahjong/ver-mac/Info.plist
diff --git a/ogs-mahjong/ver-mac/Package.swift b/history/ogs-mahjong/ver-mac/Package.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/Package.swift
rename to history/ogs-mahjong/ver-mac/Package.swift
diff --git a/ogs-mahjong/ver-mac/res/AppIcon.icns b/history/ogs-mahjong/ver-mac/res/AppIcon.icns
similarity index 100%
rename from ogs-mahjong/ver-mac/res/AppIcon.icns
rename to history/ogs-mahjong/ver-mac/res/AppIcon.icns
diff --git a/ogs-mahjong/ver-mac/res/cube b/history/ogs-mahjong/ver-mac/res/cube
similarity index 100%
rename from ogs-mahjong/ver-mac/res/cube
rename to history/ogs-mahjong/ver-mac/res/cube
diff --git a/ogs-mahjong/ver-mac/src/AppDelegate.swift b/history/ogs-mahjong/ver-mac/src/AppDelegate.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/AppDelegate.swift
rename to history/ogs-mahjong/ver-mac/src/AppDelegate.swift
diff --git a/ogs-mahjong/ver-mac/src/MahjongApp.swift b/history/ogs-mahjong/ver-mac/src/MahjongApp.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/MahjongApp.swift
rename to history/ogs-mahjong/ver-mac/src/MahjongApp.swift
diff --git a/ogs-mahjong/ver-mac/src/dialect.swift b/history/ogs-mahjong/ver-mac/src/dialect.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/dialect.swift
rename to history/ogs-mahjong/ver-mac/src/dialect.swift
diff --git a/ogs-mahjong/ver-mac/src/other/other.swift b/history/ogs-mahjong/ver-mac/src/other/other.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/other/other.swift
rename to history/ogs-mahjong/ver-mac/src/other/other.swift
diff --git a/ogs-mahjong/ver-mac/src/raybri/raybri.c b/history/ogs-mahjong/ver-mac/src/raybri/raybri.c
similarity index 100%
rename from ogs-mahjong/ver-mac/src/raybri/raybri.c
rename to history/ogs-mahjong/ver-mac/src/raybri/raybri.c
diff --git a/ogs-mahjong/ver-mac/src/raybri/raybri.h b/history/ogs-mahjong/ver-mac/src/raybri/raybri.h
similarity index 100%
rename from ogs-mahjong/ver-mac/src/raybri/raybri.h
rename to history/ogs-mahjong/ver-mac/src/raybri/raybri.h
diff --git a/ogs-mahjong/ver-mac/src/raybri/raybriConst.h b/history/ogs-mahjong/ver-mac/src/raybri/raybriConst.h
similarity index 100%
rename from ogs-mahjong/ver-mac/src/raybri/raybriConst.h
rename to history/ogs-mahjong/ver-mac/src/raybri/raybriConst.h
diff --git a/ogs-mahjong/ver-mac/src/render/render.swift b/history/ogs-mahjong/ver-mac/src/render/render.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/render.swift
rename to history/ogs-mahjong/ver-mac/src/render/render.swift
diff --git a/ogs-mahjong/ver-mac/src/render/renderAux.swift b/history/ogs-mahjong/ver-mac/src/render/renderAux.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/renderAux.swift
rename to history/ogs-mahjong/ver-mac/src/render/renderAux.swift
diff --git a/ogs-mahjong/ver-mac/src/render/renderConst.swift b/history/ogs-mahjong/ver-mac/src/render/renderConst.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/renderConst.swift
rename to history/ogs-mahjong/ver-mac/src/render/renderConst.swift
diff --git a/ogs-mahjong/ver-mac/src/render/renderConstShader.swift b/history/ogs-mahjong/ver-mac/src/render/renderConstShader.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/renderConstShader.swift
rename to history/ogs-mahjong/ver-mac/src/render/renderConstShader.swift
diff --git a/ogs-mahjong/ver-mac/src/render/renderEffect.swift b/history/ogs-mahjong/ver-mac/src/render/renderEffect.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/renderEffect.swift
rename to history/ogs-mahjong/ver-mac/src/render/renderEffect.swift
diff --git a/ogs-mahjong/ver-mac/src/render/renderVM.swift b/history/ogs-mahjong/ver-mac/src/render/renderVM.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/renderVM.swift
rename to history/ogs-mahjong/ver-mac/src/render/renderVM.swift
diff --git a/ogs-mahjong/ver-mac/src/render/view/RenderGLView.swift b/history/ogs-mahjong/ver-mac/src/render/view/RenderGLView.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/view/RenderGLView.swift
rename to history/ogs-mahjong/ver-mac/src/render/view/RenderGLView.swift
diff --git a/ogs-mahjong/ver-mac/src/render/view/RenderView.swift b/history/ogs-mahjong/ver-mac/src/render/view/RenderView.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/render/view/RenderView.swift
rename to history/ogs-mahjong/ver-mac/src/render/view/RenderView.swift
diff --git a/ogs-mahjong/ver-mac/src/root/root.swift b/history/ogs-mahjong/ver-mac/src/root/root.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/root/root.swift
rename to history/ogs-mahjong/ver-mac/src/root/root.swift
diff --git a/ogs-mahjong/ver-mac/src/root/rootVM.swift b/history/ogs-mahjong/ver-mac/src/root/rootVM.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/root/rootVM.swift
rename to history/ogs-mahjong/ver-mac/src/root/rootVM.swift
diff --git a/ogs-mahjong/ver-mac/src/root/view/RootView.swift b/history/ogs-mahjong/ver-mac/src/root/view/RootView.swift
similarity index 100%
rename from ogs-mahjong/ver-mac/src/root/view/RootView.swift
rename to history/ogs-mahjong/ver-mac/src/root/view/RootView.swift
diff --git a/util/build-ogs-blue-mac b/history/util/build-ogs-blue-mac
similarity index 100%
rename from util/build-ogs-blue-mac
rename to history/util/build-ogs-blue-mac
diff --git a/util/build-ogs-chkgfx-mac b/history/util/build-ogs-chkgfx-mac
similarity index 100%
rename from util/build-ogs-chkgfx-mac
rename to history/util/build-ogs-chkgfx-mac
diff --git a/util/build-ogs-mahjong-mac b/history/util/build-ogs-mahjong-mac
similarity index 100%
rename from util/build-ogs-mahjong-mac
rename to history/util/build-ogs-mahjong-mac
diff --git a/util/paths b/history/util/paths
similarity index 100%
rename from util/paths
rename to history/util/paths
diff --git a/util/prepare-ogs-blue-ios b/history/util/prepare-ogs-blue-ios
similarity index 100%
rename from util/prepare-ogs-blue-ios
rename to history/util/prepare-ogs-blue-ios
diff --git a/util/prepare-ogs-chkgfx-ios b/history/util/prepare-ogs-chkgfx-ios
similarity index 100%
rename from util/prepare-ogs-chkgfx-ios
rename to history/util/prepare-ogs-chkgfx-ios
diff --git a/util/rm-mac-geom b/history/util/rm-mac-geom
similarity index 100%
rename from util/rm-mac-geom
rename to history/util/rm-mac-geom
diff --git a/util/run-ogs-blue-mac b/history/util/run-ogs-blue-mac
similarity index 100%
rename from util/run-ogs-blue-mac
rename to history/util/run-ogs-blue-mac
diff --git a/util/run-ogs-chkgfx-mac b/history/util/run-ogs-chkgfx-mac
similarity index 100%
rename from util/run-ogs-chkgfx-mac
rename to history/util/run-ogs-chkgfx-mac
diff --git a/util/run-ogs-mahjong-mac b/history/util/run-ogs-mahjong-mac
similarity index 100%
rename from util/run-ogs-mahjong-mac
rename to history/util/run-ogs-mahjong-mac
diff --git a/util/step/buildMac b/history/util/step/buildMac
similarity index 100%
rename from util/step/buildMac
rename to history/util/step/buildMac
diff --git a/util/step/checkRaylibIOS b/history/util/step/checkRaylibIOS
similarity index 100%
rename from util/step/checkRaylibIOS
rename to history/util/step/checkRaylibIOS
diff --git a/util/step/generateDialect b/history/util/step/generateDialect
similarity index 100%
rename from util/step/generateDialect
rename to history/util/step/generateDialect
diff --git a/util/step/generateIOS b/history/util/step/generateIOS
similarity index 100%
rename from util/step/generateIOS
rename to history/util/step/generateIOS
diff --git a/util/step/packageMac b/history/util/step/packageMac
similarity index 100%
rename from util/step/packageMac
rename to history/util/step/packageMac
diff --git a/util/step/prepareANGLE b/history/util/step/prepareANGLE
similarity index 100%
rename from util/step/prepareANGLE
rename to history/util/step/prepareANGLE
diff --git a/util/step/runMac b/history/util/step/runMac
similarity index 100%
rename from util/step/runMac
rename to history/util/step/runMac
diff --git a/ref/swiftraylib b/ref/swiftraylib
deleted file mode 120000
index 012b5c7..0000000
--- a/ref/swiftraylib
+++ /dev/null
@@ -1 +0,0 @@
-../../swiftraylib
\ No newline at end of file