Fix implicit conversions to int fuckin up the initializer lists used with KSI

This commit is contained in:
kp 2025-04-01 17:48:41 -05:00
parent dac2d35f0f
commit 9ad9b56cc6
4 changed files with 226 additions and 228 deletions

View file

@ -1,228 +1,226 @@
[12:42:25 PM] Info: Starting...
[05:47:13 PM] Info: Starting...
KP3D version 2
===============================
Copyright (C) kpworld.xyz 2018-2024
Contact me! @kp_cftsz
[12:42:25 PM] Info: Initializing SDL
[12:42:25 PM] Info: Initializing OpenGL
[12:42:25 PM] Info: OpenGL version: 4.6.0 NVIDIA 536.23
[12:42:25 PM] Info: Initializing GLEW
[12:42:25 PM] Info: Initializing SDL_mixer
[12:42:25 PM] Info: Reticulating splines...
[12:42:25 PM] Info: Ready!
[12:42:25 PM] Info: Loading script: build-cylinder.scm
[12:42:25 PM] Info: Loading script: build-stairs.scm
[12:42:25 PM] Info: Loading material resource: block.png
[12:42:25 PM] Info: Found normal map texture: materials/block_n.png
[12:42:25 PM] Info: Loading material resource: brick2.jpg
[12:42:25 PM] Info: Found normal map texture: materials/brick2_n.jpg
[12:42:25 PM] Info: Loading material resource: bricks.jpg
[12:42:25 PM] Info: Found normal map texture: materials/bricks_n.jpg
[12:42:25 PM] Info: Loading material resource: FLAT5_7.png
[12:42:25 PM] Info: Found normal map texture: materials/FLAT5_7_n.png
[12:42:25 PM] Info: Loading material resource: floor0.png
[12:42:25 PM] Info: Found normal map texture: materials/floor0_n.png
[12:42:25 PM] Info: Loading material resource: floor1.png
[12:42:25 PM] Info: Found normal map texture: materials/floor1_n.png
[12:42:25 PM] Info: Loading material resource: GRASS2.png
[12:42:25 PM] Info: Found normal map texture: materials/GRASS2_n.png
[12:42:25 PM] Info: Loading material resource: hardwood.jpg
[12:42:25 PM] Info: Found normal map texture: materials/hardwood_n.jpg
[12:42:25 PM] Info: Loading texture resource: .kp3d/banner.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/crosshair.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/empty.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/logo.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/map_grid.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/not_found.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/skybox.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/uv_test.png
[12:42:25 PM] Info: Loading texture resource: .kp3d/water.png
[12:42:25 PM] Info: Loading texture resource: dot.png
[12:42:25 PM] Info: Loading texture resource: editor/stem.png
[12:42:25 PM] Info: Loading texture resource: logo.png
[12:42:25 PM] Info: Loading texture resource: skyboxes/sky50e2dd1d496fc.jpg
[12:42:25 PM] Info: Loading texture resource: skyboxes/sky8.jpg
[12:42:25 PM] Info: Loading texture resource: skyboxes/sky9.jpg
[12:42:25 PM] Info: Loading texture resource: skyboxes/skybox.jpg
[12:42:25 PM] Info: Loading texture resource: skyboxes/skybox_11.jpg
[12:42:25 PM] Info: Loading texture resource: skyboxes/skybox_14.jpg
[12:42:26 PM] Info: Loading texture resource: skyboxes/skybox_15.jpg
[12:42:26 PM] Info: Loading texture resource: skyboxes/skybox_3.jpg
[12:42:26 PM] Info: Loading texture resource: skybox_16.jpg
[12:42:26 PM] Info: Loading model resource: fumo.txt
[12:42:26 PM] Warning: Model missing texture: fumo/reimu_fumo.obj. Loading next available PNG as fallback.
[12:42:26 PM] Info: Loading model resource: pistol.txt
[12:42:26 PM] Info: Map init
[12:42:26 PM] Info: Finalized mesh with 49 batches
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[12:42:26 PM] Info: Starting animation
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[12:42:26 PM] Info: Starting animation
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[12:42:26 PM] Info: Starting animation
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[12:42:26 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[12:42:26 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[12:42:26 PM] Info: Starting animation
[12:42:28 PM] Info: Placed thing at {5.98608, -1.5, -7.07184}
[12:42:32 PM] Info: Finalized mesh with 48 batches
[05:47:13 PM] Info: Initializing SDL
[05:47:13 PM] Info: Initializing OpenGL
[05:47:13 PM] Info: OpenGL version: 4.6.0 NVIDIA 517.70
[05:47:13 PM] Info: Initializing GLEW
[05:47:13 PM] Info: Initializing SDL_mixer
[05:47:14 PM] Info: Reticulating splines...
[05:47:14 PM] Info: Ready!
[05:47:14 PM] Info: Loading script: build-cylinder.scm
[05:47:14 PM] Info: Loading script: build-stairs.scm
[05:47:14 PM] Info: Loading material resource: block.png
[05:47:14 PM] Info: Found normal map texture: materials/block_n.png
[05:47:14 PM] Info: Loading material resource: brick2.jpg
[05:47:14 PM] Info: Found normal map texture: materials/brick2_n.jpg
[05:47:14 PM] Info: Loading material resource: bricks.jpg
[05:47:14 PM] Info: Found normal map texture: materials/bricks_n.jpg
[05:47:14 PM] Info: Loading material resource: FLAT5_7.png
[05:47:14 PM] Info: Found normal map texture: materials/FLAT5_7_n.png
[05:47:14 PM] Info: Loading material resource: floor0.png
[05:47:14 PM] Info: Found normal map texture: materials/floor0_n.png
[05:47:14 PM] Info: Loading material resource: floor1.png
[05:47:14 PM] Info: Found normal map texture: materials/floor1_n.png
[05:47:14 PM] Info: Loading material resource: GRASS2.png
[05:47:14 PM] Info: Found normal map texture: materials/GRASS2_n.png
[05:47:14 PM] Info: Loading material resource: hardwood.jpg
[05:47:14 PM] Info: Found normal map texture: materials/hardwood_n.jpg
[05:47:14 PM] Info: Loading texture resource: .kp3d/banner.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/crosshair.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/empty.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/logo.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/map_grid.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/not_found.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/skybox.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/uv_test.png
[05:47:14 PM] Info: Loading texture resource: .kp3d/water.png
[05:47:14 PM] Info: Loading texture resource: dot.png
[05:47:14 PM] Info: Loading texture resource: editor/stem.png
[05:47:14 PM] Info: Loading texture resource: logo.png
[05:47:14 PM] Info: Loading texture resource: skyboxes/sky50e2dd1d496fc.jpg
[05:47:14 PM] Info: Loading texture resource: skyboxes/sky8.jpg
[05:47:14 PM] Info: Loading texture resource: skyboxes/sky9.jpg
[05:47:14 PM] Info: Loading texture resource: skyboxes/skybox.jpg
[05:47:14 PM] Info: Loading texture resource: skyboxes/skybox_11.jpg
[05:47:14 PM] Info: Loading texture resource: skyboxes/skybox_14.jpg
[05:47:14 PM] Info: Loading texture resource: skyboxes/skybox_15.jpg
[05:47:14 PM] Info: Loading texture resource: skyboxes/skybox_3.jpg
[05:47:14 PM] Info: Loading texture resource: skybox_16.jpg
[05:47:14 PM] Info: Loading model resource: fumo.txt
[05:47:14 PM] Warning: Model missing texture: fumo/reimu_fumo.obj. Loading next available PNG as fallback.
[05:47:15 PM] Info: Loading model resource: pistol.txt
[05:47:15 PM] Info: Map init
[05:47:15 PM] Info: Finalized mesh with 49 batches
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[05:47:15 PM] Info: Starting animation
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[05:47:15 PM] Info: Starting animation
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[05:47:15 PM] Info: Starting animation
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 23
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Pelvis: 432
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 279
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 350
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 515
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 132
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 25
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 6
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 219
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 226
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Forearm: 342
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Hand: 254
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 172
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 208
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Forearm: 333
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Hand: 248
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Thigh: 475
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Calf: 382
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Foot: 319
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Toe0: 159
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Thigh: 490
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Calf: 359
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Foot: 304
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Toe0: 154
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 7
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine: 312
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine1: 168
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 164
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 154
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 408
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 3912
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 14
[05:47:15 PM] Info: # of bones for model konata/Konata_Anim_2.dae: 8
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine2: 30
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Spine4: 26
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Neck1: 123
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_Head1: 1027
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_Clavicle: 87
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_R_UpperArm: 5
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_Clavicle: 64
[05:47:15 PM] Info: Num weights for Konatap_ARM_ValveBiped_Bip01_L_UpperArm: 3
[05:47:15 PM] Info: Starting animation

View file

@ -605,8 +605,8 @@ void Environment::Init()
Set("atan2", FAtan2());
Set("PI", {CELL_NUMBER, 3.14159265358979f});
Set("E", {CELL_NUMBER, 2.71828f});
Set("X", {CELL_NUMBER, 0});
Set("Y", {CELL_NUMBER, 1});
Set("X", {CELL_NUMBER, 0.0f});
Set("Y", {CELL_NUMBER, 1.0f});
// Cons/CAR/CDR
Set("car", FCar());

View file

@ -94,7 +94,7 @@ ksi::Cell FMakeSectorFromPoints()
sandbox->map.sectors.push_back(s);
sandbox->editor.RebuildMap();
return {CELL_NUMBER, s->id};
return {CELL_NUMBER, (float) s->id};
};
return cell;

View file

@ -36,9 +36,9 @@ Sandbox::Sandbox(const std::string& path):
points.push_back({x, y});
return {CELL_VOID};
}});
kp3d::console::environment.Set("edit", {CELL_NUMBER, MODE_EDIT});
kp3d::console::environment.Set("game", {CELL_NUMBER, MODE_GAME});
kp3d::console::environment.Set("edit", {CELL_NUMBER, MODE_MENU});
kp3d::console::environment.Set("edit", {CELL_NUMBER, (float) MODE_EDIT});
kp3d::console::environment.Set("game", {CELL_NUMBER, (float) MODE_GAME});
kp3d::console::environment.Set("edit", {CELL_NUMBER, (float) MODE_MENU});
kp3d::console::environment.Set("set-mode", {CELL_FUNCTION_CPP, [&](std::list<Cell> args) -> Cell {
if (args.empty()) return {CELL_VOID};
int mode = (int) FromCell<float>(args.back());