mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-08-14 11:38:14 +00:00
99 lines
4.1 KiB
C
99 lines
4.1 KiB
C
// Auto-generated by ps1_meta.lua (passes/offsets.lua) — DO NOT EDIT
|
|
// Directory: C:\projects\Pikuma\ps1\code\hello_camera\
|
|
// source: C:\projects\Pikuma\ps1\code\hello_camera\hello_camera.c
|
|
// source: C:\projects\Pikuma\ps1\code\hello_camera\hello_camera.h
|
|
// source: C:\projects\Pikuma\ps1\code\hello_camera\hello_camera.atom.c
|
|
#pragma once
|
|
|
|
#pragma region hello_camera
|
|
|
|
|
|
// --- atom: resolve_look_at__normalize_fwd_to_uz (62 words) ---
|
|
|
|
#define _atom_offset_srav_path_fwd_to_uz_aligned_done_fwd_to_uz 6
|
|
#define _atom_offset_aligned_done_fwd_to_uz_srav_path_fwd_to_uz 1
|
|
|
|
enum {
|
|
atom_offset_srav_path_fwd_to_uz_aligned_done_fwd_to_uz = _atom_offset_srav_path_fwd_to_uz_aligned_done_fwd_to_uz,
|
|
atom_offset_aligned_done_fwd_to_uz_srav_path_fwd_to_uz = _atom_offset_aligned_done_fwd_to_uz_srav_path_fwd_to_uz,
|
|
};
|
|
|
|
// --- atom: resolve_look_at__normalize_right_to_ux (62 words) ---
|
|
|
|
#define _atom_offset_srav_path_right_to_ux_aligned_done_right_to_ux 6
|
|
#define _atom_offset_aligned_done_right_to_ux_srav_path_right_to_ux 1
|
|
|
|
enum {
|
|
atom_offset_srav_path_right_to_ux_aligned_done_right_to_ux = _atom_offset_srav_path_right_to_ux_aligned_done_right_to_ux,
|
|
atom_offset_aligned_done_right_to_ux_srav_path_right_to_ux = _atom_offset_aligned_done_right_to_ux_srav_path_right_to_ux,
|
|
};
|
|
|
|
// --- atom: resolve_look_at__normalize_up_to_uy (62 words) ---
|
|
|
|
#define _atom_offset_srav_path_up_to_uy_aligned_done_up_to_uy 6
|
|
#define _atom_offset_aligned_done_up_to_uy_srav_path_up_to_uy 1
|
|
|
|
enum {
|
|
atom_offset_srav_path_up_to_uy_aligned_done_up_to_uy = _atom_offset_srav_path_up_to_uy_aligned_done_up_to_uy,
|
|
atom_offset_aligned_done_up_to_uy_srav_path_up_to_uy = _atom_offset_aligned_done_up_to_uy_srav_path_up_to_uy,
|
|
};
|
|
|
|
// --- atom: pad_input_cube_rotation (60 words) ---
|
|
|
|
#define _atom_offset_dpad_left_exit_dpad_left 6
|
|
#define _atom_offset_dpad_right_exit_dpad_right 6
|
|
#define _atom_offset_dead_zone_low_check_dead_low_active 8
|
|
#define _atom_offset_dead_zone_high_check_dead_high_active 15
|
|
#define _atom_offset_dead_zone_skip_exit_stick 24
|
|
#define _atom_offset_end_low_exit_stick 12
|
|
|
|
enum {
|
|
atom_offset_dpad_left_exit_dpad_left = _atom_offset_dpad_left_exit_dpad_left,
|
|
atom_offset_dpad_right_exit_dpad_right = _atom_offset_dpad_right_exit_dpad_right,
|
|
atom_offset_dead_zone_low_check_dead_low_active = _atom_offset_dead_zone_low_check_dead_low_active,
|
|
atom_offset_dead_zone_high_check_dead_high_active = _atom_offset_dead_zone_high_check_dead_high_active,
|
|
atom_offset_dead_zone_skip_exit_stick = _atom_offset_dead_zone_skip_exit_stick,
|
|
atom_offset_end_low_exit_stick = _atom_offset_end_low_exit_stick,
|
|
};
|
|
|
|
// --- atom: pad_input_cam (40 words) ---
|
|
|
|
#define _atom_offset_left_x_exit_left_x 3
|
|
#define _atom_offset_right_x_exit_right_x 3
|
|
#define _atom_offset_up_y_exit_up_y 3
|
|
#define _atom_offset_down_y_exit_down_y 3
|
|
#define _atom_offset_cross_z_exit_cross_z 3
|
|
#define _atom_offset_circle_z_exit_circle_z 3
|
|
|
|
enum {
|
|
atom_offset_left_x_exit_left_x = _atom_offset_left_x_exit_left_x,
|
|
atom_offset_right_x_exit_right_x = _atom_offset_right_x_exit_right_x,
|
|
atom_offset_up_y_exit_up_y = _atom_offset_up_y_exit_up_y,
|
|
atom_offset_down_y_exit_down_y = _atom_offset_down_y_exit_down_y,
|
|
atom_offset_cross_z_exit_cross_z = _atom_offset_cross_z_exit_cross_z,
|
|
atom_offset_circle_z_exit_circle_z = _atom_offset_circle_z_exit_circle_z,
|
|
};
|
|
|
|
// --- atom: cube_g4_face (76 words) ---
|
|
|
|
#define _atom_offset_cull_cube_g4_face_exit 41
|
|
#define _atom_offset_bounds_chk_cube_g4_face_exit 24
|
|
|
|
enum {
|
|
atom_offset_cull_cube_g4_face_exit = _atom_offset_cull_cube_g4_face_exit,
|
|
atom_offset_bounds_chk_cube_g4_face_exit = _atom_offset_bounds_chk_cube_g4_face_exit,
|
|
};
|
|
|
|
// --- atom: floor_f3_face (58 words) ---
|
|
|
|
#define _atom_offset_culling_floor_f3_face_exit 25
|
|
#define _atom_offset_bounds_chk_floor_f3_face_exit 16
|
|
|
|
enum {
|
|
atom_offset_culling_floor_f3_face_exit = _atom_offset_culling_floor_f3_face_exit,
|
|
atom_offset_bounds_chk_floor_f3_face_exit = _atom_offset_bounds_chk_floor_f3_face_exit,
|
|
};
|
|
|
|
#pragma endregion hello_camera
|
|
|