This commit is contained in:
KP 2024-07-30 23:40:01 -05:00
parent 491d7d3094
commit e051973022
2 changed files with 334 additions and 219 deletions

View file

@ -1,180 +1,293 @@
[11:09:01 PM] Info: Starting... [11:38:30 PM] Info: Starting...
KP3D version 2 KP3D version 2
=============================== ===============================
Copyright (C) kpworld.xyz 2018-2024 Copyright (C) kpworld.xyz 2018-2024
Contact me! @kp_cftsz Contact me! @kp_cftsz
[11:09:01 PM] Info: Initializing SDL [11:38:30 PM] Info: Initializing SDL
[11:09:01 PM] Info: Initializing OpenGL [11:38:31 PM] Info: Initializing OpenGL
[11:09:01 PM] Info: OpenGL version: 4.6.0 NVIDIA 536.23 [11:38:31 PM] Info: OpenGL version: 4.6.0 NVIDIA 536.23
[11:09:01 PM] Info: Initializing GLEW [11:38:31 PM] Info: Initializing GLEW
[11:09:01 PM] Info: Initializing SDL_mixer [11:38:31 PM] Info: Initializing SDL_mixer
[11:09:01 PM] Info: Reticulating splines... [11:38:31 PM] Info: Reticulating splines...
[11:09:01 PM] Info: Ready! [11:38:31 PM] Info: Ready!
[11:09:01 PM] Info: Loading material resource: block.png [11:38:31 PM] Info: Loading material resource: block.png
[11:09:01 PM] Info: Found normal map texture: materials/block_n.png [11:38:31 PM] Info: Found normal map texture: materials/block_n.png
[11:09:01 PM] Info: Loading material resource: FLAT5_7.png [11:38:31 PM] Info: Loading material resource: FLAT5_7.png
[11:09:01 PM] Info: Found normal map texture: materials/FLAT5_7_n.png [11:38:31 PM] Info: Found normal map texture: materials/FLAT5_7_n.png
[11:09:01 PM] Info: Loading material resource: floor0.png [11:38:31 PM] Info: Loading material resource: floor0.png
[11:09:01 PM] Info: Found normal map texture: materials/floor0_n.png [11:38:31 PM] Info: Found normal map texture: materials/floor0_n.png
[11:09:01 PM] Info: Loading material resource: floor1.png [11:38:31 PM] Info: Loading material resource: floor1.png
[11:09:01 PM] Info: Found normal map texture: materials/floor1_n.png [11:38:31 PM] Info: Found normal map texture: materials/floor1_n.png
[11:09:01 PM] Info: Loading material resource: GRASS2.png [11:38:31 PM] Info: Loading material resource: GRASS2.png
[11:09:01 PM] Info: Found normal map texture: materials/GRASS2_n.png [11:38:31 PM] Info: Found normal map texture: materials/GRASS2_n.png
[11:09:01 PM] Info: Map init [11:38:31 PM] Info: Map init
[11:09:01 PM] Info: Finalized mesh with 45 batches [11:38:31 PM] Info: Finalized mesh with 45 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:35 PM] Info: Finalized mesh with 50 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:38 PM] Info: Finalized mesh with 56 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:41 PM] Info: Finalized mesh with 59 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:44 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 61 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:16 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:45 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:47 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:48 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:49 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:50 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:50 PM] Info: Finalized mesh with 62 batches
[11:09:17 PM] Info: Finalized mesh with 44 batches [11:38:50 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:38:50 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:38:50 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:38:50 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:38:50 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:24 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:01 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:25 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:26 PM] Info: Finalized mesh with 44 batches [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:33 PM] Info: $ set-mode game [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:09:33 PM] Info: $ [11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:02 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:03 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:10 PM] Info: Finalized mesh with 62 batches
[11:39:14 PM] Info: Finalized mesh with 62 batches
[11:39:14 PM] Info: Finalized mesh with 62 batches
[11:39:14 PM] Info: Finalized mesh with 62 batches
[11:39:14 PM] Info: Finalized mesh with 62 batches
[11:39:14 PM] Info: Finalized mesh with 62 batches
[11:39:14 PM] Info: Finalized mesh with 62 batches
[11:39:14 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches
[11:39:15 PM] Info: Finalized mesh with 62 batches

View file

@ -233,6 +233,11 @@ void Editor::UpdateModeNormal()
// Raycast through everything on the map // Raycast through everything on the map
if (sandbox->IsMouseButtonDown(kp3d::MOUSE_BUTTON_LEFT) && !editing_gizmo) if (sandbox->IsMouseButtonDown(kp3d::MOUSE_BUTTON_LEFT) && !editing_gizmo)
{ {
// editor_hovered_batch = nullptr;
if (!sandbox->IsKeyDown(kp3d::KEY_LSHIFT))
{
editor_hovered_batch.clear();
}
struct Target struct Target
{ {
Vec3 position; Vec3 position;
@ -258,6 +263,7 @@ void Editor::UpdateModeNormal()
targets.push_back({ pos, dist, &b }); targets.push_back({ pos, dist, &b });
} }
} }
}
if (!targets.empty()) if (!targets.empty())
{ {
std::sort(targets.begin(), targets.end(), [&](const Target& a, const Target& b) { return a.distance > b.distance; }); std::sort(targets.begin(), targets.end(), [&](const Target& a, const Target& b) { return a.distance > b.distance; });
@ -292,23 +298,25 @@ void Editor::UpdateModeNormal()
} }
else else
{ {
// editor_hovered_batch = nullptr;
if (!sandbox->IsKeyDown(kp3d::KEY_LSHIFT))
{
editor_hovered_batch.clear();
}
}
} }
sandbox->MouseButtonReset(kp3d::MOUSE_BUTTON_LEFT); sandbox->MouseButtonReset(kp3d::MOUSE_BUTTON_LEFT);
} }
if (!editor_hovered_batch.empty()) if (editing_gizmo)
kp3d::editor_hovered_batch.clear();
if (!editor_hovered_batch.empty() && !editing_gizmo)
{ {
try try
{ {
const auto& info = std::any_cast<kp3d::BatchSectorInfo>(kp3d::editor_hovered_batch[0]->userdata); const auto& info = std::any_cast<kp3d::BatchSectorInfo>(kp3d::editor_hovered_batch[0]->userdata);
if (info.wall) if (info.wall)// && !(info.wall->portal && (info.wall->flags & Wall::FLAG_OPENING) && !(info.wall->flags & Wall::FLAG_SUBSECTOR_OPENING)))
{ {
float y_val = (info.sector->floor.base_height + info.sector->ceiling.base_height) * 0.5f;
if (info.wall->flags & Wall::FLAG_OPENING)
{
y_val = info.sector->floor.base_height;
}
// KP3D_LOG_INFO("poop j"); // KP3D_LOG_INFO("poop j");
can_wall_update = true; can_wall_update = true;
wall_update.walls_to_update.clear(); wall_update.walls_to_update.clear();
@ -321,22 +329,19 @@ void Editor::UpdateModeNormal()
for (int i = 0; i < sp->walls.size(); i++) for (int i = 0; i < sp->walls.size(); i++)
{ {
Wall& wall = sp->walls[i]; Wall& wall = sp->walls[i];
Wall& neighbor = sp->walls[(i - 1) % sp->walls.size()];
if (&wall == info.wall) if (&wall == info.wall)
{ {
wall_update.gizmo_pos = { wall_update.gizmo_pos = {
info.wall->start.x, info.wall->start.x,
(info.sector->floor.base_height + info.sector->ceiling.base_height) * 0.5f, y_val,
-info.wall->start.y}; -info.wall->start.y};
wall_update.main_wall = info.wall; wall_update.main_wall = info.wall;
//wall_update.walls_to_update.emplace(&neighbor, WP_END);
} }
} }
} }
// Find any other points we need to update
for (const auto& sp: sandbox->map.sectors) for (const auto& sp: sandbox->map.sectors)
{ {
//if (sp.get() == info.sector)
// continue;
for (int i = 0; i < sp->walls.size(); i++) for (int i = 0; i < sp->walls.size(); i++)
{ {
const float E = 4.0f / 128.0f; const float E = 4.0f / 128.0f;
@ -347,13 +352,11 @@ void Editor::UpdateModeNormal()
FloatCmp(wall.start.y, wall_update.main_wall->start.y, E)) FloatCmp(wall.start.y, wall_update.main_wall->start.y, E))
{ {
wall_update.walls_to_update.emplace(&wall, WP_START); wall_update.walls_to_update.emplace(&wall, WP_START);
// wall_update.walls_to_update.emplace(&neighbor_l, WP_END);
} }
else if (FloatCmp(wall.end.x, wall_update.main_wall->start.x, E) && else if (FloatCmp(wall.end.x, wall_update.main_wall->start.x, E) &&
FloatCmp(wall.end.y, wall_update.main_wall->start.y, E)) FloatCmp(wall.end.y, wall_update.main_wall->start.y, E))
{ {
wall_update.walls_to_update.emplace(&wall, WP_END); wall_update.walls_to_update.emplace(&wall, WP_END);
// wall_update.walls_to_update.emplace(&neighbor_r, WP_START);
} }
} }
@ -403,9 +406,7 @@ void Editor::RenderModeNormal()
nullptr, nullptr,
nullptr nullptr
); );
editing_gizmo = v; editing_gizmo = ImGuizmo::IsOver();
if (v)
kp3d::editor_hovered_batch.clear();
float translation[3]; float translation[3];
float rotation[3]; float rotation[3];
@ -436,6 +437,7 @@ void Editor::RenderModeNormal()
if (v) if (v)
{ {
kp3d::editor_hovered_batch.clear();
RebuildMap(); RebuildMap();
} }
} }