31f61225a2
Ported: Make MessageQueue growable
...
* Uses simple vector resizing (po2)
* Uses pair of read and write buffers
- lawnjelly
5f1e7e6fbc
2023-04-15 12:06:16 +02:00
32e9927ac8
Ported from godot 4: Remove NOTIFICATION_MOVED_IN_PARENT
...
* This notification makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal).
* Changed Canvas code (and similar) to use the above signal, to perform more efficiently.
This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
It is required for the changes in #75627 to be entirely effective.
- reduz
Note that I removed NOTIFICATION_MOVED_IN_PARENT, as keeping it, but making it just not work is worse in my opinion.
104392ef4e
2023-04-10 15:55:34 +02:00
d999f63cbd
Cleanups and codestyle for the godot4 containers that I added in unmodified yesterday.
2023-01-16 22:09:32 +01:00
b6f4b647d6
Added the rest of the new container classes from godot4. They will likely not work as-is, this will be fixed later.
2023-01-16 00:40:55 +01:00
3c461a4660
Added more getters to the new HshMap, for more backwards compatibility.
2023-01-15 23:46:53 +01:00
fd7c2153a6
Replaced the HashMap's implementation with the one Godot4. Refactored it to work as a drop in replacement. Renamed the old one to OGHashMap.
2023-01-15 22:57:13 +01:00
2cd4e4d828
Renamed Set to RBSet.
2023-01-15 19:42:08 +01:00
1b0aac6028
Renamed Map to RBMap.
2023-01-15 19:12:50 +01:00
389052c51a
Small cleanups for PooledList and PagedAllocator.
2023-01-15 18:00:34 +01:00
698c2e01f0
Backported the tight version of godot4's LocalVector as the new TightLocalVector class.
2023-01-15 17:30:08 +01:00
a7fb068ab4
Revert "Backported: RID: Change comparison operators to use RID_Data id instead of address. This should helps making sorting more deterministic in physics and rendering. The same change was done for 4.0 in 4f16397. - akien-mga - 797321fec4
"
...
This reverts commit 185cfb3291
.
2022-12-12 11:54:51 +01:00
fbc6f9cf22
Added missing semicolons.
2022-10-09 10:17:16 +02:00
6f35d04ef3
Use FALLTHROUGH macro instead on [[fallthrough]];
2022-10-09 10:14:12 +02:00
9757c39f05
Moved a few more core classes.
2022-08-17 17:43:49 +02:00
686663d3e4
Moved around more classes in core.
2022-08-17 16:01:01 +02:00
be16fe23ad
Moved the error macros.
2022-08-17 15:14:19 +02:00
220b2db443
Moved String and related classes under a string folder in core.
2022-08-17 14:19:55 +02:00
dc9cc716c7
Moved Object related classes under core/object.
2022-08-17 13:45:14 +02:00
388b88678e
Moved container related classes in core under a new containers directory.
2022-08-17 12:53:49 +02:00