59 Commits

Author SHA1 Message Date
Lioncash
566a32fd75 General: Migrate off non-constexpr constants 2020-06-16 22:48:11 -04:00
Lioncash
a67df9865e CShader: Make use of unique_ptr where applicable
Prevents unsafe allocations by default.
2020-06-16 18:27:13 -04:00
Lioncash
4d34589816 CDrawUtil: Make use of std::array
While we're at it, we can make several arrays constexpr.
2020-06-16 18:04:10 -04:00
Lioncash
43596280c5 CVertexBuffer: Make use of size_t in Reserve() 2020-06-16 17:42:24 -04:00
Lioncash
ece0aec27a CGraphics: Make use of std::array 2020-06-12 16:36:34 -04:00
Lioncash
bf9233779a CGraphics: Make skDefaultAmbientColor constexpr
Same behavior, no runtime initializer.
2020-06-12 16:19:59 -04:00
Lioncash
114742fc37 CCamera: Resolve -Wreorder warnings 2020-06-11 20:58:59 -04:00
Lioncash
012da6fb6d General: Remove unnecessary inline specifiers and add overrides 2020-06-11 15:49:42 -04:00
Lioncash
100453b356 CCamera: Remove unnecessary inline specifiers
Functions defined within a class declaration are inline by default.
2020-06-11 13:41:33 -04:00
Lioncash
53b257fb8a CBoneTransformData: Remove unnecessary inline keywords
Functions defined within the class declaration are inline by default.
2020-06-11 13:40:00 -04:00
Jack Andersen
37c462725c Default zero mat/amb alpha so bloom does not get overpowered 2019-11-17 12:03:09 -10:00
Jack Andersen
55c4a5818e Use non-1.0 alpha component for default lighting 2019-11-07 14:54:35 -10:00
Jack Andersen
6e3b23ec50 Accurate MP3 material processing 2019-11-06 16:52:45 -10:00
Jack Andersen
9f94db6c82 Linux build fixes 2019-05-25 20:24:13 -10:00
Jack Andersen
b6191dc330 Initial round of CMake refactoring 2019-05-23 13:04:29 -10:00
Aruki
7de85a5a2d Quickplay support 2019-04-06 15:53:05 -07:00
Aruki
0827c05802 Various crash fixes 2019-02-18 03:54:58 -07:00
Aruki
4e1560a99c Reorganized collision data classes & added basic collision editor window with an OBB tree visualization 2019-02-12 02:50:07 -07:00
Aruki
c4829f5fda Cleanup & refactoring 2018-12-16 14:00:40 -07:00
Aruki
2287b05bc3 Refactor so PWE compiles with the newly externalized LibCommon 2018-12-11 22:50:46 -07:00
Aruki
16e310fb2f Update resource selectors when their asset is renamed, fixed default world editor split sizes, disabled model editor save button outside of MP1 2017-07-18 03:07:42 -06:00
Aruki
2c21276f5a Use uppercase extensions for editor resources 2017-07-04 19:32:12 -06:00
Aruki
46b65a5bcd Added support for the remaining DKCR formats; DKCR repacking works now 2017-06-26 20:34:58 -06:00
Aruki
88c11555c0 Added support for CHAR, SAND, and SCAN dependencies in MP3 2017-04-30 22:28:37 -06:00
Aruki
e138cd7035 Removed dependencies on GLM 2017-03-31 23:33:11 -06:00
Aruki
ac2430e61c Minor fixes/adjustments 2017-02-21 00:09:03 -07:00
Aruki
9928a599be Initial work towards making the World Editor the main application window 2017-02-11 18:35:33 -07:00
parax0
678ca01fb1 Merge branch 'master' into ContentExporting 2017-01-29 07:33:14 -07:00
parax0
c62a01e4d9 Added a couple more collision view features; set up a proper UI for changing collision render settings 2017-01-14 10:32:41 -07:00
parax0
08dee84367 Set up game-neutral collision materials; Jump Not Allowed flag now flags that surface as unstandable; other minor fixes 2017-01-11 06:29:30 -07:00
parax0
be40dfdf02 Added a basic UI to change collision render settings, added the ability to color collision based on the surface type 2016-12-26 23:02:32 -07:00
parax0
c0fb54888d Rewrote collision shader to use generated normals with fake lighting instead of generated UV coords 2016-12-24 03:05:51 -07:00
parax0
712e545c7b Fixed editor viewport rendering black when opening multiple editor windows at the same time 2016-12-24 02:11:25 -07:00
parax0
595e4b931e Moved animation-related classes to their own subfolder 2016-10-26 18:12:08 -06:00
parax0
a7b381f301 Made a bunch of changes to make the resource store system more friendly to multiple stores instead of just a single active one, and set up a resource database for editor assets 2016-08-31 02:09:13 -06:00
parax0
1de2691f33 Enabled MSAA 2016-08-30 19:05:28 -06:00
parax0
3f3735ac7a Created application class to manage editor windows, improved camera AABox orbit 2016-08-30 00:47:02 -06:00
parax0
24c5ad5cd7 Applied a bunch of fixes to get the current game exporter functionality working with the resource store system 2016-07-04 20:28:17 -06:00
parax0
2d6dfad2d3 Completely overhauled resource loading in preparation for projects 2016-06-29 17:18:31 -06:00
parax0
f64ee6b3b7 A model's surfaces are now depth sorted together (except on world geometry) 2016-05-03 05:05:10 -06:00
parax0
2db740e572 Added a bunch of new options and tools to the character editor 2016-05-02 05:23:16 -06:00
parax0
ce688fcb8e Applied various fixes to the attachment system, made skeleton rendering more flexible, added the ability for attachments to specify an attach type 2016-05-01 17:32:55 -06:00
parax0
420f483b56 Cache shader uniform locations instead of looking them up every frame (1-2 fps boost yay?) 2016-04-29 15:59:26 -06:00
parax0
c4268746f2 Fixed skeleton raycasting using the incorrect bone position + renamed a variable 2016-04-27 23:55:41 -06:00
parax0
59d8de0f31 Added support for depth groups on the renderer 2016-04-27 23:32:02 -06:00
parax0
50dcc9cc1a Pre-transform bones with inverse bind instead of sending it to the shader 2016-04-27 20:36:50 -06:00
parax0
98059cedaa Added support for model skinning 2016-04-27 04:27:57 -06:00
parax0
feace9e38c Fixed animation loader bug, added CBoneTransformData to separate animation transforms away from CSkeleton, added skeleton raycasting, added a bunch of animation playback controls to the character editor 2016-04-10 06:49:42 -06:00
parax0
dfdbed24c4 Change CTransform4f to inherit from CMatrix4f 2016-04-08 19:16:26 -06:00
parax0
82ad4fb5c8 Mass code cleanup 2016-03-27 13:09:38 -06:00