Commit Graph

47 Commits

Author SHA1 Message Date
Lioncash 8e5fc3668c CToken: Amend incorrect return value of TToken's operator=
This should be returning by reference, not the pointer of this.
2020-04-17 17:16:33 -04:00
Jack Andersen d1c2ae71c2 Ensure consistent override usage in TCachedToken 2020-03-28 21:20:44 -10:00
Lioncash 764dac0adc CToken: Add missing override specifiers 2020-03-28 05:55:17 -04:00
Lioncash 54c6122cbd CToken: Mark move assignment operator as noexcept
Allows containers and anything using std::move_if_noexcept to perform a
move instead of a copy.
2020-03-27 20:56:04 -04:00
Luke Street 13d8c3fdd1 CFlyingPirate: First draft almost done 2020-03-18 01:18:48 -04:00
Luke Street 11ea9d3aa6 CFlyingPirate: More method implementations 2020-03-18 01:18:48 -04:00
Lioncash 2233a78fe2 CToken: Add HasReference() member function
Has the same semantics of operator bool(), but explains at the call site
what is actually being tested for in the relation to the object itself.

Aims to make readability slightly better (and removed the need for
casts).
2020-03-08 21:13:37 -04:00
Lioncash a6367c0688 CToken: Make operator bool explicit
Prevents potential error-prone conversions from occurring
2020-03-06 21:42:07 -05:00
Lioncash 2014650d58 CToken: Mark CToken's move constructor noexcept
The move constructor doesn't perform any behavior that would result in
an exception being thrown. Marking it as noexcept allows the type to
play nicely with facilities that make use of std::is_move_constructible
to determine whether copies can be avoided or not in certain
circumstances (e.g. the standard library; notably, std::vector).

We can't mark the move assignment operator as noexcept currently,
however, as it calls into interfaces outside of CToken.
2019-09-30 02:32:29 -04:00
Lioncash 36d04456dd General: Normalize RuntimeCommonB include paths
Finishes the normalizing of all of includes within the RuntimeCommonB target's headers.
2019-09-23 17:22:37 -04:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Jack Andersen f60af632b3 Big fixes and big memory leak refactor (linux only for now) 2018-05-19 20:14:57 -10:00
Jack Andersen 8346f56595 Finish CResFactory; better smart-pointer use for resources 2017-10-26 00:09:51 -10:00
Jack Andersen e30ec98b6e Some memory card fixes, CToken assign fix 2017-02-02 20:23:09 -10:00
Jack Andersen c8d44d181b Several resource management bug fixes 2016-09-20 19:41:51 -10:00
Jack Andersen f4ea728a61 Resource factories now provided with self-ref 2016-09-02 09:32:57 -10:00
Jack Andersen 302d897e10 Various CWorldTransManager bug fixes 2016-09-02 07:50:03 -10:00
Jack Andersen 0aaeed2aeb const_cast refactor 2016-08-28 18:22:54 -10:00
Jack Andersen f9cef44029 Work on CFBStreamedCompression; defined 24-bit ANIM3 format 2016-08-26 12:23:59 -10:00
Jack Andersen 670eb998d4 Work on character animation 2016-08-21 10:39:18 -10:00
Jack Andersen 25d808e2b9 Functioning XRay blur filter 2016-08-19 18:22:13 -10:00
Jack Andersen 5de5c3d85f Character factory support classes 2016-04-12 20:07:23 -10:00
Jack Andersen 8fc0d57500 Thread-safe extraction 2016-03-31 18:25:00 -10:00
Jack Andersen 9fcce94a7a Async resource build fixes 2016-03-31 15:00:37 -10:00
Jack Andersen b373493cf3 Much CModel work 2016-03-30 16:44:43 -10:00
Jack Andersen 89daac544f CTextParser imps 2016-03-20 14:25:53 -10:00
Jack Andersen 18e0e208a7 Various Invoke imps 2016-03-19 20:37:08 -10:00
Jack Andersen 7835769a98 CTextExecuteBuffer imps 2016-03-19 14:32:30 -10:00
Jack Andersen 79d90f46d3 CGuiModel imps 2016-03-16 16:18:01 -10:00
Jack Andersen 1908ac111b More GuiSys stubs 2016-03-10 14:23:16 -10:00
Jack Andersen de9a14dc1e CToken tweak 2016-03-04 18:50:38 -10:00
Jack Andersen 783fb4c4fe Humungous refactor 2016-03-04 13:04:53 -10:00
Phillip Stephens 18e34b4dce CToken fix
Initial CRSC
2016-02-15 23:01:55 -08:00
Phillip Stephens af69c9d3ab Rename namespaces 2016-02-13 01:02:47 -08:00
Jack Andersen acf65c561a CParticleGen inheritance fix 2016-02-12 19:49:59 -10:00
Jack Andersen 93f8ae8905 Constructor stubs for swooshes and electrics 2016-02-11 13:05:42 -10:00
Jack Andersen ffdea0c2b9 Additional particle imps 2016-02-11 12:38:25 -10:00
Jack Andersen 33eb00b366 CElementGen constructor 2016-02-09 12:52:33 -10:00
Jack Andersen 69f32a4706 add some class docs 2016-02-08 19:05:36 -10:00
Jack Andersen 718436d2a6 TLockedToken cached pointer 2016-02-07 19:10:17 -10:00
Jack Andersen 8dbd2f3819 Additional vector elements 2016-02-06 21:25:34 -10:00
Jack Andersen 49e84c85fd Nearly all CParticleDataFactory implemented 2016-02-05 14:34:40 -10:00
Jack Andersen 7a35dac972 Initial round of particle runtime implementations 2016-02-04 15:27:03 -10:00
Jack Andersen f3b5b9f49a various implementation 2015-08-22 20:42:29 -10:00
Jack Andersen b51911ed3d more classes added 2015-08-21 15:58:41 -10:00
Jack Andersen 731d8bbcb4 more stubs 2015-08-20 14:06:39 -10:00