Triston Caton
c24d0211bd
more constexprs
...
# Conflicts:
# Engine/source/core/util/refBase.h
2025-10-05 13:24:54 -04:00
Triston Caton
8d1e95b3f3
resolved constexpr constructor not mem-initializing member variables
2025-10-04 19:38:30 -04:00
Triston Caton
4fc85ba717
addressed some refBase.h warns
2025-10-04 17:18:38 -04:00
AzaezelX
2c15877d5a
add extra safeties to safe_delete macros
2025-06-06 10:45:05 -05:00
AzaezelX
76b33ab57b
unintialized variable cleanups
2025-05-26 15:16:48 -05:00
AzaezelX
6596865d92
overflow avoidance
2025-05-26 15:16:18 -05:00
AzaezelX
ddac695252
unintialized variable cleanups
2025-05-26 14:20:22 -05:00
marauder2k7
d8315267e8
clear utf16 cache
...
this stops the unicode global cache from showing in the memleak output
2025-05-12 11:50:22 +01:00
marauder2k7
b0eb3875c9
changes from az
...
Output now collates issues together into 1 entry for each leak point
tDictionary leak
2025-05-12 11:50:18 +01:00
bank
5e8af7020c
Fix memory leak in ZipSubRStream
...
Inside attachStream() method we may clone passed stream, but never delete it.
2025-02-19 15:06:02 +03:00
marauder2k7
44a6ceab2d
code review
...
Revert Hsb to using integers
Clamp drag values
2025-01-27 08:04:55 +00:00
marauder2k7
a91ddfffa1
fixes for linux
...
According to doc and man pages we should not be using %Lg for a double as %Lg relates to a long double, F64 in torque is just a double so. This also produces better results when going from colorF to the colorPicker dialogue
2025-01-24 08:44:57 +00:00
marauder2k7
93352f5754
linear to hsb and back again requires srgb calcs
2025-01-23 19:37:15 +00:00
marauder2k7
704e304eef
display correct values
...
Few fixes to display float values if the inspector field asks for floats
Split Hsb out from colorI now linearColorF can return HSB from its own color without having to go through the colorI conversion, hopefully gets rid of rounding errors etc since we are only doing the calc once.
2025-01-23 19:06:35 +00:00
marauder2k7
48ca98ca84
color palette saving
...
for now saves palette colours as their hex value. This will miss out on the alpha value.
2025-01-23 14:46:05 +00:00
marauder2k7
029a495de1
change hsb to doubles internally
2025-01-22 20:12:49 +00:00
marauder2k7
5ca1c37fe9
more fixes for hsb conversion and gui updated
2025-01-22 19:14:40 +00:00
marauder2k7
29a9bd7917
ground work before gui
2025-01-22 17:21:46 +00:00
marauder2k7
888332a85c
rest of the implementation
...
apparently templated classes need all functions to be inline, otherwise unresolved symbols
macro for switching between matrixf and templated
few functions that were missed
2024-07-28 14:35:34 +01:00
marauder2k7
324acaf896
Update uuid.cpp
...
code review from Tron better method for uuid toString
2024-07-23 13:36:49 +01:00
marauder2k7
665fc092aa
Update uuid.cpp
...
remove dmalloc
2024-07-23 13:09:23 +01:00
marauder2k7
80a1f0a0c5
Update uuid.cpp
...
add a malloc to target to make sure it has the length to take the string
2024-07-23 08:07:54 +01:00
marauder2k7
0853748f12
Update uuid.cpp
...
2 pass format_token, 1st gets the length required second passes it to target.
2024-07-23 07:58:03 +01:00
marauder2k7
3e57c709d9
Update uuid.cpp
2024-07-23 01:33:26 +01:00
marauder2k7
a621cc5100
various warnings
...
warnings cleanup
2024-07-22 20:59:48 +01:00
marauder2k7
54d0da6690
Update stringFunctions.h
...
changes to dAtob from az
2024-06-18 15:10:24 +01:00
AzaezelX
5c701fe09e
file write clarifications
...
handle clang complaints about hidden virtuals in the context of file writes that have thier own routes and I/O needs.
2024-06-10 13:15:27 -05:00
marauder2k7
2b295fb7f0
rest of virtuals removed
...
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
2024-03-18 18:40:22 +00:00
marauder2k7
efbe5e90f5
virtuals removed
...
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
2024-03-18 18:13:00 +00:00
marauder2k7
e0c80ac909
fix for the fix because original fix did jack
2024-03-15 22:59:27 +00:00
marauder2k7
51624b7ce8
macosx changes
...
changes required to get masox to run.
Some further changes possible required around resourceHolder in future.
The geometry shader works in macosx with gl version 3.3, though i do think some changes are required internally to account for a lack of OUT_col%
2024-03-15 15:17:25 +00:00
marauder2k7
4417462499
Add support for both ies and cookie
...
Both ies and cookies can now exist on a light
We are still not using all the capabilities of an IES profile, such as candela and luminance values we are just using them as a mask for the moment
Issues compiling on mac and linux, will need to update the ies-loader to use torque methods instead of std::
2024-02-21 07:40:57 +00:00
James Urquhart
28ba2f2473
Fix gcc & clang Compile for FrameAllocator changes
2024-02-07 00:05:14 +00:00
James Urquhart
45898694e4
Reimplement FrameAllocator and FrameTemp; Tidy up DataChunker header.
...
- Also additional work on tests to reflect watermark behavior change
2024-02-06 02:35:16 +00:00
James Urquhart
7332dd6643
Add tests for FrameAllocator and DataChunker
2024-02-05 22:53:09 +00:00
James Urquhart
3781c7fae5
Add an alternate allocator for DecalManager; Also fix SFX weirdness.
2024-02-04 23:27:31 +00:00
James Urquhart
915fac31b3
Basic refactoring WIP
2024-02-04 23:27:31 +00:00
marauder2k7
09b1e9783a
Mem fix
...
-Data chunker was leaking, (my bad) fixed
-Added != operator to scene container for std:c++17 conformance.
2023-10-15 15:14:58 -05:00
Lukas Aldershaab
89b0c7f73b
Console Refactor
2023-09-13 10:33:20 +02:00
Areloch
3451c11393
From Nils' UI Update work. Adds some new named colors
2023-09-04 22:36:28 -05:00
marauder2k7
b97c8fc980
test
...
this is the fix!!!!!
2023-07-25 12:15:53 +01:00
Brian Roberts
0d981b62cf
Merge pull request #1015 from Azaezel/alpha41/consoleCleanups
...
fix warn reports for buffer over-runs
2023-05-09 14:44:01 -05:00
Brian Roberts
a6f03897ed
Merge pull request #1016 from Azaezel/alpha41/mangledMath
...
clean up math varsize complaints
2023-05-08 21:28:49 -05:00
AzaezelX
e386a360ca
more arithmetic overflow warns
...
(cherry picked from commit 3974775b9c6bc49fba7295dcdd35e8f2cc06a0c9)
2023-05-01 10:43:11 -05:00
AzaezelX
0d4221fa59
uninitialized and unused value cleanups
...
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
2023-05-01 10:40:02 -05:00
AzaezelX
0ce2da3a23
clean up math varsize complaints
2023-04-27 16:10:04 -05:00
AzaezelX
9e036f142b
fix warn reports for buffer oveeruns
...
also misc uninitialized vars
2023-04-26 22:29:32 -05:00
AzaezelX
a956264bbc
misc warn fixes
...
parser had a few spots where it was throwing int compares to ints instead of bools for logical and/ors. not bitwise ones.
_dumpDirectories had a stray itterator dupe
2023-04-08 12:39:09 -05:00
Jeff Hutchinson
1940becb2d
Compilation fixes for C++20
2022-11-28 21:39:06 -05:00
Areloch
dbf60a95a2
Adds handling to winVolume's _BuildFileName so if it's a filename-less filename(has only extension but no name) then we process the filename string correctly
...
Adds logic so when trying to do a path copy, if it's not a valid source filename, we merely fail the copy, rather than crashing due to a nullref
Makes guiPopUpCtrlEx respect the mActive flag so the mouse cannot interact with it if it's inactive
2022-07-24 13:12:46 -05:00