Commit Graph
77 Commits
Author SHA1 Message Date
D G Turner 2eb81f3011 HPL1: Remove Duplicate Branch Causing GCC Compiler Warning 2023-01-07 15:15:10 +00:00
elasota e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Eugene Sandulenko f7026c047c HPL1: Remove usage of std::abs 2022-12-23 14:04:22 +01:00
grisenti 5cce4db808 HPL1: fix warnings 2022-12-23 14:04:21 +01:00
Eugene Sandulenko 224e3fee5f HPL1: Rename Hpl1::set:: to Hpl1::Set:: namespace 2022-12-23 14:04:21 +01:00
grisenti 6c697ab1b5 HPL1: fix globals in material classes 2022-12-23 14:04:20 +01:00
grisenti 4571fc3e2c HPL1: fix warnings 2022-12-23 14:04:19 +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 81138eb006 HPL1: replace std::map with Hpl1::std::map 2022-12-23 14:04:13 +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 4181cc7ae1 HPL1: replace std::set with Hpl1::std::set 2022-12-23 14:04:12 +01:00
grisenti a373f201d5 HPL1: replace std::vector with Common::Array 2022-12-23 14:04:11 +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
grisenti 4cd3902fb0 HPL1: replace std::list with Common::List 2022-12-23 14:04:08 +01:00
D G Turner c91737c5f5 HPL1: Change Image Entity Handle From Unsigned to Signed Vector Type
This should be signed as comparison with -1 is used to check for validity.

This fixes various signed vs. unsigned comparison warnings emitted by
GCC at compilation.
2022-12-23 14:04:06 +01:00
grisenti 304a2df165 HPL1: add basic tinygl impl classes 2022-12-23 14:04:03 +01:00
grisenti 95791efb81 HPL1: rename shaders 2022-12-23 14:04:02 +01:00
D G Turner 5c1bcaf01a HPL1: Fix Likely Cut and Paste Code Error Causing GCC Compiler Warning 2022-12-23 14:04:01 +01:00
grisenti fdaa24b34b HPL1: remove double assignment 2022-12-23 14:04:00 +01:00
grisenti 757ed9b608 HPL1: implement Material_EnvMap_Reflect class 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 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 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 7fd63e902b HPL1: fix material water and implement water shaders 2022-12-23 14:03:57 +01:00
grisenti 39a545f740 HPL1: remove ATI fragment shader enum and fix comments 2022-12-23 14:03:51 +01:00
grisenti 584f1aaf4e HPL1: unify checks for shaders 2022-12-23 14:03:51 +01:00
grisenti 808f6c68a2 HPL1: cleanup material fallback classes 2022-12-23 14:03:51 +01:00
grisenti e01139bbfc HPL1: enable class used for low graphics setting 2022-12-23 14:03:51 +01:00
grisenti 8ed22968fc HPL1: move ambient shader setup and remove duplicate 2022-12-23 14:03:51 +01:00
grisenti 0d8ac87aca HPL1: fix wrong conditional 2022-12-23 14:03:50 +01:00
grisenti a16a4aa8f7 HPL1: implement material class for medium graphics 2022-12-23 14:03:50 +01:00
Paweł Kołodziejski a726df6451 HPL1: Put assert on unhandled case in iMaterial_BaseLight::getGpuProgram() 2022-12-23 14:03:49 +01:00
Paweł Kołodziejski 0ee8e7e915 HPL1: Fixed unused or shadow variables compiler warnings 2022-12-23 14:03:49 +01:00
grisenti c7301270e5 HPL1: fix shader getter in material additive 2022-12-23 14:03:48 +01:00
Paweł Kołodziejski 5c90f1612f HPL1: Remove trailing semicolons 2022-12-23 14:03:47 +01:00
grisenti 9931ba9458 HPL1: fix deletion of invalid shader 2022-12-23 14:03:46 +01:00
grisenti 4c723d5938 HPL1: fix memory leak and warning in bitmap2D 2022-12-23 14:03:45 +01:00
grisenti fffb115212 HPL1: cleanup automatically added headers 2022-12-23 14:03:43 +01:00
grisenti e79425c75e HPL1: fix shader destruction in Material_Alpha 2022-12-23 14:03:43 +01:00
grisenti 001a8c7879 HPL1: remove separate shader usage 2022-12-23 14:03:41 +01:00
grisenti 1111f30594 HPL1: fix bug with shader name concatenation 2022-12-23 14:03:41 +01:00
grisenti 30fe64422e HPL1: replace shader implementation and use 2022-12-23 14:03:40 +01:00
grisenti acfcb879c4 HPL1: remove shader creation 2022-12-23 14:03:38 +01:00
grisenti a9b02db1df HPL1: fix bugs in bitmap2D and fix font rendering 2022-12-23 14:03:35 +01:00