diff options
| author | Mattias Blum <142374929+mattias-blum@users.noreply.github.com> | 2025-04-11 16:37:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-11 16:37:42 -0400 |
| commit | 5f287fcaeebc6b728e5a94f7039b2d03ffc88c99 (patch) | |
| tree | 2febd80425758cdb261ce2ae2fdf0a740e6c7a93 /src/d/d_stage.cpp | |
| parent | 6aeaaef643db58fd2ed26d78eada3a33666f6a3b (diff) | |
d_camera 28% (#732)
* initial progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* fix outdated member names
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* fixed deprecated member references
* more progress
* more progress
* more progress
* fix deprecated member references
* more progress
* more progress
* more progress
* more progress
* more progress
* check in for review
* remove comment
* initial PR changes
* more PR changes
* more PR changes
* added anonymous struct as class member
* reverted changes to `stage_camera2_data_class`
* added `dCamera_event_data`, `dCamera_monitoring_things` and `dCamera_DMC_system` from debug maps
* more progress
* more progress
* realmatch for `camera_draw`
* PR changes
* fix broken merge
* formatting
* Reverted change to `camSphChkdata` that caused `sph_chk_callback` match to regress
* Reverted change to `BG` struct that caused ctor and dtor match to regress
Diffstat (limited to 'src/d/d_stage.cpp')
| -rw-r--r-- | src/d/d_stage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/d_stage.cpp b/src/d/d_stage.cpp index 9b09ef30..eb30261e 100644 --- a/src/d/d_stage.cpp +++ b/src/d/d_stage.cpp @@ -1315,10 +1315,10 @@ int dStage_cameraCreate(stage_camera2_data_class* i_cameraData, int i_cameraIdx, i_cameraData = static_cast<stage_camera2_data_class*>(cMl::memalignB(-4, 0x18)); if (i_cameraData != NULL) { - i_cameraData->field_0x4 = 0.0f; - i_cameraData->field_0x8 = 0.0f; - i_cameraData->field_0x4 = 0.0f; - i_cameraData->field_0x0 = param_2; + i_cameraData->m04 = 0.0f; + i_cameraData->m08 = 0.0f; + i_cameraData->m04 = 0.0f; + i_cameraData->m00 = param_2; fopCamM_Create(i_cameraIdx, PROC_CAMERA, i_cameraData); } @@ -1499,7 +1499,7 @@ int dStage_playerInit(dStage_dt_c* i_stage, void* i_data, int num, void* i_file) int dStage_cameraInit(dStage_dt_c* i_stage, void* i_data, int i_num, void*) { stage_camera_class* camera = (stage_camera_class*)((char*)i_data + 4); i_stage->setCamera(camera); - dStage_cameraCreate(camera->m_entries, 0, 0); + dStage_cameraCreate(camera->mEntries, 0, 0); return 1; } |
