Commit Graph

264 Commits

Author SHA1 Message Date
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 2f62a31d18 Fix CColor Get*u8 functions
Former-commit-id: 4d40ca80d8
2022-10-09 01:44:48 -04: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 52e270ebf7 Match and link CFinalInput
Former-commit-id: bacfa6a458
2022-10-08 15:05:33 -07: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 b4aff47c3c Allow implicit conversion to rstl::string
Former-commit-id: fdbb3376ff
2022-10-08 01:46:42 -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
Phillip Stephens bb45a64b7b Initial work on SIBios
Former-commit-id: b841756b36
2022-10-07 22:53:41 -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
Phillip Stephens eefc0f609c Match and link dtk
Former-commit-id: f779e5819d
2022-10-07 19:38:36 -07:00
Phillip Stephens 0aeb567b3d Match and link PadClamp, pad is matched but can't be linked
Former-commit-id: 9ab1aea84f
2022-10-07 12:08:55 -07:00
Phillip Stephens ef3466ac1b Match and link CCollisionInfo
Former-commit-id: dbaf1f40ca
2022-10-06 21:23:10 -07: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
Phillip Stephens 54e2e23a86 Match and link CMaterialFilter/List
Former-commit-id: 480e975add
2022-10-06 11:26:32 -07:00
Phillip Stephens 569b210e37 Match and link CMaterialList, nearly match CMaterialFilter
Former-commit-id: e25205bd69
2022-10-06 10:00:27 -07: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
Henrique Gemignani Passos Lima 40ae0acae1 Add CPlayerGun::InitCTData, auto_ptr "copy" assignment
Former-commit-id: fcbfade432
2022-10-06 19:39:33 +03:00
Phillip Stephens 61eee21924 Match and link CMRay
Former-commit-id: 166a545542
2022-10-06 08:36:53 -07: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 143a96518e Match and link RubmleAdsr
Former-commit-id: 08d4f2a080
2022-10-06 02:50:00 -07:00
Phillip Stephens df58a7e690 Add missing include
Former-commit-id: a37c4fde2e
2022-10-06 02:27:07 -07:00
Phillip Stephens 5c0e4be01c Match and link IObj
Former-commit-id: bef91d45de
2022-10-06 02:23:45 -07:00
Phillip Stephens ec9e639009 Match CLight, has issues with constants
Former-commit-id: b039acfac8
2022-10-06 01:40:00 -07:00
Phillip Stephens 96236df954 Match and link CSphere
Former-commit-id: 68616cba51
2022-10-05 16:45:56 -07:00
Henrique Gemignani Passos Lima 8346d160f6 Fix vectors' operator=
Former-commit-id: 447782bddf
2022-10-06 02:39:15 +03:00
Henrique Gemignani Passos Lima 94eb8324a8 Compilation fix for many files
Former-commit-id: 44e4110ffb
2022-10-06 02:34:48 +03:00
Phillip Stephens 8c4c08865b Almost forgot these
Former-commit-id: 4ba459c876
2022-10-05 16:26:43 -07: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
Phillip Stephens 3ed47d5cde Fix linking with static libs, CVector3f work, Initial COutputStream
Former-commit-id: 693fe93eab
2022-10-04 18:31:56 -07:00
Luke Street e7ecda7a36 CScriptSpecialFunction progress & symbol updates
Former-commit-id: 84d590be2f
2022-10-04 20:16:35 -04:00
Phillip Stephens 60cc687cd1 Match and link CVector2f
Former-commit-id: b85528fbab
2022-10-04 14:00:16 -07:00
Phillip Stephens 171da931cc Match and link CVector2i
Former-commit-id: 45312e97ea
2022-10-04 13:11:34 -07:00
Phillip Stephens f8688e02e3 Initial pass at CDecal classes
Former-commit-id: 4b24bba57e
2022-10-04 12:58:17 -07:00
Phillip Stephens 2ef9d69288 Match and link CVector3d, add CVector3i.s
Former-commit-id: cdbbfba34e
2022-10-04 12:57:04 -07:00
Henrique Gemignani Passos Lima e56a45c6c4 First pass at CPlayerState::PutTo
Former-commit-id: 4fcad1ada2
2022-10-04 21:50:29 +03: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 469c499a6b CSfxManager: make priority values const
Former-commit-id: 0acb1e0e40
2022-10-03 20:03:50 +03:00
Henrique Gemignani Passos Lima a90e68436b CSfxManager: Add kAllAreas, areaId to int
Former-commit-id: 4b08f70a0b
2022-10-03 20:00:51 +03:00
Henrique Gemignani Passos Lima bd8d881f6b Add kMaxPriority/kMedPriority to CSfxManager
Former-commit-id: b423771f97
2022-10-03 19:23:22 +03:00
Henrique Gemignani Passos Lima d55ba2e58e Fix CSfxManager::PitchBend types
Former-commit-id: 97282648b4
2022-10-03 19:04:56 +03: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 1ede41207b Improve CAABox::GetExtents
Thanks encounter


Former-commit-id: 3f4e53ec74
2022-10-03 18:05:16 +03:00
Henrique Gemignani Passos Lima c5a4f660bb TAverage: don't implement AddValue inline
Former-commit-id: ce2276b310
2022-10-03 18:03:57 +03:00
Henrique Gemignani Passos Lima e2ba417809 Add fmod to math.h
Former-commit-id: 01792db891
2022-10-03 16:24:59 +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 7c37170bb6 Add missing w_fmod.h
Former-commit-id: 3256933c63
2022-10-03 15:15:06 +03:00
Henrique Gemignani Passos Lima 16e4de9bfe Implement CScriptSpecialFunction::ThinkSpinnerController
Former-commit-id: d26a30f186
2022-10-03 14:55:03 +03:00
Luke Street 682ce50113 Fix CUnitVector3f non-match
Former-commit-id: 60c82b0a89
2022-10-03 00:56:11 -04:00
Luke Street cd85b46d6d More CScriptSpecialFunction; start rstl::map/red_black_tree
Former-commit-id: 87c0a6041c
2022-10-03 00:49:20 -04:00
Phillip Stephens 1b617eee75 Split, match and link CVector3i
Former-commit-id: 9f8f1ab7f7
2022-10-02 20:09:01 -07:00
Phillip Stephens 22d8819770 Match and link CPlane
Former-commit-id: 302df55a60
2022-10-02 19:55:05 -07:00
Phillip Stephens 477189a490 Forgot something....
Former-commit-id: 19c1aa3ae1
2022-10-02 18:16:06 -07:00
Phillip Stephens 867d66b72d Minor fixes, add COsContextDolphin to completed list in configure.py
Former-commit-id: 09999a24a1
2022-10-02 18:04:35 -07:00
Luke Street c8f194b18c CScriptSpecialFunction: More matches
Former-commit-id: fdbd70eea1
2022-10-02 18:27:13 -04:00
Luke Street 5da4fc096b Add missing TAverage.hpp
Former-commit-id: e8133e9476
2022-10-02 17:53:28 -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