Skip to content

Commit

Permalink
Merge branch 'master' into optimalization
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesTKhan authored Nov 22, 2024
2 parents 44585c3 + 3a7f97b commit 50302b8
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ allprojects {

ext {
appName = "Mundus"
gdxVersion = '1.12.0'
gdxVersion = '1.13.0'
visuiVersion = '1.5.2'
kryoVersion = '5.2.0'
junitVersion = '4.13.2'
Expand Down
4 changes: 2 additions & 2 deletions commons/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apply plugin: "maven-publish"
group = 'com.github.jamestkhan.mundus'
version = '0.5.1'

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceSets.main.java.srcDirs = ["src/main"]
Expand Down
4 changes: 2 additions & 2 deletions editor-commons/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apply plugin: "maven-publish"
group = 'com.github.jamestkhan.mundus'
version = '0.5.1'

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceSets.main.java.srcDirs = ["src/"]
Expand Down
3 changes: 2 additions & 1 deletion editor/src/main/com/mbrlabs/mundus/editor/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package com.mbrlabs.mundus.editor

import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration
import com.badlogic.gdx.utils.Os
import com.badlogic.gdx.utils.SharedLibraryLoader
import com.kotcrab.vis.ui.util.OsUtils
import com.mbrlabs.mundus.commons.utils.ShaderPreprocessor
Expand Down Expand Up @@ -92,7 +93,7 @@ private fun launchEditor(options: LaunchOptions) {
config.setForegroundFPS(options.fps)

if (options.useGL30) {
if (SharedLibraryLoader.isMac) {
if (SharedLibraryLoader.os == Os.MacOsX ) {
config.setOpenGLEmulation(Lwjgl3ApplicationConfiguration.GLEmulation.GL30, 3, 2)
} else {
config.setOpenGLEmulation(Lwjgl3ApplicationConfiguration.GLEmulation.GL30, 4, 3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import com.mbrlabs.mundus.commons.scene3d.components.LightComponent
* @version June 01, 2022
*/
class LightGizmo(private var lightComponent: LightComponent) : Gizmo() {
override lateinit var decal: Decal
override var decal: Decal

init {
val region = TextureRegion(Texture(Gdx.files.internal("icon/gizmos/lightbulb-icon.png")))
Expand Down
1 change: 1 addition & 0 deletions gdx-runtime/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fix render water if it is child game object
- Update gdx-gltf version to 2.2.1
- Add findChildrenByComponent(Component.Type, Array<GameObject>) and findChildrenByTag(String, Array<GameObject>) methods into GameObject file
- Set source compatibility to 1.8

[0.5.1] ~ 08/08/2023
- Updated libGDX to 1.12.0
Expand Down
4 changes: 2 additions & 2 deletions gdx-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apply plugin: "maven-publish"
group = 'com.github.jamestkhan.mundus'
version = '0.5.1'

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

sourceSets.main.java.srcDirs = ["src/"]
sourceSets.main.resources.srcDirs = ["src/"]
Expand Down
4 changes: 2 additions & 2 deletions plugin-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apply plugin: "maven-publish"
group = 'com.github.jamestkhan.mundus'
version = '0.5.1'

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceSets.main.java.srcDirs = ["src/"]
Expand Down

0 comments on commit 50302b8

Please sign in to comment.