Commit Graph
137148 Commits
Author SHA1 Message Date
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
D G Turner f253aac8f4 HPL1: Fix Fallthrough GCC Compiler Warnings in Angelscript Library Code 2022-12-23 14:04:10 +01:00
D G Turner 22e9977a65 HPL1: Fix Implicit Fallthrough GCC Compiler Warnings in Grid Map 2D Code 2022-12-23 14:04:10 +01:00
Eugene Sandulenko d3b09efda9 HPL1: Fix compilation 2022-12-23 14:04:10 +01:00
grisenti da41603796 HPL1: remove explicit string conversions 2022-12-23 14:04:09 +01:00
grisenti a4cfa2657f HPL1: remove temporary string compatibility fixes 2022-12-23 14:04:09 +01:00
grisenti 4c6c678769 HPL1: replace std::(w)string usage in engine code 2022-12-23 14:04:09 +01:00
D G Turner fc5bda73fa HPL1: Further Fixes for GCC Shadowing Warnings in Newton Physics 2022-12-23 14:04:09 +01:00
grisenti 78a528792b HPL1: remove unused code for managing directories 2022-12-23 14:04:09 +01:00
grisenti ab03db95f7 HPL1: fix wrong variable use in newton code 2022-12-23 14:04:09 +01:00
D G Turner 0e3c23fc9d HPL1: Further Fixes for GCC Shadowing Warnings in Newton Physics 2022-12-23 14:04:09 +01:00
D G Turner 7f6929771b HPL1: Further Fixes For GCC Compiler Shadowing Warnings in Newton Physics 2022-12-23 14:04:09 +01:00
D G Turner 2860ff2c1c HPL1: Further GCC Compiler Shadowing Warning Fixes for Newton Physics 2022-12-23 14:04:08 +01:00
grisenti 4cd3902fb0 HPL1: replace std::list with Common::List 2022-12-23 14:04:08 +01:00
D G Turner d60d57f86e HPL1: Further Fixes for GCC Shadowing Warnings in Newton Physics Library
These are emitted if -Wshadow is passed to GCC.
2022-12-23 14:04:08 +01:00
grisenti af0dea70c0 HPL1: fix range in random number generator 2022-12-23 14:04:08 +01:00
grisenti 2df5054417 HPL1: remove rand usage 2022-12-23 14:04:08 +01:00
D G Turner fb96678f50 HPL1: Further Fixes for GCC Shadowing Compiler Warnings in Newton Library 2022-12-23 14:04:08 +01:00
D G Turner d0e388671d HPL1: Further GCC Compiler Shadowing Warning Fixes 2022-12-23 14:04:08 +01:00
D G Turner 74cc0517a1 HPL1: Fix Type Limits GCC Compiler Warnings in Angelscript String Interface
These functions accept the start parameter as an unsigned value and thus
the value can never be less than zero, thus this check is redundant.

There is a later function which does accept a signed value for the start
in the Angelscript interface and this is left intact.
2022-12-23 14:04:08 +01:00
grisenti 2c2509bcb6 HPL1: disable texture wrap options in tgl texture 2022-12-23 14:04:07 +01:00
D G Turner 060031ebff HPL1: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2022-12-23 14:04:07 +01:00