Commit Graph

136519 Commits

Author SHA1 Message Date
grisenti
4f27acda36
HPL1: replace uint with unsigned
this fixes build errors on windows
2022-12-23 14:04:17 +01:00
grisenti
e6064bd291
HPL1: fix missing return statement 2022-12-23 14:04:16 +01:00
grisenti
80c5519886
HPL1: replace qsort with Common::sort 2022-12-23 14:04:16 +01:00
grisenti
a252ea4cf3
HPL1: remove unused files 2022-12-23 14:04:16 +01:00
grisenti
90d9e0407a
HPL1: remove unused system headers 2022-12-23 14:04:16 +01:00
grisenti
c96deb63e9
HPL1: fix memory leak 2022-12-23 14:04:16 +01:00
grisenti
04c611f015
HPL1: fix insert method in Hpl1::std::map 2022-12-23 14:04:16 +01:00
grisenti
cb965171e9
HPL1: remove std::map use in angelscript add-on 2022-12-23 14:04:16 +01:00
grisenti
d5762cd762
HPL1: fix heap use after free 2022-12-23 14:04:16 +01:00
grisenti
eab1cbd3cf
HPL1: add removeIf to algorithm header 2022-12-23 14:04:15 +01:00
grisenti
9296d9aea4
HPL1: improve Hpl1::std::*map erase method 2022-12-23 14:04:15 +01:00
grisenti
eb78910594
HPL1: remove unused includes 2022-12-23 14:04:15 +01:00
grisenti
a804c81f29
HPL1: remove std::string from angelscript add-ons 2022-12-23 14:04:15 +01:00
grisenti
e0731245f0
HPL1: fix compilation 2022-12-23 14:04:15 +01:00
grisenti
784915388b
HPL1: remove unused header in Hpl1::std::map 2022-12-23 14:04:15 +01:00
grisenti
125de63a68
HPL1: remove std::string from MemoryManager 2022-12-23 14:04:15 +01:00
grisenti
13a7b1379a
HPL1: replace instance of std::min and std::max 2022-12-23 14:04:15 +01:00
grisenti
084155c2fe
HPL1: replace std::greater with Common::Greater 2022-12-23 14:04:14 +01:00
grisenti
c4d83a8e9b
HPL1: remove unused standard library headers 2022-12-23 14:04:14 +01:00
grisenti
e68551b516
HPL1: replace std::multimap -> Hpl1::std::multimap 2022-12-23 14:04:14 +01:00
grisenti
df31024236
HPL1: add std::multimap replacement 2022-12-23 14:04:14 +01:00
grisenti
d4d0f6a372
HPL1: fix compairison in Hpl1::std::map 2022-12-23 14:04:14 +01:00
grisenti
98daf3635a
HPL1: remove equality compairisons in Hpl1::std::map 2022-12-23 14:04:14 +01:00
grisenti
167483079e
HPL1: cleanup loop implementation 2022-12-23 14:04:14 +01:00
grisenti
452debbed8
HPL1: fix formatting 2022-12-23 14:04:13 +01:00
grisenti
edffe61371
HPL1: fix use after free
The stl std::map does not invalidate iterators on erase, its replacement does.
2022-12-23 14:04:13 +01:00
grisenti
0eafb65d43
HPL1: fix formatting 2022-12-23 14:04:13 +01:00
grisenti
b586b4bd71
HPL1: cleanup Hpl1::std::map 2022-12-23 14:04:13 +01:00
grisenti
2e0cb7b5da
HPL1: add upper/lowerBound to algorithm header 2022-12-23 14:04:13 +01:00
grisenti
81138eb006
HPL1: replace std::map with Hpl1::std::map 2022-12-23 14:04:13 +01:00
grisenti
912403d72e
HPL1: add Hpl1::std::map and Hpl1::std::pair
the map implementation is copied from ags/std/lib but includes some changes.
2022-12-23 14:04:13 +01:00
D G Turner
0380cfb41f
HPL1: Fix Compilation
While these system headers should be removed in future, removing these
currently breaks the build. Have marked the restored headers with FIXME
comments for reference.
2022-12-23 14:04:12 +01:00
Eugene Sandulenko
65ee75176f
HPL1: Removed more system includes 2022-12-23 14:04:12 +01:00
Eugene Sandulenko
8641896f01
HPL1: sprintf -> snprintf 2022-12-23 14:04:12 +01:00
Eugene Sandulenko
bdcd3ff81a
HPL1: Remove <string.h> includes 2022-12-23 14:04:12 +01:00
grisenti
fe212f664d
HPL1: replace std::multiset with Hpl1::std::multiset 2022-12-23 14:04:12 +01:00
grisenti
87f4c2a656
HPL1: improve search for std::set replacement 2022-12-23 14:04:12 +01:00
grisenti
4181cc7ae1
HPL1: replace std::set with Hpl1::std::set 2022-12-23 14:04:12 +01:00
grisenti
25ac4c8e4b
HPL1: add std::set implementation
copied from ags/lib/std.
Includes an additional erase implementation and a different (in)equality check
2022-12-23 14:04:11 +01:00
D G Turner
b4a8a249d1
HPL1: Fix Memset on Non-Trivial Structure GCC Compiler Warning 2022-12-23 14:04:11 +01:00
grisenti
a373f201d5
HPL1: replace std::vector with Common::Array 2022-12-23 14:04:11 +01:00
grisenti
3705c8c5b4
HPL1: create algorithms header 2022-12-23 14:04:11 +01:00
D G Turner
6442dc1c23
HPL1: Further Fix For GCC Memset on Non-Trivial Structure Compiler Warning 2022-12-23 14:04:11 +01:00
D G Turner
0fdd6cb20a
HPL1: Fix GCC Warning for Memset of Non-Trivial Structure 2022-12-23 14:04:11 +01:00
D G Turner
fddac1b1ba
HPL1: Fix Remaining GCC Shadowing Warnings in Newton Physics Code 2022-12-23 14:04:11 +01:00
grisenti
e16c50932d
HPL1: remove static Common::String usage 2022-12-23 14:04:11 +01:00
grisenti
5fbabcd79d
HPL1: add static string class 2022-12-23 14:04:10 +01:00
D G Turner
f84fcd859c
HPL1: Further Fixes for GCC Compiler Shadowing Warnings in Newton Physics 2022-12-23 14:04:10 +01:00
D G Turner
c84c49f8c2
HPL1: Fix Various Shadowing GCC Compiler Warnings in Newton Physics Code 2022-12-23 14:04:10 +01:00
D G Turner
f84ac3b461
HPL1: Fix Remaining Fallthrough GCC Compiler Warnings 2022-12-23 14:04:10 +01:00