Commit graph

303 commits

Author SHA1 Message Date
nukeykt
941e47cc61 Start rewriting input code 2019-11-21 23:59:58 +01:00
nukeykt
4dcde5dde7 Fix air meter in status bar 2019-11-21 23:59:57 +01:00
nukeykt
308885d92c Fix and improve background drawing code 2019-11-21 23:59:56 +01:00
nukeykt
308f36d0e8 Make screensize independent on screen resolution 2019-11-21 23:59:55 +01:00
nukeykt
eea4fa80f1 Rough approximation of PLUs using gl fog
This includes GLOBAL_NO_GL_TILESHADES fix from Fox

# Conflicts:
#	source/build/include/polymost.h
#	source/build/src/palette.cpp
#	source/build/src/polymer.cpp
#	source/build/src/polymost.cpp
#	source/build/src/polymost1Frag.glsl
2019-11-21 23:59:53 +01:00
nukeykt
200cfa45f5 Fix torch palette remapping 2019-11-21 23:52:33 +01:00
sirlemonhead
1a01ee6130 Fix (most) issues with status bar. Health markers and animations should now work. Air gauge still needs to be fixed. 2019-11-21 23:52:32 +01:00
sirlemonhead
5acd37d3ee Fix crash when pressing enter in Holly mode without typing anything (empty string buffer) 2019-11-21 23:52:31 +01:00
nukeykt
c2f30de350 Use correct formula for bullet hitscan 2019-11-21 23:52:29 +01:00
nukeykt
d85c5d8dd8 This should be unsigned 2019-11-21 23:52:28 +01:00
nukeykt
e948d78fd0 Backport horiz correction code for polymost
# Conflicts:
#	source/build/include/polymost.h
#	source/build/src/polymost.cpp
2019-11-21 23:27:12 +01:00
nukeykt
ff6820aa92 Rework green palette and torch effects to not modify palookup array
In other words make these effects polymost friendly
2019-11-21 23:22:41 +01:00
sirlemonhead
e0255789da Set Queen health to correct values. Had been lowered for testing purposes. 2019-11-21 23:22:39 +01:00
sirlemonhead
c06526f24b Fix typo in RefreshBackground(), for viewable area resizing 2019-11-21 23:22:38 +01:00
nukeykt
aa4bf2bb26 Fix palette corruption 2019-11-21 23:22:37 +01:00
sirlemonhead
11845bb247 World map code fixes and tidying. Should now work correctly. Fixes issue #4 2019-11-21 23:21:38 +01:00
nukeykt
57ae890140 More gl related palette fixes 2019-11-21 23:21:37 +01:00
nukeykt
aa922dcd25 Implement tint in gl modes
# Conflicts:
#	source/build/include/palette.h
#	source/build/src/palette.cpp
#	source/build/src/sdlayer.cpp
#	source/build/src/sdlayer12.cpp
#	source/build/src/winlayer.cpp
2019-11-21 23:21:35 +01:00
nukeykt
2ef835fcb8 Rework palette related code. This fixes black screen issue with polymost 2019-11-21 23:19:38 +01:00
nukeykt
89552466d3 Fix sprite shading, cleanup analyzesprites 2019-11-21 23:19:37 +01:00
nukeykt
54621d20d2 Add widescreen aspect correction 2019-11-21 23:19:36 +01:00
sirlemonhead
1dda8027ab Fix Sector effect Lotag 24 not working. Fixes issue #5 2019-11-21 23:19:35 +01:00
sirlemonhead
0f383cbe5c Revert "Fix Issue #5"
This reverts commit 800a900958ce66c7f16c2381e0612f4aaa0ff9af.
2019-11-21 23:19:34 +01:00
sirlemonhead
14fc2a76cf Fix Issue #5
Was incorrectly passing floorz instead of ceilingz to BuildElevC()
2019-11-21 23:19:32 +01:00
nukeykt
d4bdf01958 Fix bullets 2019-11-21 23:19:31 +01:00
nukeykt
83a4485140 Clean up bullet code a bit 2019-11-21 23:19:30 +01:00
nukeykt
a1ce0830db Clipmask fix 2019-11-21 23:18:14 +01:00
nukeykt
e9d2a25f7f Add exhumed collision emulation 2019-11-21 23:14:42 +01:00
nukeykt
721ab04da1 Fix sound pitch shifting 2019-11-21 23:10:19 +01:00
nukeykt
bda7eb58f2 Uncomment sound calls 2019-11-21 23:10:18 +01:00
nukeykt
fe7cbf87b7 Sound code fixes 2019-11-21 23:10:17 +01:00
sirlemonhead
213437deea Fixed incorrect code flow in menu_NewGameMenu() function. 2019-11-21 23:10:16 +01:00
sirlemonhead
b97c9d119c Revert "Fixed incorrect code flow in menu_NewGameMenu() function."
This reverts commit e3926772d1f80ea64450d6bda0bd281345a21b2f.
2019-11-21 23:10:14 +01:00
sirlemonhead
df4d4cc009 Fixed incorrect code flow in menu_NewGameMenu() function. 2019-11-21 23:10:13 +01:00
sirlemonhead
9d5a6ac807 Fix lava floor and crushing ceilings not damaging the player. Fixes issues #2 and #3 2019-11-21 23:10:12 +01:00
nukeykt
bf07930b8c wip 2019-11-21 23:10:11 +01:00
nukeykt
6c9e6a3bfc Sound wip
# Conflicts:
#	source/audiolib/include/fx_man.h
#	source/audiolib/include/multivoc.h
2019-11-21 23:09:04 +01:00
nukeykt
6f0163af45 Add reverse engineered sound code 2019-11-21 23:06:53 +01:00
nukeykt
67f370f17c Fix compile error 2019-11-21 23:05:08 +01:00
nukeykt
48d95eee00 Fix skies 2019-11-21 23:01:38 +01:00
nukeykt
3b40420b84 Hopefully fix overwritesprite issues 2019-11-21 23:01:37 +01:00
nukeykt
664596e369 clean up GetLocalInput 2019-11-21 23:01:35 +01:00
nukeykt
a00d0f5986 Fix level restart 2019-11-21 23:01:34 +01:00
nukeykt
0023ae625d Make status bar code polymost friendly 2019-11-21 23:01:33 +01:00
nukeykt
48b9ca7f7f Minor fixes 2019-11-21 23:01:32 +01:00
nukeykt
b13e57efa4 Clean up game loop function 2019-11-21 23:01:31 +01:00
nukeykt
6b2ebdd444 Fix input, fix menu crash 2019-11-21 23:01:29 +01:00
nukeykt
c458223f9d Fix level loading 2019-11-21 23:01:28 +01:00
nukeykt
708483ca78 wip 2019-11-21 22:59:46 +01:00
nukeykt
e0858d501c Game compiles now
# Conflicts:
#	platform/Windows/exhumed.vcxproj
#	platform/Windows/exhumed.vcxproj.filters
2019-11-21 22:59:45 +01:00
nukeykt
50349a6b3d wip
# Conflicts:
#	platform/Windows/exhumed.vcxproj
#	platform/Windows/exhumed.vcxproj.filters
#	source/build/include/build.h
#	source/build/src/palette.cpp
2019-11-21 22:59:33 +01:00
nukeykt
738aca5fe9 wip 2019-11-21 22:54:42 +01:00
nukeykt
936ce5a866 wip
# Conflicts:
#	platform/Windows/exhumed.vcxproj
#	platform/Windows/exhumed.vcxproj.filters
2019-11-21 22:52:46 +01:00