grisenti
3b63afef6b
HPL1: disable c++11 features for angelscript
...
prevents the use of the type_traits header, missing on some platforms
2022-12-27 09:49:26 +01:00
elasota
60ec07250a
HPL1: Fix spammy warning in AngelScript
2022-12-25 15:54:52 +01:00
grisenti
a669751864
HPL1: fix warnings
...
could't find a better solution that doesn't need to modify library code
2022-12-23 14:04:23 +01:00
grisenti
53363ce2c7
HPL1: remove global cleanup class
2022-12-23 14:04:23 +01:00
Eugene Sandulenko
9cdcde7ea5
HPL1: Fix more warnings
2022-12-23 14:04:22 +01:00
Eugene Sandulenko
224e3fee5f
HPL1: Rename Hpl1::set:: to Hpl1::Set:: namespace
2022-12-23 14:04:21 +01:00
Eugene Sandulenko
08311ab215
HPL1: Fix more warnings
2022-12-23 14:04:19 +01:00
Eugene Sandulenko
0fb2d3c8db
HPL1: Fix more warnings
2022-12-23 14:04:19 +01:00
Eugene Sandulenko
ae1dc3c285
HPL1: Fix warnings
2022-12-23 14:04:17 +01:00
Eugene Sandulenko
7e75e4684d
HPL1: Run astyle over libraries
2022-12-23 14:04:17 +01:00
grisenti
80c5519886
HPL1: replace qsort with Common::sort
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
cb965171e9
HPL1: remove std::map use in angelscript add-on
2022-12-23 14:04:16 +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
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
grisenti
4181cc7ae1
HPL1: replace std::set with Hpl1::std::set
2022-12-23 14:04:12 +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
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
D G Turner
605756f515
HPL1: Fix Enumerated vs. Non-Enumerated Conditional GCC Compiler Warning
2022-12-23 14:04:07 +01:00
D G Turner
158ea72be6
HPL1: Fix GCC Compiler Undefined Symbol Warnings in Angelscript String Code
...
These are emitted if -Wundef is passed to GCC.
2022-12-23 14:04:05 +01:00
D G Turner
0bbf3899b2
HPL1: Fix Undefined Symbol Warning in Angelscript Compiler Code
...
This is emitted if -Wundef is passed to GCC.
2022-12-23 14:03:59 +01:00
D G Turner
bec138584c
HPL1: Fix Various Cast Qualifier GCC Warnings in Anglescript Array Code
...
These are emitted when -Wcast-qual is passed to GCC.
2022-12-23 14:03:58 +01:00
D G Turner
3f040f0bf0
HPL1: Fix Various GCC Shadowing Warnings in Angelscript Library
...
These are emitted if -Wshadow is passed to GCC.
2022-12-23 14:03:57 +01:00
grisenti
95ccf4fd70
HPL1: allow if with empty statements in scripts
...
without this, 'level01_12_water_cave_tunnels.hps' line 669 failes to compile
2022-12-23 14:03:57 +01:00
grisenti
1257df0654
HPL1: add array add-on for the scripting library
2022-12-23 14:03:56 +01:00
grisenti
6c6cb16bd1
HPL1: remove unused scripting calling conventions
2022-12-23 14:03:39 +01:00
grisenti
a9290eeb6d
HPL1: add and replace angelscript add-ons
2022-12-23 14:03:37 +01:00
grisenti
98c92aba29
HPL1: add angelscript code
2022-12-23 14:03:37 +01:00
grisenti
6c2973bf50
HPL1: add engine code
2022-12-23 14:03:25 +01:00