Commit Graph

404 Commits

Author SHA1 Message Date
Henrique Gemignani Passos Lima 4ac2f273b4 Add CMemoryCardDriver
Former-commit-id: e7e54730a3
2022-10-10 22:44:11 +03:00
Henrique Gemignani Passos Lima ac0ac6abb4 Almost match CPlayerGun::TakeDamage
Former-commit-id: fbfdc6cd09
2022-10-10 22:15:26 +03:00
Henrique Gemignani Passos Lima f3ef565768 Fix building `ninja all_source`
Former-commit-id: f14ca94607
2022-10-10 12:46:51 +03:00
Phillip Stephens 9e9b501f6b Match and link TGameTypes
Former-commit-id: 8787239165
2022-10-09 19:27:35 -07:00
Luke Street f64e9c953a Match & link CIntElement
Former-commit-id: a110979970
2022-10-09 12:35:06 -04:00
Henrique Gemignani Passos Lima ac84b38d5d Add CPlayerGun::CMotionState::Update
Former-commit-id: ac068fd97d
2022-10-09 17:41:13 +03:00
Phillip Stephens ac0e3ef534 Match CConsoleOutputWindow, regswaps in constructor
Former-commit-id: 27bd20ff1d
2022-10-08 23:55:36 -07:00
Luke Street 7ca3a1c0bb Replace int types in Retro code
Retro seemingly avoided using the Dolphin
typedefs in most places, opting to use int/uint
instead. This likely means they didn't use
u8/s8/u16/s16/etc either.


Former-commit-id: 133326ae40
2022-10-09 01:37:23 -04:00
Luke Street f0ea5144ea clang-format source files
Former-commit-id: 39700ad779
2022-10-09 01:16:21 -04:00
Luke Street 7f83e1fa03 Standardize include guards, clang-format headers
Former-commit-id: 261ee48bba
2022-10-09 01:13:17 -04:00
Henrique Gemignani Passos Lima edd4b5d0f7 Match CGSFreeLook::Update
Former-commit-id: caef0a6d66
2022-10-09 01:20:30 +03:00
Henrique Gemignani Passos Lima 98e4732d20 Almost match CGSFreeLook::SetAnim
Former-commit-id: a1ee7b17e8
2022-10-09 01:20:30 +03:00
Phillip Stephens b486f6a890 Match and link all CArchMsgParm*
Former-commit-id: 954e820f65
2022-10-08 12:38:29 -07:00
Phillip Stephens 7ccf78c0a2 Match and link CAxisAngle
Former-commit-id: e6969f0236
2022-10-08 10:39:03 -07:00
Phillip Stephens 3aefff6950 Match and link CIOWin
Former-commit-id: 1029d92fd4
2022-10-08 02:21:38 -07:00
Phillip Stephens 28bfac18ed Start matching CFire, weird regswaps in constructor, rmemory_allocator constructors
Former-commit-id: 9ae9e52ed7
2022-10-08 01:44:58 -07:00
Phillip Stephens 187bc0b98c Formatting fix
Former-commit-id: a4a1d189da
2022-10-07 23:56:56 -07:00
Phillip Stephens 50453f5b7c Match and link CScriptSwitch
Former-commit-id: 9cfd7f1776
2022-10-07 23:55:54 -07:00
Luke Street dbd1477d01 Match & link CScriptPickup
Former-commit-id: a7cefd7c4b
2022-10-08 01:12:48 -04:00
Luke Street 3cbf350f85 CScriptPickup progress
Former-commit-id: 27fedfee46
2022-10-08 00:53:34 -04:00
Henrique Gemignani Passos Lima 2bd75275fe Match CGunMotion::LoadAnimations
Former-commit-id: 8f1d21ac83
2022-10-07 02:44:37 +03:00
Henrique Gemignani Passos Lima f4b3f5b872 Match CGunMotion::Draw/GetFreeLookSetId
Former-commit-id: 77ad228fdb
2022-10-07 02:28:42 +03:00
Henrique Gemignani Passos Lima 02fc116666 Match CGunMotion::Update
Former-commit-id: d54cc35e8d
2022-10-07 02:12:59 +03:00
Henrique Gemignani Passos Lima e75876c5ea Move CPASDatabase to Kyoto/Animation
Former-commit-id: 38e19caf18
2022-10-07 02:10:07 +03:00
Henrique Gemignani Passos Lima 01c1b77b2e Things for CGunMotion
Former-commit-id: b4e3361020
2022-10-07 01:53:47 +03:00
Henrique Gemignani Passos Lima 6bfb08fd07 Add CGunController
Former-commit-id: c68d72a84c
2022-10-07 01:53:47 +03:00
Henrique Gemignani Passos Lima 698badd39d Fix compilation
Former-commit-id: a6a103de01
2022-10-06 23:40:41 +03:00
Henrique Gemignani Passos Lima 72ba8f32df Add CPlayerGun::UpdateGunIdle
Former-commit-id: a9f4b00047
2022-10-06 23:40:41 +03:00
Henrique Gemignani Passos Lima 75400ad0cf Add SFX indices from metaforce
Former-commit-id: b7c1e4145e
2022-10-06 23:15:46 +03:00
Henrique Gemignani Passos Lima dc7903e2c7 Add CPlayerGun::UpdateWeaponFire
Former-commit-id: 3b152e5efa
2022-10-06 22:45:21 +03:00
Henrique Gemignani Passos Lima 291515c5ee Almost match CPlayerGun::GetTargetId
Former-commit-id: c059b527ec
2022-10-06 19:57:29 +03:00
Henrique Gemignani Passos Lima f3656746b6 Add CPlayerGun::GetBeamVelocity
Former-commit-id: e804eb8373
2022-10-06 19:45:09 +03:00
Phillip Stephens f507623c40 More CPlayerGun matches
Former-commit-id: ec34055dbb
2022-10-06 07:24:38 -07:00
Phillip Stephens 9b1b52d774 Initial CRumbleVoice, various fixes
Former-commit-id: ed90d87a4b
2022-10-06 05:51:36 -07:00
Henrique Gemignani Passos Lima 29b79186db Add all methods declarations to CPlayerGun
Former-commit-id: fa1c86c129
2022-10-06 15:34:36 +03:00
Henrique Gemignani Passos Lima 758feb2c59 Add CPlayerGun::PreRender/CPlayerGun::AddToRenderer
Former-commit-id: 6d2ab5775d
2022-10-06 14:37:57 +03:00
Henrique Gemignani Passos Lima 4295307cbb More destructor declarations
Former-commit-id: 2ea891339a
2022-10-06 14:06:55 +03:00
Henrique Gemignani Passos Lima f9c75b90ee Almost match ~CPlayerGun
Former-commit-id: c332d1ef47
2022-10-06 14:04:05 +03:00
Henrique Gemignani Passos Lima ba9faeb44c Reasonably match CPlayerGun constructor
Former-commit-id: 72d07311fd
2022-10-06 13:38:28 +03:00
Henrique Gemignani Passos Lima 3caccf5974 Progress in CPlayerGun constructor
Former-commit-id: a40d835759
2022-10-06 13:38:28 +03:00
Henrique Gemignani Passos Lima b85a66c2ee Add CPlayerGun::CPlayerGun
Former-commit-id: 835ea5361f
2022-10-06 13:38:28 +03:00
Henrique Gemignani Passos Lima 4f798b9cc4 Add CTweakGunRes and CTweakPlayerGun
Former-commit-id: 074cb7ff98
2022-10-06 13:38:27 +03:00
Phillip Stephens ec9e639009 Match CLight, has issues with constants
Former-commit-id: b039acfac8
2022-10-06 01:40:00 -07:00
Henrique Gemignani Passos Lima 94eb8324a8 Compilation fix for many files
Former-commit-id: 44e4110ffb
2022-10-06 02:34:48 +03:00
Luke Street a578b055a2 Header merge & CScriptPickup progress
Former-commit-id: 45c5450376
2022-10-05 19:06:15 -04:00
Henrique Gemignani Passos Lima b95f4a88b2 Add CPlayerGun, CGidget, CPlayerCameraBob
Former-commit-id: 24acd9863f
2022-10-06 01:56:52 +03:00
Phillip Stephens a3aa74f563 More CPhysicsActor
Former-commit-id: bc81e35c6b
2022-10-05 15:50:12 -07:00
Henrique Gemignani Passos Lima e2e4fe7f6c Add CScriptPickup and all dependencies
Former-commit-id: 78aebc8960
2022-10-05 21:06:23 +03:00
Phillip Stephens c6383170f6 Don't link snd_math
Former-commit-id: 7c14c56219
2022-10-05 10:59:51 -07:00
Phillip Stephens aa1df3e7d7 Get/SetPhysicsState fixes
Former-commit-id: 75909783bc
2022-10-05 10:53:15 -07:00
Phillip Stephens 2d128edc26 More CPhysicsActor
Former-commit-id: 248a703cb4
2022-10-05 10:24:06 -07:00
Phillip Stephens 69dbad8bce Start work on CPhysicsActor
Former-commit-id: dc8e4b8106
2022-10-05 09:28:48 -07:00
Phillip Stephens 2638a5a81a CPlayerState fixes
Former-commit-id: 8dd881eab1
2022-10-04 23:46:30 -07:00
Luke Street e7ecda7a36 CScriptSpecialFunction progress & symbol updates
Former-commit-id: 84d590be2f
2022-10-04 20:16:35 -04:00
Henrique Gemignani Passos Lima cc5b5a3cd9 Almost match CPlayerState::CalculateItemCollectionRate
Former-commit-id: 4d53116169
2022-10-04 21:15:07 +03:00
Henrique Gemignani Passos Lima 05c93724a3 Fix CCameraManager::GetCurrentCamera symbols
Former-commit-id: c10ddd017e
2022-10-04 17:08:26 +03:00
Henrique Gemignani Passos Lima 3a953cf075 Add CPlayerState::CPlayerState(CInputStream& stream)
Former-commit-id: 65e7aeddab
2022-10-04 16:29:05 +03:00
Luke Street bc202ba493 Lots of stuff
Former-commit-id: 39b5f3c01e
2022-10-03 20:00:46 -04:00
Henrique Gemignani Passos Lima 8cac11d25d Match CScriptSpecialFunction::DeleteEmitter
Former-commit-id: e48f6478f9
2022-10-03 18:59:07 +03:00
Henrique Gemignani Passos Lima e798ecd5f3 CAnimData: default animation is s16
Former-commit-id: fcf2e43f1e
2022-10-03 18:45:08 +03:00
Henrique Gemignani Passos Lima 3997f75e24 Improve match for CScriptSpecialFunction::Render
Former-commit-id: 80843df748
2022-10-03 16:15:34 +03:00
Henrique Gemignani Passos Lima 16e4de9bfe Implement CScriptSpecialFunction::ThinkSpinnerController
Former-commit-id: d26a30f186
2022-10-03 14:55:03 +03:00
Luke Street cd85b46d6d More CScriptSpecialFunction; start rstl::map/red_black_tree
Former-commit-id: 87c0a6041c
2022-10-03 00:49:20 -04:00
Luke Street c8f194b18c CScriptSpecialFunction: More matches
Former-commit-id: fdbd70eea1
2022-10-02 18:27:13 -04:00
Luke Street f04048e917 Match CScriptSpecialFunction constructor
Former-commit-id: f16397257b
2022-10-02 17:45:14 -04:00
Henrique Gemignani Passos Lima becebbe290 Add CScriptSpecialFunction.hpp/cpp
Former-commit-id: 2c857a9fa4
2022-10-02 18:21:56 +03:00
Henrique Gemignani Passos Lima 63988f60bc Preparing other headers for CScriptSpecialFunction
Former-commit-id: 6ffb16e4a9
2022-10-02 18:21:51 +03:00
Henrique Gemignani Passos Lima 00375b9c6a Add CDamageInfo
Former-commit-id: f40c4e6555
2022-10-02 13:14:12 +03:00
Phillip Stephens 6b23e11db8 Match and link CPhsyicsActor
Former-commit-id: 70a1e449bd
2022-10-01 23:06:32 -07:00
Henrique Gemignani Passos Lima 72e31ef65b Fix linking issues with CDamageVulnerability
Former-commit-id: 882cebb9b3
2022-10-02 01:06:20 +03:00
Henrique Gemignani Passos Lima ac12cf1321 Add CDamageVulnerability.cpp, fill header
Former-commit-id: dc47a3af22
2022-10-02 00:39:52 +03:00
Henrique Gemignani Passos Lima bb86f3dc01 Add CPlayerState (#5)
* Start CPlayerState

* CPlayerState::CalculateHealth symbol rename

* Add inline constructor for CHealthInfo

* Add skeleton for the rest of CPlayerState

* Match CPlayerState::DecrPickUp

* Match more methods in CPlayerState

* Run formatting

* Fix function order

* Improving the constants

Former-commit-id: 1e30daa096
2022-10-01 10:08:15 -04:00
Luke Street adb54a9892 Symbol fixes, headers & main progress
Former-commit-id: 6944a14e89
2022-10-01 02:19:15 -04:00
Luke Street 8659785c5c Fix GetSortingBounds symbol; various fixes
Former-commit-id: c8c05c2cd5
2022-09-29 20:24:12 -04:00
Luke Street 1f56cefe8c Halfway match CAABox; continue CBallCamera
Former-commit-id: 602109d8f0
2022-09-29 19:55:43 -04:00
Luke Street 15efc56c15 CStateManager: Forward declare CMaterialFilter
Former-commit-id: e91b0c43cc
2022-09-29 01:31:19 -04:00
Luke Street 453bc3c3d6 Some CBallCamera progress
Former-commit-id: 3831cfa905
2022-09-29 01:30:20 -04:00
Luke Street 5c343128e4 Remove some hacks from CBallCamera
Former-commit-id: 2afec50c52
2022-09-21 01:40:03 -04:00
Luke Street 9637b6f796 Begin CBallCamera & more headers
Former-commit-id: 21f597aeb7
2022-09-21 01:18:20 -04:00
Phillip Stephens 57bb02906e More allocator work
Former-commit-id: 57ce723ec2
2022-09-19 21:35:24 -07:00
Luke Street b32c6018e8 CPlayer header, more CScriptPlatform, renaming
Former-commit-id: 5d9f7afa3b
2022-09-19 00:19:46 -04:00
Luke Street f6f1040fff Various rstl fixes; continue CScriptMazeNode & CScriptPlatform
Former-commit-id: 7608f27ed2
2022-09-18 13:51:07 -04:00
Luke Street 234afca6c2 clang-format pass
Former-commit-id: 6a979e343f
2022-09-18 02:05:46 -04:00
Luke Street 41a2efa884 Start matching CScriptPlatform; more CScriptMazeNode
Former-commit-id: 135d63412c
2022-09-18 01:55:13 -04:00
Phillip Stephens 50047f2398 Match CScriptMazeNode::SendScriptMsgs
Former-commit-id: 972aa78e61
2022-09-15 21:30:20 -07:00
Luke Street e5dd64ab55 CScriptMazeNode progress
Former-commit-id: ff0275b48f
2022-09-15 00:08:57 -04:00
Luke Street 86c16b4b9d Begin matching CScriptMazeNode
Former-commit-id: 38ca1f6816
2022-09-14 01:24:12 -04:00
Luke Street 48c7444acb Match & link CScriptDebugCameraWaypoint
Former-commit-id: 0eefeac3c6
2022-09-13 22:25:14 -04:00
Luke Street 329618c585 More main progress; tons of headers & stuff
Former-commit-id: a6e365791b
2022-09-13 00:28:02 -04:00
Luke Street 0f25a3c8d4 Migrate s32->int, u32->uint; fix dolphin/types.h
Former-commit-id: 7eb08b6ee8
2022-09-05 00:01:22 -04:00
Luke Street 6768dfc9b4 Begin CGX/CCubeMaterial; add dolphin headers from aurora
Former-commit-id: b28e24862b
2022-08-30 00:05:16 -04:00
Luke Street 00c77e6195 Runtime/math matches; better libc headers
Former-commit-id: bef7db1748
2022-08-25 23:46:24 -04:00
Luke Street 57bfdc2000 Create & link TCastTo.cpp
Former-commit-id: f41c87eea7
2022-08-16 17:47:16 -04:00
Luke Street f3e607a3af Renaming & more CActor progress
Former-commit-id: bcfefcc34a
2022-08-15 22:14:28 -04:00
Phillip Stephens 9675db47b4 Minor CActor/CModelData fixes, add matching CActor::UpdateAnimation
Former-commit-id: 8e90988b5c
2022-08-14 22:50:25 -07:00
Luke Street 94e27faee8 Continued work on CActor
Former-commit-id: 09dfe946fc
2022-08-15 00:51:06 -04:00
Luke Street eb6819f1fd Continue work on CActor::UpdateAnimation; lots of headers n stuff
Former-commit-id: 85284f7640
2022-08-14 14:38:41 -04:00
Luke Street f7f0a8e140 More defs for CStateManagerContainer & friends
Former-commit-id: 04a7213fa7
2022-08-12 22:48:34 -04:00
Luke Street 361f2bb9ce Initial work on CActor.cpp
Former-commit-id: 44b17813bd
2022-08-12 21:26:54 -04:00
Luke Street 4ad9b20d1a Add & link CEntity.cpp
Former-commit-id: 0b6ce7f781
2022-08-10 22:33:46 -04:00
Luke Street 9d3a5c7670 Move back to 1.3.2 compiler
Former-commit-id: 1107bdaa26
2022-08-09 19:07:49 -04:00
Phillip Stephens 3a23f40720 Various imps
Former-commit-id: 7043befead
2022-08-05 03:23:49 -07:00
Phillip Stephens 8db2425e27 Link CHUDMemoParms.cpp, minor data fixes
Former-commit-id: 2f39c70005
2022-07-30 13:10:04 -07:00
Luke Street bed1bb88de Reorganize includes to match asm
Former-commit-id: 848752477e
2022-07-18 18:42:58 -04:00