Commit Graph

155 Commits

Author SHA1 Message Date
Lioncash 902f4fb5c5 Graphics/Shaders: Use forward declarations where applicable
Now, with all of the headers normalized, we can safely convert some
headers into forward declarations without needing to worry about
potentially breaking code in other headers or source files.
2019-11-09 20:22:09 -05:00
Lioncash 040c724a8a CAutoMapper: Collapse case statements in ProcessMapZoomInput()
Same behavior as the game executable, but without the code duplication.
2019-10-12 13:57:01 -04:00
Lioncash 44306ab528 CAutoMapper: Eliminate cases of variable shadowing
Silences two variable shadowing warnings.
2019-10-01 22:43:23 -04:00
Lioncash 3383e65761 CAutoMapper: Use size_t instead of u32 as loop variable type where applicable
Uses the same sized type as the .size() call to prevent potential
overflow false-positives.
2019-10-01 22:40:13 -04:00
Lioncash eca34bede5 CAutoMapper: Use emplace_back where applicable
Allows for in-place construction.
2019-10-01 22:37:52 -04:00
Lioncash 23ca919c18 CAutoMapper: Use std::array where applicable 2019-10-01 22:31:07 -04:00
Lioncash a5d18002be CAutoMapper: Organize cpp includes 2019-10-01 22:12:15 -04:00
Phillip Stephens d2e9495686
Merge pull request #96 from lioncash/array2
CFinalInput, ControlMapper: Use std::array where applicable
2019-10-01 06:43:23 -07:00
Jack Andersen e1d46755a3 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/urde 2019-09-30 21:41:42 -10:00
Jack Andersen 16ca0d24c2 Explicit Asset ID refactor 2019-09-30 21:38:03 -10:00
Lioncash dc565969e6 CFinalInput: Use std::array where applicable
Allows simplifying copies and gets rid of hardcoded size values.
2019-10-01 01:59:56 -04:00
Lioncash a633b8e8fd General: Normalize RuntimeCommon include paths
Performs the same normalizing done to the RuntimeCommonB target, now all
of the runtime headers have normalized include paths.
2019-09-28 04:14:29 -04:00
Lioncash afab3e0327 Runtime: Make const/non-const getters have the same name
Makes for a more consistent interface, as getters won't have different
names to remember based off whether or not they're const qualified.
2019-08-14 12:45:57 -04:00
Lioncash d3d629d405 RuntimeCommon: Use const on member functions where applicable
Adds missing const qualifiers on class member functions that don't
modify instance state.
2019-08-14 09:25:39 -04:00
Phillip Stephens ff83dbc676 Minor fixes and cleanup 2019-08-03 17:02:53 -07:00
Jack Andersen 5acf9ecbcf Graphics debug groups and bug fixes 2019-07-20 22:42:52 -10:00
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen 8df0a4913c zeus constexpr refactor and thermal visor fixes 2019-02-23 21:15:54 -10:00
Jack Andersen 48eaa2545b Working CScriptGunTurret 2019-02-17 19:47:46 -10:00
Jack Andersen 5f8b65e3b5 Various bug fixes 2019-02-07 15:08:15 -10:00
Jack Andersen 7d29c6e25a More bug fixes 2019-01-30 21:52:21 -10:00
Jack Andersen ad2681f857 Windows fixes 2019-01-28 22:28:35 -10:00
Jack Andersen 137968ecc7 Bug fixes and CAutoMapper mouse events 2019-01-22 21:52:19 -10:00
Jack Andersen f3f9924309 Initial mouse events for pause screen 2019-01-20 18:10:34 -10:00
Jack Andersen 147a9396c4 CBeetle implementation 2018-12-30 19:01:42 -10:00
Jack Andersen b7f35e0528 CRelAngle fix 2018-12-16 17:52:51 -10:00
Phillip Stephens c7573ae52f Finalize CFireFlea 2018-12-09 21:12:55 -08:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 7c7da6671a SIMD refactor 2018-12-07 15:49:15 -10:00
Jack Andersen d140f35886 All CEnvFxManager effects working 2018-11-02 22:46:12 -10:00
Jack Andersen 29dad50cca Particle, map and line renderer fixes 2018-10-25 18:37:22 -10:00
Jack Andersen 3f4aeffb17 Merge branch 'shader-refactor' 2018-10-15 17:17:37 -10:00
Phillip Stephens bbfe61efbf Various loader implementations 2018-10-11 15:57:05 -07:00
Jack Andersen c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Phillip Stephens 8b25548482 Various bug fixes, implement `CMain::WarpTo` 2018-09-20 20:41:57 -07:00
Jack Andersen e46ec80b64 Integrate Amuse into hecl cook/extract for MP1/2 2018-09-02 14:46:16 -10:00
Jack Andersen 186acae5d8 Initial CScriptPlatform collision 2018-06-23 16:39:53 -10:00
Jack Andersen 1e36329ed4 Implement Metal fluid plane tessellation shader 2018-06-11 15:16:27 -10:00
Jack Andersen 70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10:00
Jack Andersen 13747ff61f Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/urde 2018-05-19 20:15:22 -10:00
Jack Andersen f60af632b3 Big fixes and big memory leak refactor (linux only for now) 2018-05-19 20:14:57 -10:00
Phillip Stephens 259a2d431c Initial CScriptSpecialFunction implementations 2018-05-19 22:01:17 -07:00
Phillip Stephens f5ea144b47 Various level streaming fixes, remove support for uncooked rep 2018-05-06 17:47:40 -07:00
Jack Andersen 97835607d9 More windows build fixes 2018-02-03 20:46:47 -10:00
Jack Andersen 168fab6b14 HUD rendering bug fixes 2018-01-05 20:50:42 -10:00
Jack Andersen 73ae278c87 Several collision fixes 2017-12-17 16:54:50 -10:00
Jack Andersen ce6a3aa50c Bug fixes and ASan build submodule 2017-12-11 16:06:19 -10:00
Jack Andersen 8901ac2150 Various fixes 2017-12-09 19:30:01 -10:00
Phillip Stephens 2ec2d07bdf Fix CAutoMapper surfaces on Braswell 2017-11-20 09:33:21 -08:00
Jack Andersen cff5198e6b Major graphics resource performance improvement 2017-11-19 13:48:09 -10:00
Jack Andersen a2c79eb996 More CAutoMapper fixes 2017-11-17 17:35:37 -10:00
Jack Andersen 0edac28ed4 Various CAutoMapper fixes 2017-11-16 13:49:25 -10:00
Jack Andersen a914e121ea Various AutoMapper render fixes 2017-11-15 22:05:10 -10:00
Jack Andersen 2df95c01cf General resource handling bug fixes 2017-11-14 18:12:13 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen 742ab2514f First skybox and HUD rendering 2017-11-11 19:14:57 -10:00
Jack Andersen 3894749675 Changes to support boo object tracker API 2017-11-04 20:17:12 -10:00
Jack Andersen 6eff4f2e01 Implement most of CTargetingManager 2017-10-28 20:21:52 -10:00
Jack Andersen 15d60493f2 Lots of bug fixes (Windows still needs some fixes) 2017-10-21 20:11:22 -10:00
Jack Andersen 98b2fb6855 Work on CPlayer 2017-08-17 15:30:15 -10:00
Phillip Stephens 870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Jack Andersen ca69a54faf Camera filter refactor 2017-05-31 19:34:24 -10:00
Jack Andersen a550ce1959 Finish CMessageScreen 2017-05-31 11:26:50 -10:00
Jack Andersen 4b048a0dff Finish CInGameGuiManager 2017-05-21 12:01:04 -04:00
Jack Andersen 08cbeceb80 Windows build fixes 2017-05-08 09:10:09 -10:00
Jack Andersen 4ff1475f0e Work on CSamusDoll 2017-05-04 08:56:20 -10:00
Jack Andersen 53c01af8e9 Finish CMapWorld and CMapUniverse rendering 2017-04-24 15:11:31 -10:00
Jack Andersen d54bb3746c Additional work on CMapWorld rendering 2017-04-22 11:46:18 -10:00
Jack Andersen 337ffd1c16 Work on CMapWorld rendering 2017-04-21 20:42:32 -10:00
Jack Andersen 56e386088a Additional work on CAutoMapper; CGameArea model setup 2017-04-18 13:41:01 -10:00
Jack Andersen 89b6935e1a Additional CAutoMapper work 2017-04-16 10:56:34 -10:00
Jack Andersen c3f04bcbaa CAutoMapper work 2017-04-15 19:52:43 -10:00
Jack Andersen 6056857cab Windows build fixes 2017-04-14 20:16:38 -10:00
Jack Andersen 28b1b38a67 Lots of work on CAutoMapper 2017-04-14 19:32:25 -10:00
Jack Andersen db12dd2ea2 Implement CStateManager::Update 2017-03-23 19:30:16 -10:00
Jack Andersen c8e22a6873 Windows fixes 2017-03-19 20:59:46 -10:00
Jack Andersen 8e7773aa94 AutoMapper work 2017-03-19 19:09:53 -10:00
Jack Andersen 56328c3e4d Lots of CMFGame integration 2017-02-17 16:19:50 -10:00
Jack Andersen a7cab596e6 Initial InGameGuiManager imps 2017-02-11 17:17:18 -10:00
Jack Andersen b8613d61f8 Tons of save-related fixes 2017-02-07 20:48:43 -10:00
Phillip Stephens 0f3e4b4a38 Tweak Imps 2017-01-26 02:06:18 -08:00
Phillip Stephens 353dbadfe9 Code cleanup and corrections 2017-01-06 17:58:05 -08:00
Jack Andersen 3a24b35df7 Windows fixes 2016-12-10 15:54:08 -10:00
Jack Andersen a85ea968c3 MemoryCard PutTo implementations 2016-10-09 11:41:23 -10:00
Jack Andersen f7f5066038 Better null-tag handling; integrate CSaveWorld and CMapWorld loading 2016-10-08 10:32:36 -10:00
Jack Andersen 9a15f72fc7 use `-flto=thin` as LTO flag; MemoryCardSys work 2016-09-30 12:43:19 -10:00
Jack Andersen 7f987ab10e Further CGameState imps 2016-09-24 15:58:54 -10:00
Phillip Stephens c20eb76189 Various imps and stubs 2016-09-13 22:45:46 -07:00
Jack Andersen 2a425b5a73 Work on CStateManager::InitializeState flow 2016-08-13 17:00:58 -10:00
Phillip Stephens b8ac7f0082 Complete CScriptDistanceFog RE 2016-08-08 20:58:19 -07:00
Phillip Stephens 165735ba1b CScannableObjectInfo imps 2016-08-03 16:20:31 -07:00
Jack Andersen dc1ad1c773 Thermal Hot filter HLSL 2016-08-03 13:16:31 -10:00
Phillip Stephens a253e7f1bd Add CMapUniverse 2016-08-01 23:19:52 -07:00
Jack Andersen 1c64605261 HLSL extension shaders 2016-07-31 18:35:42 -10:00
Phillip Stephens 871489dce2 Update zeus, initial CMappableObject imp 2016-07-31 12:29:07 -07:00
Phillip Stephens f4694e3231 Fix CMapArea vertex loop 2016-07-30 19:19:44 -07:00
Phillip Stephens 4541234706 More AutoMapper imps (CMapArea and CMappableObject) 2016-07-30 18:43:34 -07:00
Phillip Stephens 1ee38df1ba Various AutoMapper stubs 2016-07-29 10:00:23 -07:00
Phillip Stephens 62ce5286fe CMapWorld stubs, and compile fixes 2016-07-28 00:33:55 -07:00