• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionc9ca226ad938c7823d4a814debe250f7cdffbc52 (tree)
Time2024-01-22 06:38:43
Authorsebastian_bugiu
Commitersebastian_bugiu

Log Message

More replaced for with "modern" for so the kids will like it.

Change Summary

Incremental Difference

diff -r 5f3ff0fa886a -r c9ca226ad938 core/src/headwayent/hotshotengine/renderer/nativeinterface/pipeline/ENG_NativeCalls.java
--- a/core/src/headwayent/hotshotengine/renderer/nativeinterface/pipeline/ENG_NativeCalls.java Sun Jan 21 22:35:43 2024 +0100
+++ b/core/src/headwayent/hotshotengine/renderer/nativeinterface/pipeline/ENG_NativeCalls.java Sun Jan 21 22:38:43 2024 +0100
@@ -811,8 +811,8 @@
811811 }
812812 if (nullFound) {
813813 ENG_RenderingThread.addEndFrameListener(() -> {
814- for (int i = 0; i < ptr.length; ++i) {
815- if (ptr[i] != null && ptr[i][0].getValue() == 0) {
814+ for (ENG_Long[] engLongs : ptr) {
815+ if (engLongs != null && engLongs[0].getValue() == 0) {
816816 return false;
817817 }
818818 }
@@ -831,8 +831,8 @@
831831 }
832832 if (nullFound) {
833833 ENG_RenderingThread.addEndFrameListener(() -> {
834- for (int i = 0; i < ptr.length; ++i) {
835- if (ptr[i] == 0) {
834+ for (long l : ptr) {
835+ if (l == 0) {
836836 return false;
837837 }
838838 }