diff options
author | aap <aap@papnet.eu> | 2020-07-27 15:38:12 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-07-27 15:38:12 +0200 |
commit | 2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be (patch) | |
tree | 2fce94f95b4f39656cc2dc2a76c93573793a3bea /src/core/SurfaceTable.h | |
parent | heli fixes (diff) | |
download | re3-2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be.tar re3-2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be.tar.gz re3-2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be.tar.bz2 re3-2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be.tar.lz re3-2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be.tar.xz re3-2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be.tar.zst re3-2e8048d0feacbfb5a8e3d75be8d00b3f8d45c3be.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/SurfaceTable.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/SurfaceTable.h b/src/core/SurfaceTable.h index 25b5e57d..1f16843d 100644 --- a/src/core/SurfaceTable.h +++ b/src/core/SurfaceTable.h @@ -54,6 +54,16 @@ enum struct CColPoint; +inline bool +IsSeeThrough(uint8 surfType) +{ + switch(surfType) + case SURFACE_GLASS: + case SURFACE_TRANSPARENT_CLOTH: + return true; + return false; +} + class CSurfaceTable { static float ms_aAdhesiveLimitTable[NUMADHESIVEGROUPS][NUMADHESIVEGROUPS]; |