Eugene Sandulenko
d1a909d6c9
HPL1: Fix warnings
2022-12-23 14:04:00 +01:00
grisenti
c010a76731
HPL1: fix use of input parametrs in shader code
2022-12-23 14:04:00 +01:00
grisenti
9088e974fc
HPL1: fix wrong variables in loop
2022-12-23 14:04:00 +01:00
grisenti
d2e0084024
HPL1: fix fallthrough in case statement
2022-12-23 14:04:00 +01:00
D G Turner
cea34770ba
HPL1: Correct Function Call Parameter in 3D Renderer Graphics Code
...
This parameter is an int, not a pointer hence passing NULL to this
causes a compiler warning.
2022-12-23 14:04:00 +01:00
D G Turner
93420be1f7
HPL1: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
2022-12-23 14:04:00 +01:00
D G Turner
31a0f13b17
HPL1: Comment Unused Variable Causing Compiler Warning in Overture Code
2022-12-23 14:03:59 +01:00
D G Turner
1ef5a8194f
HPL1: Fix Signed vs. Unsigned Comparison GCC Warnings in Overture Code
2022-12-23 14:03:59 +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
52a350773d
HPL1: Fix Signed vs. Unsigned Comparison GCC Warning in Engine String Class
2022-12-23 14:03:59 +01:00
D G Turner
c21269a615
HPL1: Fix Unused Variable GCC Compiler Warnings in Penumbra Overture Code
2022-12-23 14:03:59 +01:00
D G Turner
bffe62b1c1
HPL1: Fix Signed vs. Unsigned Comparison GCC Warnings in Text Box Widget
2022-12-23 14:03:59 +01:00
D G Turner
1cc005c871
HPL1: Fix GCC Fallthrough Warning in Effect Handler Code
...
It is unclear if this is intentional, so this is marked with a FIXME
comment.
2022-12-23 14:03:59 +01:00
D G Turner
ac7ef360b1
HPL1: Remove Set But Unused Variables from Save Effect Handler Code
2022-12-23 14:03:59 +01:00
D G Turner
8e596f5956
HPL1: Remove Set But Unused Variables in Newton Physics World Update Code
...
GCC emits a warning on these if -Wunused-but-set-variable is passed.
2022-12-23 14:03:58 +01:00
D G Turner
4f35777b7c
HPL1: Fix GCC Compiler Fallthrough Warnings in TinyXML Parser Code
...
These are intended as per the earlier comment.
2022-12-23 14:03:58 +01:00
D G Turner
941946918e
HPL1: Remove Dead Code from Engine Math Classes
...
This generates GCC Compiler Warnings when -Wunused-variable and
-Wunused-but-set-variable are passed to GCC.
2022-12-23 14:03:58 +01:00
D G Turner
17bb4057dd
HPL1: Fix Shadowing Warning in Engine Sub Mesh Entity Code
...
This is emitted if -Wshadow is passed to GCC.
2022-12-23 14:03:58 +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
3f77311c6e
HPL1: Fix Misleading Indentation in Newton Shape Collision Function
...
This emits a warning when -Wmisleading-indentation is passed to GCC.
A quick review of the surrounding code suggests that the indentation
is a mistake, rather than missing braces, so no functional change from
this commit.
2022-12-23 14:03:58 +01:00
D G Turner
a170c19fb6
HPL1: Fix Bug in Game Script Functions Causing GCC Shadowing Warning
2022-12-23 14:03:58 +01:00
D G Turner
ea4f1c156d
HPL1: Fix GCC Compiler Warnings from Missing Debug Statement Formats
...
These will be emitted if -Wformat-security 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
D G Turner
1b4ce6ebad
HPL1: Fix Struct vs. Class Mismatch Causing GCC Compiler Warning
...
This is emitted if -Wmismatched-tags is passed to GCC.
2022-12-23 14:03:57 +01:00
D G Turner
b4af807761
HPL1: Remove Unecessary Semicolons Causing GCC Compiler Warnings
...
These warnings are emitted when -Wpedantic is passed to GCC.
2022-12-23 14:03:57 +01:00
grisenti
4a52032bde
HPL1: remove optimisations in collider creation
...
this fixes a problem with an entrance being blocked by wrong colliders
2022-12-23 14:03:57 +01:00
grisenti
d0dbf8fb5a
HPL1: fix issue with crane in level 11 not updating
2022-12-23 14:03:57 +01:00
grisenti
7fd63e902b
HPL1: fix material water and implement water shaders
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
2280049615
HPL1: check for equality with 0 on ray intersect
...
this fixes interactions with objects inside collision boxes
2022-12-23 14:03:56 +01:00
grisenti
1257df0654
HPL1: add array add-on for the scripting library
2022-12-23 14:03:56 +01:00
grisenti
5a6d6cb557
HPL1: fix string comparison
2022-12-23 14:03:56 +01:00
grisenti
a47377eeaf
HPL1: replace user config file usage
2022-12-23 14:03:56 +01:00
grisenti
e3b4ac75b3
HPL1: remove audio section from the game's menu
2022-12-23 14:03:56 +01:00
grisenti
63669c9552
HPL1: fix crash in language selection
2022-12-23 14:03:56 +01:00
grisenti
10f2042131
HPL1: implement loading from the launcher
2022-12-23 14:03:56 +01:00
grisenti
c9e0b7733c
HPL1: implement save loading method
2022-12-23 14:03:55 +01:00
grisenti
eabf877903
HPL1: update game's menu after pause
2022-12-23 14:03:55 +01:00
grisenti
8a85e1c2b9
HPL1: move hplMain to engine run
2022-12-23 14:03:55 +01:00
grisenti
3c005d841e
HPL1: implement removal of old save files
2022-12-23 14:03:55 +01:00
grisenti
ceeb9105cb
HPL1: fix bug in function that returns free save slot
2022-12-23 14:03:55 +01:00
grisenti
f0fdb51faf
HPL1: implement save deletion in the game
2022-12-23 14:03:55 +01:00
grisenti
0942081ad0
HPL1: override engine pause method
2022-12-23 14:03:55 +01:00
grisenti
f02bc0929a
HPL1: move saves after save effects
...
this improves the quality of the save screenshot taken for auto and spot saves.
2022-12-23 14:03:55 +01:00
grisenti
630623c997
HPL1: use standard naming scheme for saves
2022-12-23 14:03:54 +01:00
grisenti
fa822ef0c2
HPL1: implement thumbnail method in metaengine
2022-12-23 14:03:54 +01:00
grisenti
8f8617a5d7
HPL1: format opengl files
2022-12-23 14:03:54 +01:00
grisenti
7fac2674d7
HPL1: add basic support for extended save format
2022-12-23 14:03:54 +01:00
grisenti
3b87609666
HPL1: implement save detection
2022-12-23 14:03:54 +01:00
grisenti
a50e2e14ee
HPL1: fix error in xml library
2022-12-23 14:03:54 +01:00