summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-12cmake: don’t look for avresampleTimotej Lazar
It’s not used and was dropped from ffmpeg.
2022-06-12Bink: replace AVFrame.channel_layout with .channelsTimotej Lazar
Replace again with .ch_layout when ffmpeg finish changing their mind.
2020-11-14Implement music in menusTimotej Lazar
2020-06-03Bink: remove redundant audio info from binkMovieTimotej Lazar
Read the sample rate and number of channels from individual audio frames.
2020-06-03Bink: reorder and rename binkMovie fieldsTimotej Lazar
2020-06-03Bink: add a queue for video framesTimotej Lazar
Decode one or more video frames in advance. This prevents the input stream blocking while waiting for video packets to be drained, and makes the playback smoother. Also factor out reclamation of processed audio buffers, which is now independent from decoding new packets.
2020-05-31Bink: minor reorder in AL initTimotej Lazar
2020-05-31Bink: remove useless memsetTimotej Lazar
Actual audio data is copied over it anyway.
2020-05-31Bink: s/ReadFrame/ReadPacketTimotej Lazar
2020-05-31Bink: simplify AL buffer reclamation codeTimotej Lazar
2020-05-31Bink: move format-independent AL initialization to BinkStartMovieTimotej Lazar
2020-05-31Bink: fix audio sample conversionTimotej Lazar
2020-05-30Bink: free sws context when destroying a movieTimotej Lazar
2020-05-30Bink: clean up headers and formattingTimotej Lazar
2020-05-30Replace deprecated ffmpeg functions and typesTimotej Lazar
Refactor and update decoding functions. Use absolute frame times to maintain consistent video FPS.
2020-05-30Remove deprecated ffmpeg initializationTimotej Lazar
2020-05-30Const correct (most) stringsTimotej Lazar
At least those cases that are reported by gcc and/or clang.
2020-05-30Include bink.h where neededTimotej Lazar
2020-05-21Enable SDL2 codeTimotej Lazar
Apparently it works (for me).
2020-05-21Remove stub definition for WaterFallBaseTimotej Lazar
It’s defined in opengl.c and gcc≥10 rejects multiple definitions.
2020-04-23Include the --debug option in help textTimotej Lazar
2020-04-23Remove extraneous parens from ifsTimotej Lazar
Reported by clang.
2020-04-23Use strcat instead of strncat for a constant stringTimotej Lazar
GCC complains otherwise.
2020-04-23Fix format conversion specifiers for pointersTimotej Lazar
Use %p instead of %x + cast to int. Reported by GCC.
2020-04-23Fix single-player menu initializerTimotej Lazar
Without a designator the first member of the union is initialized, which makes clang warn about conversion between enums.
2020-04-23Don’t discard const when copying a pointerTimotej Lazar
Reported by GCC.
2020-04-23Compare return value of strncmp to 0, not NULLTimotej Lazar
2020-04-23Don’t return a value from void functionTimotej Lazar
2020-04-23Add missing field initializers to damage profile definitionsTimotej Lazar
Cannot be _sure_ which values are missing, but looking at the usage it’s likely MakeExitWounds, which is only set for bullets.
2020-04-23Remove accidental semicolonTimotej Lazar
Reported by clang.
2020-04-23Fix an off-by-one in ScanHModelForDecalsTimotej Lazar
VECTORCH has four elements. Reported by GCC.
2020-04-23Fix an off-by-one error in key config menuTimotej Lazar
When checking for user input in the keyboard config menu, a read past the end of the DebouncedKeyboardInput array returned a nonzero value on some systems, which prevented setting a valid binding.
2020-04-23Fix crash in DrawMainMenusBackdropTimotej Lazar
Remove some obsolete and dysfunctional code that was triggered when binked menu background was implemented.
2019-08-20updated READMEneuromancer
2019-08-20merged support for playing bink cutscenes and added 1366x768 resolutiongaa-cifasis
2019-08-20added libav to cmakegaa-cifasis
2019-08-20Import icculus.org release (2017-05-05)Steven Fuller
2019-08-20Import icculus.org release (2015-02-14)Steven Fuller
2019-08-20Import icculus.org release (2014-12-25)Steven Fuller
2019-08-20Switched openal-config with pkg-config openal.Steven Fuller
2019-08-20Removed obsolete SI-era OpenAL initialization.Steven Fuller
2019-08-20Trying out using alpha test to emulate color keying.Steven Fuller
The original D3D code used SetColorKey to remove the transparent bits from certain textures, like the HUD alien tail. As there's no straightforward way to do this in OpenGL without using fragment programs, enable alpha test to reject fragments with zero alpha. This might break a few things that have alpha set to zero when translucency is off -- I fixed the few cases that I found.
2019-08-20Added the missing support for static on the televisions.Steven Fuller
2019-08-20Removed D3DOverlayColourControl.Steven Fuller
2019-08-20Fixed graphics issues with the alien sense vision mode.Steven Fuller
2019-08-20CFLAGS tweaks.Steven Fuller
2019-08-20Adjusted the polygon offset to a more reasonable value.Steven Fuller
2019-08-20Tweaked polygon offset usage.Steven Fuller
Tweaked the values used for glPolygonOffset, as the previous values caused rendering issues with the fire in temple. The new values probably reintroduce decal z-fighting with blood and bulletmarks, but the fire z-fighting was a bigger issue.
2019-08-20Changed rhw into w as that was how it was used. Also fixed a few warnings.Steven Fuller
2019-08-20Try not being so lame with the sound initialization.Steven Fuller