From 3dab86c59003d7d59bc7c2331be4f713cce6af0b Mon Sep 17 00:00:00 2001 From: relt-1 <60782515+relt-1@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:15:54 +0200 Subject: [PATCH] Better "sidebar" (more like cornerbar) --- .../Contributing/API/Structs/QCFunc.html | 53 +++++++++++-------- .../API/Structs/QModuleDefFunc.html | 53 +++++++++++-------- .../API/Structs/QScriptCallback.html | 53 +++++++++++-------- .../API/Structs/QScriptClass.html | 53 +++++++++++-------- .../API/Structs/QScriptClassCreator.html | 53 +++++++++++-------- .../Contributing/API/Structs/QType.html | 53 +++++++++++-------- .../Contributing/API/Structs/QValue.html | 53 +++++++++++-------- dst/QScript/Contributing/API/qscript.html | 53 +++++++++++-------- dst/QScript/Contributing/Contributing.html | 53 +++++++++++-------- dst/QScript/Introduction.html | 53 +++++++++++-------- dst/QScript/Lua/Classes.html | 53 +++++++++++-------- dst/QScript/Lua/Exports.html | 53 +++++++++++-------- dst/QScript/Lua/Imports.html | 53 +++++++++++-------- dst/QScript/Lua/Intro.html | 53 +++++++++++-------- dst/QScript/Lua/Objects.html | 53 +++++++++++-------- dst/QScript/Private_Members.html | 53 +++++++++++-------- dst/QScript/Squirrel/Exports_And_Imports.html | 53 +++++++++++-------- dst/QScript/Squirrel/Intro.html | 53 +++++++++++-------- dst/QScript/Tutorial/Chapter1.html | 53 +++++++++++-------- dst/QScript/Tutorial/Chapter2.html | 53 +++++++++++-------- dst/index.html | 53 +++++++++++-------- template.html | 49 +++++++++++------ 22 files changed, 704 insertions(+), 458 deletions(-) diff --git a/dst/QScript/Contributing/API/Structs/QCFunc.html b/dst/QScript/Contributing/API/Structs/QCFunc.html index 9fc7513..d3b8afa 100644 --- a/dst/QScript/Contributing/API/Structs/QCFunc.html +++ b/dst/QScript/Contributing/API/Structs/QCFunc.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QCFunc

\ No newline at end of file diff --git a/dst/QScript/Contributing/API/Structs/QModuleDefFunc.html b/dst/QScript/Contributing/API/Structs/QModuleDefFunc.html index 002729b..189fdaa 100644 --- a/dst/QScript/Contributing/API/Structs/QModuleDefFunc.html +++ b/dst/QScript/Contributing/API/Structs/QModuleDefFunc.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QModuleDefFunc

\ No newline at end of file diff --git a/dst/QScript/Contributing/API/Structs/QScriptCallback.html b/dst/QScript/Contributing/API/Structs/QScriptCallback.html index 4511120..87c665a 100644 --- a/dst/QScript/Contributing/API/Structs/QScriptCallback.html +++ b/dst/QScript/Contributing/API/Structs/QScriptCallback.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QScriptCallback

\ No newline at end of file diff --git a/dst/QScript/Contributing/API/Structs/QScriptClass.html b/dst/QScript/Contributing/API/Structs/QScriptClass.html index ad2ac4f..7961a02 100644 --- a/dst/QScript/Contributing/API/Structs/QScriptClass.html +++ b/dst/QScript/Contributing/API/Structs/QScriptClass.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QScriptClass

\ No newline at end of file diff --git a/dst/QScript/Contributing/API/Structs/QScriptClassCreator.html b/dst/QScript/Contributing/API/Structs/QScriptClassCreator.html index 361c3fc..9671760 100644 --- a/dst/QScript/Contributing/API/Structs/QScriptClassCreator.html +++ b/dst/QScript/Contributing/API/Structs/QScriptClassCreator.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QScriptClassCreator

\ No newline at end of file diff --git a/dst/QScript/Contributing/API/Structs/QType.html b/dst/QScript/Contributing/API/Structs/QType.html index 765977a..a701af8 100644 --- a/dst/QScript/Contributing/API/Structs/QType.html +++ b/dst/QScript/Contributing/API/Structs/QType.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QType

\ No newline at end of file diff --git a/dst/QScript/Contributing/API/Structs/QValue.html b/dst/QScript/Contributing/API/Structs/QValue.html index 5a3fe6b..209c245 100644 --- a/dst/QScript/Contributing/API/Structs/QValue.html +++ b/dst/QScript/Contributing/API/Structs/QValue.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QValue

\ No newline at end of file diff --git a/dst/QScript/Contributing/API/qscript.html b/dst/QScript/Contributing/API/qscript.html index a74a862..07a0dca 100644 --- a/dst/QScript/Contributing/API/qscript.html +++ b/dst/QScript/Contributing/API/qscript.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QScript API


diff --git a/dst/QScript/Contributing/Contributing.html b/dst/QScript/Contributing/Contributing.html index 1ddac11..62512f9 100644 --- a/dst/QScript/Contributing/Contributing.html +++ b/dst/QScript/Contributing/Contributing.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Contributing

QScript operates independently of the game, meaning that there is no clear divide between server and client. Game parts can call into QScript to add bindings or call scripting callbacks.

diff --git a/dst/QScript/Introduction.html b/dst/QScript/Introduction.html index b3bbcd4..decdc4c 100644 --- a/dst/QScript/Introduction.html +++ b/dst/QScript/Introduction.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QScript Intro

QScript is a multi-language scripting system designed with security and stability in mind. diff --git a/dst/QScript/Lua/Classes.html b/dst/QScript/Lua/Classes.html index ac01150..213b2bc 100644 --- a/dst/QScript/Lua/Classes.html +++ b/dst/QScript/Lua/Classes.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -

- - +

Lua Classes

Let's start with an analogy. Imagine you want to make star-shaped cookies. You could of course, manually cut the baked cookie and then be left with a mess, or you could use a cookie cutter before baking it. In this analogy, the cookie is an object, the manual cutting method is using tables, and the cookie cutter is a class.

diff --git a/dst/QScript/Lua/Exports.html b/dst/QScript/Lua/Exports.html index 0a7bce1..3d68471 100644 --- a/dst/QScript/Lua/Exports.html +++ b/dst/QScript/Lua/Exports.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Lua Exports

Here is the real meat and potatoes of QScript. The import/export system allows you to share objects, functions and classes between scripts and other languages! The system is stupidly simple to understand.

diff --git a/dst/QScript/Lua/Imports.html b/dst/QScript/Lua/Imports.html index dbb724a..2abe7bc 100644 --- a/dst/QScript/Lua/Imports.html +++ b/dst/QScript/Lua/Imports.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Lua Imports

Now that you have exported some variables, something's gotta import them! As always, it is very simple to do.

diff --git a/dst/QScript/Lua/Intro.html b/dst/QScript/Lua/Intro.html index 88ff8cd..bdfc65e 100644 --- a/dst/QScript/Lua/Intro.html +++ b/dst/QScript/Lua/Intro.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Lua Intro

The tutorial will assume that you already know the basics of Lua. If you do not know anything about it, then you can go to the official PIL

diff --git a/dst/QScript/Lua/Objects.html b/dst/QScript/Lua/Objects.html index 534da92..2e45d6c 100644 --- a/dst/QScript/Lua/Objects.html +++ b/dst/QScript/Lua/Objects.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Lua Objects

Objects store a number of variables and functions which are defined in the class the object comes from. They kind of act like tables but are not modifiable. Meaning, if you wanted to make a new variable or function inside an object, you would get an error.

diff --git a/dst/QScript/Private_Members.html b/dst/QScript/Private_Members.html index 92108ac..954b268 100644 --- a/dst/QScript/Private_Members.html +++ b/dst/QScript/Private_Members.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Private Members

Classes can have private members. They are inaccessible to anything else than the methods inside the class.

diff --git a/dst/QScript/Squirrel/Exports_And_Imports.html b/dst/QScript/Squirrel/Exports_And_Imports.html index 03cfe7a..66ec410 100644 --- a/dst/QScript/Squirrel/Exports_And_Imports.html +++ b/dst/QScript/Squirrel/Exports_And_Imports.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Squirrel Exports and Imports

The main big feature of QScript is the export system. It lets you export classes, objects and functions which other files can import from your script.

diff --git a/dst/QScript/Squirrel/Intro.html b/dst/QScript/Squirrel/Intro.html index 6f0d8fa..9e42aab 100644 --- a/dst/QScript/Squirrel/Intro.html +++ b/dst/QScript/Squirrel/Intro.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Squirrel Intro

The following pages will assume that you know the basics of Squirrel. If you need a refresher, go to the official documentation linked here

diff --git a/dst/QScript/Tutorial/Chapter1.html b/dst/QScript/Tutorial/Chapter1.html index c196056..ec93424 100644 --- a/dst/QScript/Tutorial/Chapter1.html +++ b/dst/QScript/Tutorial/Chapter1.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QScript Tutorial Page 1: Mods

QScript operates on "mods" which are folders inside the sourcebox/mods/ directory.

diff --git a/dst/QScript/Tutorial/Chapter2.html b/dst/QScript/Tutorial/Chapter2.html index 09e49ff..ca84b60 100644 --- a/dst/QScript/Tutorial/Chapter2.html +++ b/dst/QScript/Tutorial/Chapter2.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

QScript Tutorial Page 2: Getting to work

In your freshly created folder, make a new file called autorun_client with the extension of your favorite programming language that QScript supports.

diff --git a/dst/index.html b/dst/index.html index f46e0b9..6aa88d5 100644 --- a/dst/index.html +++ b/dst/index.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,19 +241,35 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - +

Wiki Intro

Welcome to the SourceBox wiki!

diff --git a/template.html b/template.html index ac792ca..68aadc8 100644 --- a/template.html +++ b/template.html @@ -97,6 +97,7 @@ pre border-style:solid; border-width:1px; padding: 4px; + display:flex; } .nested @@ -123,8 +124,9 @@ li.sidebar ::marker li.sidebar { list-style-type: none !important; - border-bottom: #473c29 1px solid; - border-right: #473c29 1px solid; + background-color:#4A3F2C; + border-bottom: #312A1D 1px solid; + border-right: #312A1D 1px solid; border-left: 1px solid #8d8881; border-top: 1px solid #8d8881; padding-left: 2px; @@ -221,11 +223,9 @@ body border-right-color: #837f7a; color: white; padding: 0px; - width:195px; + width:196px; height:16px; position: relative; - top:1px; - left:1px; } input:focus { @@ -241,22 +241,37 @@ input:focus { position:relative; margin-left:auto; margin-right:auto; - height:19px; + height:18px; width:198px; display: inline-block; } +.sidebarcontainer +{ + float:right; + display:block; + top: -16px; + right: -8px; + margin-left: 8px; + width:200px; + border-color: black; + border-width: 1px; + border-style:solid; + position:relative; + overflow:auto; +} + -
- - -
-
+
+
+ + +
@CONTENT
\ No newline at end of file