Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
357412c1
Verified
Commit
357412c1
authored
Apr 19, 2019
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Incidone, ShipAdventure and Ligretto to ABC interpreter in frontend
parent
25920302
Pipeline
#21561
failed with stage
in 1 minute and 54 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
33 deletions
+21
-33
Examples/Applications/Incidone/IncidoneCCC.prj.default
Examples/Applications/Incidone/IncidoneCCC.prj.default
+7
-1
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Core.icl
...Applications/ShipAdventure/C2/Apps/ShipAdventure/Core.icl
+0
-13
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Editor.icl
...plications/ShipAdventure/C2/Apps/ShipAdventure/Editor.icl
+0
-5
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Types.icl
...pplications/ShipAdventure/C2/Apps/ShipAdventure/Types.icl
+0
-8
Examples/Applications/ShipAdventure/main.prj.default
Examples/Applications/ShipAdventure/main.prj.default
+7
-1
Examples/Games/Ligretto/Ligretto.prj.default
Examples/Games/Ligretto/Ligretto.prj.default
+7
-1
Examples/Games/Ligretto/Ligretto/UI.icl
Examples/Games/Ligretto/Ligretto/UI.icl
+0
-4
No files found.
Examples/Applications/Incidone/IncidoneCCC.prj.default
View file @
357412c1
...
...
@@ -3,9 +3,12 @@ Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/IncidoneCCC.exe
ByteCode: {Project}/IncidoneCCC.bc
CodeGen
CheckStacks: False
CheckIndexes: True
OptimiseABC: True
GenerateByteCode: True
Application
HeapSize: 209715200
StackSize: 1512000
...
...
@@ -25,7 +28,7 @@ Global
Stack: False
Dynamics: True
GenericFusion: False
DescExL:
Fals
e
DescExL:
Tru
e
Output
Output: ShowConstructors
Font: Monaco
...
...
@@ -40,6 +43,9 @@ Global
ResourceSource:
GenerateDLL: False
ExportedNames:
StripByteCode: True
KeepByteCodeSymbols: True
PrelinkByteCode: True
Paths
Path: {Project}
Precompile:
...
...
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Core.icl
View file @
357412c1
...
...
@@ -20,19 +20,6 @@ import C2.Apps.ShipAdventure.PathFinding, C2.Apps.ShipAdventure.Util
derive
class
iTask
ChoiceGrid
,
ChoiceRow
derive
JSEncode
Map2D
,
Network
,
Coord2D
,
Cable
,
CableType
,
Section
,
Borders
,
Border
derive
JSEncode
Device
,
SectionStatus
,
DeviceType
,
DeviceKind
,
User
,
Dir
,
Availability
derive
JSEncode
Actor
,
ActorStatus
,
ActorEnergy
,
ActorHealth
,
Object
,
ObjectType
derive
JSEncode
MapAction
derive
JSEncode
Map
,
IntMap
derive
JSDecode
Map2D
,
Network
,
Coord2D
,
Cable
,
CableType
,
Section
,
Borders
,
Border
derive
JSDecode
Device
,
SectionStatus
,
DeviceType
,
DeviceKind
,
User
,
Dir
,
Availability
derive
JSDecode
Actor
,
ActorStatus
,
ActorEnergy
,
ActorHealth
,
Object
,
ObjectType
derive
JSDecode
MapAction
derive
JSDecode
Map
,
IntMap
// the next function should be placed in the library somewhere
mkTable
::
[
String
]
![
a
]
->
(
ChoiceGrid
,[
Int
])
|
gText
{|*|}
a
mkTable
header
a
=
({
ChoiceGrid
|
header
=
header
,
rows
=[{
ChoiceRow
|
id
=
i
,
cells
=
row
r
}
\\
r
<-
a
&
i
<-
[
0
..]]},[])
...
...
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Editor.icl
View file @
357412c1
...
...
@@ -22,11 +22,6 @@ import Graphics.Scalable.Types
//from Graphics.Scalable import normalFontDef, above, class margin(..), instance margin (Span,Span), px
//from Graphics.Scalable import :: ImageOffset, :: Host(..)
derive
JSEncode
Map2D
,
Section
,
Coord2D
,
Borders
,
Border
,
IntMap
,
Device
,
DeviceType
,
DeviceKind
,
CableType
,
Map
derive
JSEncode
Network
,
Cable
,
Object
,
ObjectType
,
MapAction
,
SectionStatus
,
Dir
derive
JSDecode
Map2D
,
Section
,
Coord2D
,
Borders
,
Border
,
IntMap
,
Device
,
DeviceType
,
DeviceKind
,
CableType
,
Map
derive
JSDecode
Network
,
Cable
,
Object
,
ObjectType
,
MapAction
,
SectionStatus
,
Dir
shipEditorTabs
::
Task
()
shipEditorTabs
=
allTasks
[
viewLayout
<<@
Title
"View Ship"
,
editLayout
<<@
Title
"Edit Ship"
...
...
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Types.icl
View file @
357412c1
...
...
@@ -32,14 +32,6 @@ derive gText Set
derive
JSONEncode
Set
derive
JSONDecode
Set
derive
JSEncode
Map2D
,
Coord2D
,
Map
,
IntMap
,
Dir
,
User
,
Section
,
Borders
,
Border
,
MapAction
,
Object
,
Actor
derive
JSEncode
ObjectType
,
ActorStatus
,
Availability
,
ActorHealth
,
ActorEnergy
,
DeviceType
,
SectionStatus
derive
JSEncode
Cable
,
Priority
,
Network
,
Device
,
CableType
,
DeviceKind
,
CommandAim
,
Set
,
Capability
,
CapabilityExpr
derive
JSDecode
Map2D
,
Coord2D
,
Map
,
IntMap
,
Dir
,
User
,
Section
,
Borders
,
Border
,
MapAction
,
Object
,
Actor
derive
JSDecode
ObjectType
,
ActorStatus
,
Availability
,
ActorHealth
,
ActorEnergy
,
DeviceType
,
SectionStatus
derive
JSDecode
Cable
,
Priority
,
Network
,
Device
,
CableType
,
DeviceKind
,
CommandAim
,
Set
,
Capability
,
CapabilityExpr
// std overloading instances
//instance == Object where (==) o1 o2 = o1 === o2
...
...
Examples/Applications/ShipAdventure/main.prj.default
View file @
357412c1
...
...
@@ -3,9 +3,12 @@ Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/main.exe
ByteCode: {Project}/main.bc
CodeGen
CheckStacks: False
CheckIndexes: True
OptimiseABC: True
GenerateByteCode: True
Application
HeapSize: 524288000
StackSize: 10485760
...
...
@@ -25,7 +28,7 @@ Global
Stack: False
Dynamics: True
GenericFusion: False
DescExL:
Fals
e
DescExL:
Tru
e
Output
Output: ShowConstructors
Font: Courier
...
...
@@ -40,6 +43,9 @@ Global
ResourceSource:
GenerateDLL: False
ExportedNames:
StripByteCode: True
KeepByteCodeSymbols: True
PrelinkByteCode: True
Paths
Path: {Project}
Precompile:
...
...
Examples/Games/Ligretto/Ligretto.prj.default
View file @
357412c1
...
...
@@ -3,9 +3,12 @@ Global
ProjectRoot: ...
Target: iTasks
Exec: {Project}/Games/Ligretto/Ligretto.exe
ByteCode: {Project}/Games/Ligretto/Ligretto.bc
CodeGen
CheckStacks: False
CheckIndexes: True
OptimiseABC: True
GenerateByteCode: True
Application
HeapSize: 134217728
StackSize: 512000
...
...
@@ -25,7 +28,7 @@ Global
Stack: False
Dynamics: True
GenericFusion: False
DescExL:
Fals
e
DescExL:
Tru
e
Output
Output: ShowConstructors
Font: Monaco
...
...
@@ -40,6 +43,9 @@ Global
ResourceSource:
GenerateDLL: False
ExportedNames:
StripByteCode: True
KeepByteCodeSymbols: True
PrelinkByteCode: True
Paths
Path: {Project}*Games*Ligretto
Path: {Project}*Games
...
...
Examples/Games/Ligretto/Ligretto/UI.icl
View file @
357412c1
...
...
@@ -3,15 +3,11 @@ implementation module Ligretto.UI
import
StdBool
,
StdEnum
,
StdList
from
StdFunc
import
id
,
const
import
Data
.
GenEq
import
iTasks
.
UI
.
JS
.
Encoding
import
iTasks
.
WF
.
Tasks
.
Interaction
import
Graphics
.
Scalable
.
Extensions
import
iTasks
.
Extensions
.
SVG
.
SVGEditor
import
Ligretto
.
UoD
derive
JSEncode
GameSt
,
Player
,
Color
,
Hand
,
Card
,
SideUp
derive
JSDecode
GameSt
,
Player
,
Color
,
Hand
,
Card
,
SideUp
ligrettoEditor
::
!
Color
->
UpdateOption
GameSt
GameSt
ligrettoEditor
me
=
UpdateUsing
id
(
const
id
)
(
fromSVGEditor
{
initView
=
id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment