Some refactoring in multithreading.

This commit is contained in:
2021-07-08 17:42:26 +02:00
parent 979ae4686f
commit be4e63046a
42 changed files with 598 additions and 285 deletions

View File

@@ -2,32 +2,56 @@
"loadingScreen": [
{
"unique_name": "background",
"position": [0.0, 0.0],
"dimensions": [1.0, 1.0],
"position": [
0.0,
0.0
],
"dimensions": [
1.0,
1.0
],
"texture": "data/res/textures/loading.png"
}
],
"mainMenuScreen": [
{
"unique_name": "play",
"position": [0.4, 0.5],
"dimensions": [0.25, 0.1],
"position": [
0.4,
0.5
],
"dimensions": [
0.25,
0.1
],
"texture": "data/res/textures/play.png",
"callbackId": 1
},
{
"unique_name": "exit",
"position": [0.4, 0.2],
"dimensions": [0.25, 0.10],
"position": [
0.4,
0.2
],
"dimensions": [
0.25,
0.10
],
"texture": "data/res/textures/exit.png",
"callbackId": 2
},
{
"unique_name": "background",
"position": [0.0, 0.0],
"dimensions": [1.0, 1.0],
"position": [
0.0,
0.0
],
"dimensions": [
1.0,
1.0
],
"texture": "data/res/textures/mainMenu.png",
"callbackId": 0
}
]
}
}