Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh pull #1

Open
wants to merge 540 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
540 commits
Select commit Hold shift + click to select a range
fbd1888
Debugger: Make "Filename" colums wider
DanielGibson Jul 13, 2021
6211d6e
Debugger: Implement List of Breakpoints
DanielGibson Jul 13, 2021
b9833e7
- Fixed Once Breakpoints
Jul 13, 2021
5c3d95e
- Added line nrs to script richedit
Jul 14, 2021
764d23a
- fixed lnr range after zoom/resize
Jul 14, 2021
c3d77ab
Script Debugger: Support line numbers up to 9999
DanielGibson Jul 15, 2021
ae2d3a7
Support (hopefully) all keyboard keys via scancodes, #323
DanielGibson Jul 3, 2021
24a6643
Add explicit support for Right Ctrl and Right Shift keys, #323
DanielGibson Jul 3, 2021
f88812c
Add in_grabKeyboard CVar to grab keyboard if mouse is grabbed, #323
DanielGibson Jul 3, 2021
786e5a3
Add a Changelog
DanielGibson Jul 3, 2021
78ab625
Improve handling of "console key", add in_ignoreConsoleKey CVar
DanielGibson Jul 12, 2021
cdf9987
Mention console-key related changes in Changelog.md
DanielGibson Jul 12, 2021
a766002
Fix usage of invalid pointer in idCompiler::CompileFile()
DanielGibson Jul 12, 2021
21f1ba3
Script Debugger: Scale script text according to DPI scaling
DanielGibson Jul 16, 2021
5e4e1d6
Merge branch 'debugger'
DanielGibson Jul 16, 2021
4d12093
Mention script debugger in changelog
DanielGibson Jul 16, 2021
06ff49c
Restore C++98 compatibility (NULL instead of nullptr)
DanielGibson Jul 17, 2021
4ce4896
SDL2: Better non-ASCII supprt (text input, scancode names)
DanielGibson Jul 18, 2021
0b00c78
- another margin size fix
Jul 18, 2021
5897ad0
correctly reset iconvDesc
Jul 18, 2021
6dbcf65
Shader Gamma: support "OUTPUT bla = result.color;" in frag. shaders
DanielGibson Jul 19, 2021
9818637
Update Changelog
DanielGibson Jul 19, 2021
78eef43
Fix rendering of mars globe in main menu with some drivers
DanielGibson Aug 17, 2021
f6bfdd1
Fix runtime assert on PPC OS X
SiliconExarch Aug 26, 2021
443802b
Fix D3_ARCH (work around CMake being useless)
DanielGibson Sep 13, 2021
4f0c54f
Fix compatibility with Mac OSX 10.4 and 10.5
SiliconExarch Aug 27, 2021
ad327d3
Add support for GL_ATI_separate_stencil
DanielGibson Oct 12, 2021
0958d84
CMakeLists.txt: Make D3_ARCH/dumpmachine output prettier
DanielGibson Oct 12, 2021
3bf5522
SDL backend, macOs warning build fixes proposal.
devnexen Oct 18, 2021
4b97bbc
Update stb_vorbis to v1.22 and stb_image to v2.27
DanielGibson Oct 31, 2021
dcbe0b1
Print SDL2 "video driver" at startup
DanielGibson Nov 21, 2021
8e0d283
Prevent user from running dhewm3 as root.
wof8317 Dec 6, 2021
5becb2d
README: Recommend vcpkg for Windows, Update Mac instructions
DanielGibson Jan 5, 2022
df0916e
Mac: Fix RAM detection for >2GB
DanielGibson Jan 8, 2022
ea781c5
Use idStr::Copynz() instead of strncpy()
DanielGibson Jan 6, 2022
3e039ca
Fix misleading indentation in roq codec.cpp
DanielGibson Jan 7, 2022
8cb4843
Shorten file path in backtraces
DanielGibson Jan 8, 2022
00b58d1
Print available displays and mouse position before creating window
DanielGibson Jan 8, 2022
ae63021
Add absolute mouse mode and refactor mouse grabbing code
DanielGibson Jun 20, 2021
d679e39
Add D3_(v)snprintfC99() for C99-compatible implementations
DanielGibson Jan 10, 2022
4f74c15
Make sure MAX_OSPATH has sane size; fix some typos
DanielGibson Jan 16, 2022
952292b
POSIX: log output to save_path/dhewm3log.txt
DanielGibson Jan 16, 2022
5438c94
dhewm3log.txt for AROS
DanielGibson Jan 16, 2022
67d0b7c
dhewm3log.txt for Windows, update changelog
DanielGibson Jan 16, 2022
5f33566
CMake: (Theoretically) support Windows on ARM, try to unify ARM CPU n…
DanielGibson Jan 16, 2022
eff9fd6
GLimp_Init(): Log r_mode and resolution used for creating window
DanielGibson Jan 16, 2022
d34832e
Fix Mac build
DanielGibson Jan 17, 2022
815099f
Changelog: Mention #386
DanielGibson Jan 20, 2022
d09ccb8
If creating window fails, first try to reduce MSAA level, fix #440
DanielGibson Jan 24, 2022
699779e
Make window alpha chan opaque on Wayland, fix #426
DanielGibson Jan 22, 2022
adad73c
CMake: Fix typo in MSVC-specific CPU detection for x64
DanielGibson Feb 26, 2022
c22965b
Work around assertion in alphalabs4, fix #409
DanielGibson May 16, 2022
a363ab4
Update version to 1.5.2rc1
DanielGibson May 16, 2022
e8a1eb8
Fix mouse remaining ungrabbed when running map from Radiant
DanielGibson May 18, 2022
0f9e066
Fix running script debugger if fs_basepath is used
DanielGibson May 18, 2022
77e70b5
Add some missing newlines and fix typo in changelog
DanielGibson May 21, 2022
b88b99f
Fix assertion when switching to mod via menu, #458
DanielGibson May 24, 2022
2f92bc2
Support loading The Lost Mission and librecoopd3xp via mods menu
DanielGibson May 25, 2022
cdbb526
Add Doom3: Phobos to list of mods that need d3xp (STILL UNSUPPORTED!)
DanielGibson May 25, 2022
8601818
Disable assertion in idSampleDecoderLocal::Decode*(), fix #461
DanielGibson May 28, 2022
6dfada9
Update version to 1.5.2rc2
DanielGibson May 28, 2022
a2929d9
Fix Light Editor in Radiant (#456)
DanielGibson May 29, 2022
42b37b0
Include Linux metadata based on App Stream standard
Eonfge Jun 30, 2021
89c44d7
Make warning about falling back to base.dll more visible
DanielGibson Jun 8, 2022
2e71b99
dhewm3 1.5.2
DanielGibson Jun 13, 2022
cc0f49f
Remove deprecated warnings on mac for cString use.
Jul 7, 2022
177740c
Fix crash in Radiant Model Preview Dialog, fix #496
DanielGibson Oct 22, 2022
d0d00c0
Bump version to 1.5.3pre
DanielGibson Oct 22, 2022
4dcc7ef
StartSoundShader() event: special-case for soundName "", refs #494
DanielGibson Oct 31, 2022
e1e8103
HARDLINK_GAME option in cmake
DanielGibson Jun 22, 2021
2a85b73
Fix some ubsan warnings
DanielGibson Jun 22, 2021
a7e4eb8
Fix renderlights loaded from savegames aliasing other lights
DanielGibson Nov 6, 2022
ee4eced
Fix typo in game/Weapon.cpp from "Fix renderlights ..." commit
DanielGibson Dec 29, 2022
4567f26
Fix scaling down volume of all sounds, #179 #326
DanielGibson Dec 28, 2022
a6ba6cb
Add GCC/clang-specific CMake options: ASAN, UBSAN, FORCE_COLORED_OUTPUT
DanielGibson Dec 29, 2022
051abc0
Add build instructions for Linux/Ubuntu to README.md
DanielGibson Dec 29, 2022
6940d7f
Fix build with Visual Studio's builtin CMake support
DanielGibson Dec 30, 2022
279a40a
Fix -Wformat-security warnings - thanks James Addison!
DanielGibson Dec 29, 2022
5844af6
Don't use "register" keyword, it was deprecated in C++11
DanielGibson Jan 5, 2023
957176d
Fix GCC -W(maybe-)uninitialized warnings that at least kinda had a point
DanielGibson Jan 5, 2023
6730ddc
Work around false positive GCC -W(maybe-)uninitialized warnings
DanielGibson Jan 5, 2023
996947e
Fix -Wmismatched-new-delete warnings
DanielGibson Jan 5, 2023
dbe4174
Fix/work around other misc. compiler warnings
DanielGibson Jan 5, 2023
4772523
Fix date/time handling in idParser::ExpandBuiltinDefine()
DanielGibson Jan 5, 2023
07985cc
Fix MinGW build, #505
DanielGibson Jan 16, 2023
e7e06d0
Fix SDL1.2 build and type of xthreadInfo::threadId
DanielGibson Jan 16, 2023
dee76db
Increase stack size on Windows to 8MB, so huge models work
DanielGibson Jan 21, 2023
2de8c22
Fix MSVC + Tools build
DanielGibson Jan 21, 2023
604dc7c
Fix MD3 model support (esp. on 64bit)
DanielGibson Jan 29, 2023
95d8d75
Update Changelog, another small MD3 fix
DanielGibson Jan 29, 2023
d57f438
Fixup: typo: 'hiehgt' -> 'height' in a few places around the codebase
jayaddison Jan 11, 2023
85a6b3b
README: Update build instructions for newer versions of VS
DanielGibson Feb 12, 2023
56b3c46
Fix MSVC non-Release builds (_alloca()/assert() didn't play nice)
DanielGibson Mar 2, 2023
6f35ce0
_alloca16(): Use __builtin_alloca_with_align() on GCC
DanielGibson Mar 28, 2023
03fccc6
R_IssueEntityDefCallback() fix bounds check
DanielGibson Mar 28, 2023
b6365e9
CMake: Detect all variations of the clang compiler (hopefully)
DanielGibson May 19, 2023
7ea3e91
Added new screenshot formats.
eezstreet May 22, 2023
df4e840
Introduced cvar: 'r_screenshotPngCompression'
eezstreet May 23, 2023
c86cb9a
Use TGA in specific places
eezstreet May 23, 2023
b880e86
Use zlib for compression of png screenshots
eezstreet May 23, 2023
619c5d4
Optimization for screenshot flipping
eezstreet May 24, 2023
e74e8f5
Solution for not breaking SDK ABI
eezstreet May 24, 2023
d468e91
Made compress_for_stbiw static
eezstreet May 24, 2023
62f18c1
README: Update link to Steam
DanielGibson Jun 25, 2023
ba986a2
Merge branch 'eezstreet-screenshot-formats'
DanielGibson Jun 25, 2023
80ae0b0
Mention screenshot formats in Changelog
DanielGibson Nov 1, 2023
37b0551
Added 21:9 and 32:9 resolutions (#532)
fgsfds Nov 18, 2023
ab53e9a
Merge GameController support from Quadrilateral Cowboy
DanielGibson Jan 7, 2024
700b3ee
Clean up gamepad code a bit, rename buttons
DanielGibson Jan 8, 2024
f8557f6
Modified some code to compile
wof8317 Jan 15, 2024
6eac054
Various gamepad improvements
DanielGibson Jan 16, 2024
e0bb01e
Gamepad cursor control improvements
DanielGibson Jan 16, 2024
03ec74f
Make PDA work with gamepad, incl. making Pad A emulate leftclick
DanielGibson Jan 17, 2024
cf5d10f
Fix gamepad pseudo-mouse input for UIs in multiplayer mode
DanielGibson Jan 17, 2024
86690df
Add joy_gamepadLayout CVar to better support nintendo/PS-style gamepads
DanielGibson Jan 17, 2024
bb568bc
Gamepad layout autodetection (for SDL 2.0.12 and newer)
DanielGibson Jan 17, 2024
09c8920
Fix gamepad button names for nintendo gamepads
DanielGibson Jan 18, 2024
e7eb7d1
Improve Nintendo Pro Controller support
DanielGibson Jan 18, 2024
9e8d399
Further gamepad improvements
DanielGibson Jan 18, 2024
5b8e677
Also allow using "Pad Y" for leftclick in menus
DanielGibson Jan 22, 2024
d5f2dc4
Add and link Configuration.md and gamepad configs
DanielGibson Jan 22, 2024
c743d21
Merge branch 'controller-input'
DanielGibson Jan 22, 2024
94a208e
Configuration.md: Document the bindings in gamepad.cfg
DanielGibson Jan 22, 2024
e63b63f
Turn assertion in idRenderWorldLocal::BoundsInAreas() into Warning
DanielGibson Feb 3, 2024
9e3acf4
Update stb_image and stb_vorbis
DanielGibson Feb 4, 2024
8a3e0a3
1.5.3 RC1
DanielGibson Feb 4, 2024
6ed10c1
Workaround for MCST-LCC compiler < 1.28 version
r-a-sattarov Feb 1, 2024
606a6c8
Configuration.md: document CVars, link alternative gamepad configs
DanielGibson Feb 6, 2024
2595a2d
Update minizip source to latest code from zlib development branch
DanielGibson Feb 12, 2024
954620e
minizip/unzip.cpp: restore TRYFREE() macro
DanielGibson Feb 12, 2024
f6f654e
minizip: re-add doom3-specific changes
DanielGibson Feb 12, 2024
0d4405b
Merge branch 'minizip-update'
DanielGibson Feb 12, 2024
27aeda2
Make Sys_SetInteractiveIngameGuiActive() work better
DanielGibson Mar 17, 2024
fac06f0
1.5.3 RC2
DanielGibson Mar 17, 2024
6310f69
Fix cursor focus for gamepads, once again, #566
DanielGibson Mar 20, 2024
fb5eedb
Initialize variabls ubsan complained about
DanielGibson Mar 20, 2024
3504e69
added a simple printing of the key/button pressed (#567)
BielBdeLuna Mar 25, 2024
9ccce9b
in_namePressed: Only print key name on down events; document it
DanielGibson Mar 25, 2024
d6c0bb2
Make it build and work on old PPC Macs again (#568)
DanielGibson Mar 26, 2024
7804dae
Suppress GCC warnings about variables with C++20 keyword names
DanielGibson Mar 27, 2024
a454d96
dhewm3 1.5.3
DanielGibson Mar 29, 2024
9892438
Update changelog for 1.5.3
DanielGibson Mar 29, 2024
b565c6c
Fix desktop files
mnhauke Mar 29, 2024
6daf1e9
Don't use GCC's __builtin_alloca_with_align(), fix #572
DanielGibson Apr 19, 2024
f4446ca
Bump version to 1.5.4pre
DanielGibson May 22, 2024
07f7d14
Add Dear ImGui 1.90.4 source
DanielGibson Mar 20, 2024
33ed999
Integrate ImGui into buildsystem, adjust its OpenGL code for qgl
DanielGibson Mar 20, 2024
c0c82e7
Initial ImGui integration in the engine
DanielGibson Mar 27, 2024
8fce796
improve imgui integration
DanielGibson Mar 29, 2024
ffaf135
Start ImGui-based settings menu
DanielGibson Apr 5, 2024
86be2eb
initial support for DPI scaling of imgui
DanielGibson Apr 6, 2024
c9a8901
ImGui: Improve integration, use scalable font, Control Options menu
DanielGibson Apr 19, 2024
0418f62
Update ImGui to 1.90.6
DanielGibson May 10, 2024
7023475
Add idStr::(V)Format(), make idList compatible with C++ foreach
DanielGibson May 11, 2024
9e4fe84
Dhewm3SettingsMenu: some more joystick settings, stub of a binding menu
DanielGibson May 10, 2024
809bbfc
Workaround for missing " or " string in Doom3 demo for Windows
DanielGibson May 21, 2024
8554487
Dhewm3SettingsMenu: Get rid of obscureBindingEntries list
DanielGibson May 21, 2024
6d508ea
Some functions that will be used by the ImGui keybinding menu
DanielGibson May 22, 2024
2892e41
Add keybinding menu to Dhewm3SettingsMenu
DanielGibson May 22, 2024
ef529cf
Bind F10 to open dhewm3Settings menu, unless F10 is already bound
DanielGibson May 23, 2024
2e8cbc1
Allow saving ImGui Userstyles
DanielGibson May 24, 2024
5390653
Dhewm3SettingsMenu: Scroll within the tabs and similar tweaks
DanielGibson May 24, 2024
bb0511a
sys_imgui.cpp: Move code to read/write style to imgui_savestyle.cpp
DanielGibson May 25, 2024
fd36e8e
imgui_savestyle.cpp: use common->Warning() for warnPrintf()
DanielGibson May 25, 2024
99b65a3
Add WriteImGuiStyleToCode() to imgui_savestyle.cpp
DanielGibson May 25, 2024
894aa67
Dhewm3SettingsMenu: Add button to copy current style to clipboard as C++
DanielGibson May 25, 2024
2a7683e
imgui_savestyle.cpp - some improvements
DanielGibson May 25, 2024
c0b6660
ImGui styles: Allow writing only changed values to C++ code
DanielGibson May 26, 2024
4bdee4f
Dhewm3SettingsMenu: Improve cursor handling and opening menu ingame
DanielGibson May 28, 2024
7af7508
ImGui stuff: Some tweaks
DanielGibson May 28, 2024
1697831
ImGui: Draw ImGui cursor on black bars in main menu; tweak some colors
DanielGibson May 29, 2024
0e34117
Dhewm3SettingsMenu: Start implementing video options
DanielGibson May 29, 2024
139020f
Dhewm3SettingsMenu: More video options
DanielGibson May 30, 2024
e3d67f0
Allow changing r_swapInterval (VSync) on-the-fly
DanielGibson May 30, 2024
2aaaeb1
Dhewm3SettingsMenu: Added VSync option
DanielGibson May 30, 2024
410d279
Dhewm3SettingsMenu: More video settings, a few other tweaks
DanielGibson May 30, 2024
fcbc757
Add optional "nores" argument to Com_ExecMachineSpec_f()
DanielGibson May 30, 2024
337b339
Update Dear ImGui to 1.90.7
DanielGibson May 30, 2024
7b6fdc8
Dhewm3SettingsMenu: Add Audio Options, make Video Options nicer
DanielGibson May 31, 2024
2c58845
Several OpenAL improvements
DanielGibson Jun 1, 2024
bd22f55
Dhewm3SettingsMenu: Support new sound CVars, show OpenAL info
DanielGibson Jun 1, 2024
50d7129
New input CVars: in_allowAlwaysRunInSP, m_invertLook
DanielGibson Jun 2, 2024
30e4a9b
Dhewm3SettingsMenu: Add game options and m_invertLook
DanielGibson Jun 2, 2024
6dc36c6
Add some functions to handle UTF-8 strings
DanielGibson Jun 2, 2024
ecee402
Dhewm3SettingsMenu: properly handle playername encoding and length
DanielGibson Jun 2, 2024
10312f6
Allow disabling Dear ImGui integration in CMake
DanielGibson Jun 2, 2024
67a0dc8
Dhewm3SettingsMenu: Save number of BindingColumns in a CVar
DanielGibson Jun 2, 2024
7f62e9a
Better descriptions for screenshot CVars; document new CVars
DanielGibson Jun 2, 2024
cb5d988
Fix SDL1.2 build and some runtime issues with SDL1.2
DanielGibson Jun 2, 2024
7aa6c6a
"Properly" scale ImGui font by reloading font with scaled size
DanielGibson Jun 2, 2024
28d81ed
Fix ImGui with r_fillWindowAlphaChan
DanielGibson Jun 3, 2024
5376c6d
HighDPI support, hopefully
DanielGibson Jun 3, 2024
a9bee9f
Fix build on Windows/MSVC
DanielGibson Jun 3, 2024
1b344d4
Replace zlib with integrated miniz
DanielGibson Jun 3, 2024
c317e60
Improve minizconf.h; in CMake, don't use C++-compilerflags for plain C
DanielGibson Jun 4, 2024
81d912a
Give Dhewm3SettingsMenu a sane default size and position
DanielGibson Jun 4, 2024
51270dd
Store imgui.ini and user.imstyle in dhewm3 config dir instead of $PWD
DanielGibson Jun 4, 2024
ab5d590
Update Changelog, mention new settings menu in Readme
DanielGibson Jun 4, 2024
af34aba
ImGui: Apply patch from upstream that fixes tooltips of disabled buttons
DanielGibson Jun 5, 2024
e8b8f5c
Always optimize code of some integrated libraries, even in Debug builds
DanielGibson Jun 5, 2024
863dc48
Update Dear ImGui to 1.90.8
DanielGibson Jun 6, 2024
49ed8ec
Adjust imgui_savestyle.cpp for 1.90.8
DanielGibson Jun 6, 2024
cff73ff
Dhewm3SettingsMenu: Remove testing printfs
DanielGibson Jun 6, 2024
28b753d
Fix crash in Dhewm3SettingsMenu after switching fullscreen w/ Alt-Enter
DanielGibson Jun 7, 2024
ab67687
Make dhewm3 window resizable (when using SDL2)
DanielGibson Jun 7, 2024
a6870ca
minizconf.h: (hopefully) fix MinGW compatibility of z_off64_t
DanielGibson Jun 8, 2024
ac8eec9
Add r_windowResizable to configure if window is resizable
DanielGibson Jun 8, 2024
44d19a4
Implement GLimp_SetScreenParms() for "vid_restart partial"
DanielGibson Jun 10, 2024
c096a86
Fix toggling fullscreen mode with vid_restart partial, esp for Alt-Enter
DanielGibson Jun 11, 2024
387430a
Fix vid_restart partial for real fullscreen mode
DanielGibson Jun 11, 2024
94738f1
Add glimpParms_t GLimp_GetCurState() to get current window state
DanielGibson Jun 12, 2024
9eff1d9
Dhewm3SettingsMenu: Rework resolution/windowed/MSAA part of Video Opt…
DanielGibson Jun 12, 2024
cec78b5
Merge pull request #576 from DanielGibson/imgui-rebased
DanielGibson Jun 17, 2024
5c7aacb
Make fullscreen mode with XWayland a bit less broken, #587
DanielGibson Jul 2, 2024
b2ba154
Hopefully fix screenshots on Wayland
DanielGibson Jul 3, 2024
794d40a
Add CVar r_vidRestartAlwaysFull
DanielGibson Jul 3, 2024
10eee1e
map command without any arguments prints current map name
DanielGibson Jul 4, 2024
41eef54
Merge soft particles from thedarkmod 2.04
DanielGibson Jun 13, 2024
2362738
some debug code for soft particles in RB_STD_T_RenderShaderPasses()
DanielGibson Jun 14, 2024
6a3fa8c
Fix depth buffer texture (for soft particle shader effects)
DanielGibson Jun 15, 2024
47bd8af
Try to ensure currentDepthImage always uses NEAREST filtering
DanielGibson Jun 15, 2024
69e1217
Add r_glDebugContext to enable OpenGL debug context and -callback
DanielGibson Jun 15, 2024
5ff5954
Make r_showDepth work
DanielGibson Jun 16, 2024
580257b
Make r_showDepth use currentDepthImage, unless r_skipDepthCapture is 1
DanielGibson Jun 16, 2024
a407a60
hack to draw softened particles without blending
DanielGibson Jun 16, 2024
3c887d5
Integrate (working!) soft particle shader, clean up that code a bit
DanielGibson Jun 17, 2024
724ab17
Add settings for soft particles in menu, documentation, cleanups
DanielGibson Jun 17, 2024
ac6ec0c
Fix some typos
DanielGibson Jun 24, 2024
c394fde
CMake: Set -ffinite-math-only so math functions get inlined
DanielGibson Jun 24, 2024
b86d2c5
A #define in draw_arb2.cpp to load soft particle shader from disk
DanielGibson Jul 1, 2024
2e0b093
Soft particles: Disable Particle Stage "softeningRadius" keyword
DanielGibson Jul 25, 2024
7e772f0
Update Changelog
DanielGibson Jul 25, 2024
d3b2794
Merge pull request #578 from DanielGibson/soft-particles
DanielGibson Jul 25, 2024
b34c625
added a easier material name for portal skies
Jun 20, 2024
ae6997a
On macOS, look for the game dylib in the app bundle
tomkidd Jul 25, 2024
961b3f6
Bump Version to 1.5.4rc1
DanielGibson Jul 25, 2024
4df8495
Document r_glDebugContext in Configuration.md; tiny fix in settings menu
DanielGibson Jul 25, 2024
9c36d2f
Mods menu: improve base and d3xp entries, set d3xp basemod for more mods
DanielGibson Jul 27, 2024
a4f2d4a
Document +set fs_game_base in dhewm3 --help
DanielGibson Jul 29, 2024
b0d7c12
Bump version to 1.5.4rc2
DanielGibson Jul 29, 2024
227071b
Don't use Soft Particles for particles at player-weapon
DanielGibson Jul 29, 2024
cef1178
Allow Soft Particles for player-weapons after all, fix issue properly
DanielGibson Jul 29, 2024
c44c0ff
bump version to 1.5.4rc3
DanielGibson Jul 30, 2024
6679490
bump version to 1.5.4
DanielGibson Aug 2, 2024
be2b788
Lower macOS requirement
tomkidd Aug 3, 2024
2f9e52a
Handle soft particles when loading graphics quality preset, #604
DanielGibson Aug 15, 2024
8863c36
Bump version to 1.5.5pre
DanielGibson Aug 15, 2024
872905f
Add Github Actions builds for Windows, Linux and macOS
DanielGibson Aug 20, 2024
0af6054
Add issue template for bug reports and feature requests
DanielGibson Aug 21, 2024
e0e772e
Add 1.5.5 WIP entry to changelog
DanielGibson Sep 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Report a problem with dhewm3
title: ''
labels: ''
assignees: ''

---

<!-- NOTE: Please check the existing bug reports first to find out if it has already been reported. In that case, just add a comment there with your additional information -->

**Describe the bug**
A short description of what the bug is.

**Your System**
- What **operating system** are you using, what CPU and GPU, which GPU driver version?
- What **version of dhewm3** are you using? (Also: Official download? Package from Linux distro? MacSourcePorts? Did you compile yourself?)

**To Reproduce**
Describe how to reproduce the bug
- if it happens while playing: What mod (base game, RoE, or some 3rd-party mod), which level, what do you do there to trigger the bug
- After opening the console (`Shift`+`Esc`) you can enter `map` to print the current map name and `where` to print the coordinates in the level
- if it happens in the menu or similar: describe the steps to trigger the bug

**Expected and actual behavior**
A clear and concise description of what you expected to happen and what happens instead

**Additional information**
If applicable, add screenshots or a video to help explain your problem.
Please attach [dhewm3log.txt](https://github.com/dhewm/dhewm3/wiki/FAQ#where-do-i-find-the-config-files-and-savegames-and-dhewm3logtxt)
A **savegame** also often helps to more quickly reproduce a bug
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for dhewm3
title: ''
labels: enhancement
assignees: ''

---

<!-- NOTE: Please check the existing feature requests first to see if it has already been reported. In that case, just add a comment there with your additional information/ideas -->

**Describe the feature you want**
A clear and concise description of what the feature is supposed to do.
Add screenshots or illustrations or whatever if you think it helps explaining.

**What problem does it solve?**
Describe what problem the feature would solve, or how it would improve the game and,
if a similar feature already exists, why it's not sufficient.

**Additional information**
If you have ideas how it could be implemented, or what other open source projects to check out that already have the feature, or links with information about the feature or any other additional information, post it here.
68 changes: 68 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Testbuild for Linux
run-name: testbuild_linux
on:
push:
branches:
- 'master'
pull_request:
types:
- edited
- opened
- synchronize
concurrency:
# Cancel concurrent workflows for the same PR or commit hash.
group: ${{github.workflow}}-${{github.event_name == 'pull_request' && github.head_ref || github.sha}}
cancel-in-progress: true
jobs:
build_ubuntu_x86_64:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- env: ubuntu
steps:
- name: Install build dependencies
run: |
sudo apt update
sudo apt install libgl1-mesa-dev libsdl2-dev libopenal-dev libcurl4-openssl-dev cmake ninja-build
- name: Check out repository code
uses: actions/checkout@v4
- name: Build
run: |
mkdir build
cd build
# -DFORCE_COLORED_OUTPUT=ON ? didn't seem to work, or at least not visible on website
cmake -G Ninja -DDEDICATED=ON ../neo/
ninja
- name: Create testbuild package
run: |
# Create release directory tree
export PKGDIR="dhewm3-linux-$(git rev-parse --short HEAD)"
echo "pkgname=$PKGDIR" >> $GITHUB_ENV
mkdir -p publish/$PKGDIR/base
mkdir publish/$PKGDIR/d3xp
# Copy release assets
cd build
cp dhewm3 dhewm3ded base.so d3xp.so ../publish/$PKGDIR/
cd ..
# Copy misc assets
cp base/gamepad.cfg publish/$PKGDIR/base/
cp base/gamepad-d3xp.cfg publish/$PKGDIR/d3xp/
cp COPYING.txt publish/$PKGDIR/
# TODO: prepend to README that executables must be set executable? (and maybe commit, build, arch etc)
echo "dhewm3 for 64bit (amd64 aka x86_64 aka x64) Linux, built $(date)" > publish/$PKGDIR/README.txt
echo -e "from ${{ github.ref_name }} commit ${{ github.sha }}\n" >> publish/$PKGDIR/README.txt
echo "!!! Note that you must set dhewm3(ded) executable !!!" >> publish/$PKGDIR/README.txt
echo "! In a Terminal, in this directory, run:" >> publish/$PKGDIR/README.txt
echo " chmod 755 dhewm3 dhewm3ded" >> publish/$PKGDIR/README.txt
echo -e "(this is because of limitations in Githubs Workflow Actions)\n" >> publish/$PKGDIR/README.txt
cat README.md >> publish/$PKGDIR/README.txt
cp Changelog.md publish/$PKGDIR/Changelog.txt
cp Configuration.md publish/$PKGDIR/Configuration.txt
- name: Upload testbuild package
uses: actions/upload-artifact@v4
with:
name: ${{ env.pkgname }}
path: publish/
if-no-files-found: error
63 changes: 63 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Testbuild for MacOS
run-name: testbuild_macos
on:
push:
branches:
- 'master'
pull_request:
types:
- edited
- opened
- synchronize
concurrency:
# Cancel concurrent workflows for the same PR or commit hash.
group: ${{github.workflow}}-${{github.event_name == 'pull_request' && github.head_ref || github.sha}}
cancel-in-progress: true
jobs:
build_macos_aarch64:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
include:
- env: macos
steps:
- name: Install build dependencies
run: |
brew update
brew install sdl2 openal-soft
# not installing make and cmake, cmake is installed by default, make doesn't seem to be needed
# when using cmake --build
- name: Check out repository code
uses: actions/checkout@v4
- name: Build
run: |
mkdir build
# Note: not building dedicated server because it's not supported on Macs
cmake -DOPENAL_LIBRARY="/opt/homebrew/opt/openal-soft/lib/libopenal.dylib" -DOPENAL_INCLUDE_DIR="/opt/homebrew/opt/openal-soft/include" -S neo/ -B build
cmake --build build
- name: Create testbuild package
run: |
# Create release directory tree
export PKGDIR="dhewm3-macos-$(git rev-parse --short HEAD)"
echo "pkgname=$PKGDIR" >> $GITHUB_ENV
mkdir -p publish/$PKGDIR/base
mkdir publish/$PKGDIR/d3xp
# Copy release assets
cd build
cp -r dhewm3.app ../publish/$PKGDIR/
cp base.dylib d3xp.dylib ../publish/$PKGDIR/
cd ..
# Copy misc assets
cp base/gamepad.cfg publish/$PKGDIR/base/
cp base/gamepad-d3xp.cfg publish/$PKGDIR/d3xp/
cp COPYING.txt publish/$PKGDIR/
cp README.md publish/$PKGDIR/README.txt
cp Changelog.md publish/$PKGDIR/Changelog.txt
cp Configuration.md publish/$PKGDIR/Configuration.txt
- name: Upload testbuild package
uses: actions/upload-artifact@v4
with:
name: ${{ env.pkgname }}
path: publish/
if-no-files-found: error
159 changes: 159 additions & 0 deletions .github/workflows/win_msvc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
name: Testbuild for x86 and x86_64 Windows
run-name: testbuild_windows
on:
push:
branches:
- 'master'
pull_request:
types:
- edited
- opened
- synchronize
concurrency:
# Cancel concurrent workflows for the same PR or commit hash.
group: ${{github.workflow}}-${{github.event_name == 'pull_request' && github.head_ref || github.sha}}
cancel-in-progress: true
jobs:
build_win_x86_msvc:
runs-on: windows-latest
defaults:
run:
# use git bash for for all steps (unless specified otherwise per step)
shell: bash
strategy:
fail-fast: false
steps:
- name: Install build dependencies
run: |
# Download and extract dhewm3-libs
#echo $PWD # /d/a/dhewm3/dhewm3
# as the repo will be cloned into the directory we're currently in (O_o)
# go one directory up to D:\a\dhewm3\ and put the dhewm3libs there
cd ..
# https://github.com/dhewm/dhewm3-libs/archive/refs/heads/master.zip
# for some reason the following downloads an empty file, so use the other URL I got from
# "Copy Download Link" in Firefox (after downloading the file there) instead
#curl -o dhewm3libs.zip https://github.com/dhewm/dhewm3-libs/archive/refs/heads/master.zip
curl -o dhewm3libs.zip https://codeload.github.com/dhewm/dhewm3-libs/zip/refs/heads/master
# only unpack the stuff needed (no x86_64 stuff, no docs from share/)
unzip dhewm3libs.zip "dhewm3-libs-master/i686-w64-mingw32/**" -x "dhewm3-libs-master/i686-w64-mingw32/share/**"
- name: Check out repository code
uses: actions/checkout@v4
- name: Build
run: |
# build with cmake and visual studio
#echo $PWD # /d/a/dhewm3/dhewm3
# NOTE: not setting -G "Visual Studio 17 2022" so it just uses the default VS version it can find
cmake -A Win32 -DDHEWM3LIBS="../dhewm3-libs-master/i686-w64-mingw32/" -DDEDICATED=ON -DTOOLS=ON -S neo/ -B build
time cmake --build build/ --config RelWithDebInfo
- name: Create testbuild package
run: |
# Create release directory tree
export PKGDIR="dhewm3-win32-$(git rev-parse --short HEAD)"
echo "pkgname=$PKGDIR" >> $GITHUB_ENV
mkdir -p publish/$PKGDIR/base
mkdir publish/$PKGDIR/d3xp
# debug symbols (*.pdb) are put in a separate zip
mkdir -p debug-syms/$PKGDIR
# Copy release assets
cd build/RelWithDebInfo
cp dhewm3.exe dhewm3ded.exe base.dll d3xp.dll ../../publish/$PKGDIR/
cp -r *.pdb ../../debug-syms/$PKGDIR/
cd ../..
# Copy misc assets
cp base/gamepad.cfg publish/$PKGDIR/base/
cp base/gamepad-d3xp.cfg publish/$PKGDIR/d3xp/
cp COPYING.txt publish/$PKGDIR/
echo "dhewm3 for 32bit (x86) Windows, built $(date)" > publish/$PKGDIR/README.txt
echo -e "from ${{ github.ref_name }} commit ${{ github.sha }}\n" >> publish/$PKGDIR/README.txt
cat README.md >> publish/$PKGDIR/README.txt
cp Changelog.md publish/$PKGDIR/Changelog.txt
cp Configuration.md publish/$PKGDIR/Configuration.txt
# copy runtime libraries (SDL, OpenAL, cURL)
cd ../dhewm3-libs-master/i686-w64-mingw32/bin/
cp OpenAL32.dll SDL2.dll libcurl-4.dll ../../../dhewm3/publish/$PKGDIR/
cd -
- name: Upload testbuild package
uses: actions/upload-artifact@v4
with:
name: ${{ env.pkgname }}
path: publish/
if-no-files-found: error
- name: Upload testbuild debug symbols
uses: actions/upload-artifact@v4
with:
name: ${{ env.pkgname }}-debugsyms
path: debug-syms/
if-no-files-found: error
build_win_x86_64_msvc:
runs-on: windows-latest
defaults:
run:
# use git bash for for all steps (unless specified otherwise per step)
shell: bash
strategy:
fail-fast: false
steps:
- name: Install build dependencies
run: |
# Download and extract dhewm3-libs
#echo $PWD # /d/a/dhewm3/dhewm3
# as the repo will be cloned into the directory we're currently in (O_o)
# go one directory up to D:\a\dhewm3\ and put the dhewm3libs there
cd ..
# https://github.com/dhewm/dhewm3-libs/archive/refs/heads/master.zip
# for some reason the following downloads an empty file, so use the other URL I got from
# "Copy Download Link" in Firefox (after downloading the file there) instead
#curl -o dhewm3libs.zip https://github.com/dhewm/dhewm3-libs/archive/refs/heads/master.zip
curl -o dhewm3libs.zip https://codeload.github.com/dhewm/dhewm3-libs/zip/refs/heads/master
# only unpack the stuff needed (no i686 stuff, no docs from share/)
unzip dhewm3libs.zip "dhewm3-libs-master/x86_64-w64-mingw32/**" -x "dhewm3-libs-master/x86_64-w64-mingw32/share/**"
- name: Check out repository code
uses: actions/checkout@v4
- name: Build
run: |
# build with cmake and visual studio
#echo $PWD # /d/a/dhewm3/dhewm3
# NOTE: not setting -G "Visual Studio 17 2022" so it just uses the default VS version it can find
cmake -A x64 -DDHEWM3LIBS="../dhewm3-libs-master/x86_64-w64-mingw32/" -DDEDICATED=ON -DTOOLS=ON -S neo/ -B build
time cmake --build build/ --config RelWithDebInfo
- name: Create testbuild package
run: |
# Create release directory tree
export PKGDIR="dhewm3-win64-$(git rev-parse --short HEAD)"
echo "pkgname=$PKGDIR" >> $GITHUB_ENV
#echo "PKGDIR is $PKGDIR"
mkdir -p publish/$PKGDIR/base
mkdir publish/$PKGDIR/d3xp
# debug symbols (*.pdb) are put in a separate zip
mkdir -p debug-syms/$PKGDIR
# Copy release assets
cd build/RelWithDebInfo
cp dhewm3.exe dhewm3ded.exe base.dll d3xp.dll ../../publish/$PKGDIR/
cp -r *.pdb ../../debug-syms/$PKGDIR/
cd ../..
# Copy misc assets
cp base/gamepad.cfg publish/$PKGDIR/base/
cp base/gamepad-d3xp.cfg publish/$PKGDIR/d3xp/
cp COPYING.txt publish/$PKGDIR/
echo "dhewm3 for 64bit (amd64 aka x86_64 aka x64) Windows, built $(date)" > publish/$PKGDIR/README.txt
echo -e "from ${{ github.ref_name }} commit ${{ github.sha }}\n" >> publish/$PKGDIR/README.txt
cat README.md >> publish/$PKGDIR/README.txt
cp Changelog.md publish/$PKGDIR/Changelog.txt
cp Configuration.md publish/$PKGDIR/Configuration.txt
# copy runtime libraries (SDL, OpenAL, cURL)
cd ../dhewm3-libs-master/x86_64-w64-mingw32/bin/
cp OpenAL32.dll SDL2.dll libcurl-4.dll ../../../dhewm3/publish/$PKGDIR/
cd -
- name: Upload testbuild package
uses: actions/upload-artifact@v4
with:
name: ${{ env.pkgname }}
path: publish/
if-no-files-found: error
- name: Upload testbuild debug symbols
uses: actions/upload-artifact@v4
with:
name: ${{ env.pkgname }}-debugsyms
path: debug-syms/
if-no-files-found: error
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
build
/build*
*~
.*.swp
*.pyc
.cproject
.project
.settings/

/dhewm*
/*-releases/
/neo/.vs*
/neo/out*
/neo/build*
/.vs*

/neo/CMakeSettings.json
Loading