alpha
Login
or
Join now
bpavuk.neocities.org
/
chocolate-doom-zig
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[WIP] This is Chocolate DOOM but ported to Zig
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
chocolate-doom-zig
/
src
/
heretic
/
at
master
65 files
bpavuk
fix(c): bit shift UB instances
5mo ago
7c2822e4
.gitignore
fix(c): bit shift UB instances I'm not sure this is everything, only testing with DOOM for now. Also, had to relax clang a little for DOOM to not fail at runtime.
5 months ago
CMakeLists.txt
Emscripten build target support (#1717) * Fixed deadlock in OPL code when compiled with emscripten * Autodetect emscripten build environemt in config scripts * cmake support for emscripten build target * Restored cmake logic for building with SDL_net and/or SDL_mixer disabled
2 years ago
Makefile.am
Generate *_icon.c files as part of build
4 years ago
am_data.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
am_map.c
Remove unused `leveljuststarted` globals These are only ever set, but never read, so they can just be removed.
2 years ago
am_map.h
heretic: Move AM_Stop prototype to am_map.h
3 years ago
ct_chat.c
heretic: Make CT_FromPlrText contents const
7 years ago
ct_chat.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
d_main.c
src/*: Recast some option descriptions for clarity
2 years ago
d_net.c
heretic: Move advancedemo extern declaration to doomdef.h
3 years ago
deh_ammo.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
deh_frame.c
Improve type correctness in heretic DEH code
4 years ago
deh_htext.c
heretic: Make hhe_string_t string member const
7 years ago
deh_htic.c
heretic: Move deh_section_heretic_text extern declaration to deh_htic.h
3 years ago
deh_htic.h
heretic: Move deh_section_heretic_text extern declaration to deh_htic.h
3 years ago
deh_sound.c
Remove doomfeatures.h and "features" compiles. This was an idea I had a while back to allow slimmed-down compiles that would remove certain chocolatey features. As far as I know, nobody's ever used it, it isn't regularly tested, and it hasn't been kept up to date as development has progressed. Given this, and considering that it makes the Makefiles much more complicated to read, let's just get rid of it.
9 years ago
deh_thing.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
deh_weapon.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
doomdata.h
Support for Watcom C This adds support for compiling using Watcom C. The main change is the addition of the PACKED_STRUCT() macro, as Watcom uses a different syntax to gcc for marking structs as packed. Also, remove a couple of gccisms that are not supported in Watcom, and the last leftover __WATCOMC__ defines from heretic's d_main.c, which are obsolete anyway. Thanks to @scfinniss for this work.
9 years ago
doomdef.h
Heretic: Rework SV_Close and add it to DoLoadGame
1 year ago
dstrings.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
f_finale.c
heretic: Move viewactive extern declaration to doomdef.h
4 years ago
g_game.c
Heretic: Rework SV_Close and add it to DoLoadGame
1 year ago
heretic_icon.c
Add new icons - png and *_icon.c files
4 years ago
in_lude.c
heretic: Move AM_Stop prototype to am_map.h
3 years ago
info.c
heretic: Make sprnames contents and related function parameters const
7 years ago
info.h
Always pass three correctly typed pointers to heretic action functions
4 years ago
m_random.c
Add P_SubRandom and fix P_Random ambiguities Doom/Heretic/Hexen frequently make use of a construct like P_Random() - P_Random() The order of evaluation of which is undefined in C. Watcom always evaluated left-to-right. Add a P_SubRandom routine inspired by the same solution implemented in Eternity that encapsulates this order of evaluation and use that in place of the above. Thanks @haleyjd Clean up other occurrences of undefined evaluation order with P_Random, including where the new P_SubRandom() would be used ambiguously (!), almost all of which was in the Heretic and Hexen code. (@haleyjd had already cleaned up Strife) Fixes #404
10 years ago
m_random.h
Add P_SubRandom and fix P_Random ambiguities Doom/Heretic/Hexen frequently make use of a construct like P_Random() - P_Random() The order of evaluation of which is undefined in C. Watcom always evaluated left-to-right. Add a P_SubRandom routine inspired by the same solution implemented in Eternity that encapsulates this order of evaluation and use that in place of the above. Thanks @haleyjd Clean up other occurrences of undefined evaluation order with P_Random, including where the new P_SubRandom() would be used ambiguously (!), almost all of which was in the Heretic and Hexen code. (@haleyjd had already cleaned up Strife) Fixes #404
10 years ago
mn_menu.c
heretic: Let joystick navigate menu
2 years ago
p_action.h
Always pass three correctly typed pointers to heretic action functions
4 years ago
p_ceilng.c
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_doors.c
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_enemy.c
heretic: Fix integer overflow in A_Chase
3 years ago
p_floor.c
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_inter.c
Fix potential index out of bounds
3 years ago
p_lights.c
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_local.h
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_map.c
Heretic: check if backsector is NULL (#1670) * Heretic: check if backsector is NULL * NULL pointer, not assumed random bytes * More correct comment * More actual comment Co-Authored-By: Turo Lamminen <turol@users.noreply.github.com> --------- Co-authored-by: Turo Lamminen <turol@users.noreply.github.com>
2 years ago
p_maputl.c
Add linked list consistency check to P_BlockThingsIterator
3 years ago
p_mobj.c
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_plats.c
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_pspr.c
heretic: Fix cppcheck signedness warning in A_GauntletAttack
3 years ago
p_saveg.c
Heretic: Set SaveGameFP to Null after fclose.
1 year ago
p_setup.c
fix(c): bit shift UB instances I'm not sure this is everything, only testing with DOOM for now. Also, had to relax clang a little for DOOM to not fail at runtime.
5 months ago
p_sight.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
p_spec.c
Merge pull request #1075 from turol/const More const correctness
8 years ago
p_spec.h
heretic: Improve type correctness for thinker_t think functions
4 years ago
p_switch.c
heretic: Remove list terminator for alphSwitchList. This was mistakenly not removed in 3cf762118e2817 which was causing Heretic to fail on startup.
9 years ago
p_telept.c
Remove extra assignments of variables (#1323) This fixes more warnings generated by cppcheck.
5 years ago
p_tick.c
Fix demo desyncs caused by P_RunThinkers() change. 1bcff874c52a changed the behavior of P_RunThinkers() to avoid dereferencing thinker pointers after they had been freed, but the modified version of the function was not logically equivalent to Vanilla version, because the 'next' pointer can be changed by the thinker function if one is invoked. This fixes a desync in tnt-speed-movie-0443131.lmp. Thanks to Zvonimir Bužanić for the bug report and Fabian Greffrath for reporting. Fixes #547.
11 years ago
p_user.c
heretic: Move inv_ptr extern declaration to doomdef.h
3 years ago
r_bsp.c
Merge branch 'master' into sdl2-branch
9 years ago
r_data.c
heretic: Move CheckAbortStartup prototype to doomdef.h
3 years ago
r_draw.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
r_local.h
heretic: Move ylookup extern declaration to r_local.h
3 years ago
r_main.c
heretic: Move walllights extern declaration to r_local.h
3 years ago
r_plane.c
heretic: Move ylookup extern declaration to r_local.h
3 years ago
r_segs.c
heretic: Fix clang abs warning in R_StoreWallRange
6 years ago
r_things.c
Fix new compiler warnings (#1597) * Fix compiler warning * Line up
3 years ago
s_sound.c
Doom v1.666, 1.7, 1.8 support.
11 years ago
s_sound.h
heretic: Move snd_Channels extern declaration s_sound.h
3 years ago
sb_bar.c
heretic: Move P_UndoPlayerChicken prototype to p_local.h
3 years ago
sounds.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
sounds.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago