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
/
hexen
/
at
master
66 files
bpavuk
fix(c): bit shift UB instances
4mo 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.
4 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
hexen: Move remaining action function prototypes to new header
3 years ago
a_action.c
Merge pull request #1394 from NY00123/hexen_1_1 Hexen: Support two variations of v1.1 with -gameversion
2 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
hexen: Move cheating extern declaration to am_map.h
3 years ago
ct_chat.c
hexen: Move usearti extern declaration to h2def.h
3 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_net.c
hexen: Move G_CheckDemoStatus prototype to h2def.h
3 years ago
f_finale.c
hexen: Move viewactive extern declaration to h2def.h
3 years ago
g_game.c
raven: Add flying joystick binds
2 years ago
h2_main.c
src/*: Recast some option descriptions for clarity
2 years ago
h2def.h
Merge pull request #1394 from NY00123/hexen_1_1 Hexen: Support two variations of v1.1 with -gameversion
2 years ago
hexen_icon.c
Add new icons - png and *_icon.c files
3 years ago
in_lude.c
hexen: Move LeaveMap extern declaration to h2def.h
3 years ago
info.c
hexen: Move remaining action function prototypes to new header
3 years ago
info.h
hexen: Fix state_t action function type
3 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
hexen: Let joystick navigate menu
2 years ago
p_acs.c
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_action.h
hexen: Fix state_t action function type
3 years ago
p_anim.c
hexen: Move DoubleSky extern declaration to r_local.h
3 years ago
p_ceilng.c
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_doors.c
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_enemy.c
hexen/strife: Fix P_LookForPlayers infinite loop Fix potential lock-up that can occur when there are more than four players.
2 years ago
p_floor.c
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_inter.c
hexen: Fix state_t action function type
3 years ago
p_lights.c
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_local.h
Hexen: Do not read `player` field from `struct degenmobj_t` (#1757) * Hexen: Do not read `player` field from `struct degenmobj_t` Fixes #1756 * invert logic and add comment * raise an error in the thinker function to prevent it from being merged
10 months ago
p_map.c
Hexen: Partial fix for Segfault in P_BounceWall (#1740) * Hexen: commented out solution to segfault. * Hexen: partial fix for unset bestslideline. * Hexen: Remove commented out fix. * Hexen: whitespace fix * Hexen: Add comment for bestslideline error. * Hexen: Whitespace fix * Hexen: Adding IF braces and fixing whitespaces.
1 year ago
p_maputl.c
Add linked list consistency check to P_BlockThingsIterator
3 years ago
p_mobj.c
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_plats.c
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_pspr.c
hexen: Fix state_t action function type
3 years 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.
4 months ago
p_sight.c
hexen: Move PolyBlockMap extern declaration to p_local.h
3 years ago
p_spec.c
hexen: Move TextKeyMessages extern declaration to p_local.h
3 years ago
p_spec.h
hexen: Improve type correctness for thinker_t think functions
3 years ago
p_switch.c
maintain an explicit switch list for the demo version instead of interating through the list for the full version and letting missing texture lumps slip through.
11 years ago
p_telept.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_things.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_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
hexen: Fix state_t action function type
3 years ago
po_man.c
Hexen: Do not read `player` field from `struct degenmobj_t` (#1757) * Hexen: Do not read `player` field from `struct degenmobj_t` Fixes #1756 * invert logic and add comment * raise an error in the thinker function to prevent it from being merged
10 months ago
r_bsp.c
Overflow safety for solidsegs; hopefully interim.
10 years ago
r_data.c
Remove unused frac, fracstep and totalwidth variables
4 years ago
r_draw.c
Turn maxplayers into a global variable ... and decrease its value from MAXPLAYERS (i.e. 8) to 4 if (gamemode == shareware). It seems that it was hard-coded to this value until some time between the releases of the Demo and the Full version. Arrays are still declared with their full width of 8, though, they are just not iterated over the whole range anymore. This fixes playback of the IWAD demos.
11 years ago
r_local.h
hexen: Move columnofs extern declaration to r_local.h
3 years ago
r_main.c
hexen: Move walllights extern declaration to r_local.h
3 years ago
r_plane.c
hexen: Move columnofs extern declaration to r_local.h
3 years ago
r_segs.c
hexen: 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
Hexen: Do not read `player` field from `struct degenmobj_t` (#1757) * Hexen: Do not read `player` field from `struct degenmobj_t` Fixes #1756 * invert logic and add comment * raise an error in the thinker function to prevent it from being merged
10 months ago
s_sound.h
hexen: Make S_StartSongName songLump parameter const
7 years ago
sb_bar.c
hexen: Move P_UndoPlayerMorph prototype to p_local.h
3 years ago
sc_man.c
Remove redundancy in previous commit
7 years ago
sn_sonix.c
hexen: Move S_sfx extern declaration to sounds.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
hexen: Move S_music extern declaration to sounds.h
3 years ago
st_start.c
hexen: Make ST_RealMessage message parameter const
7 years ago
st_start.h
hexen: Make ST_RealMessage message parameter const
7 years ago
sv_save.c
Hexen: Partial fix for Segfault in P_BounceWall (#1740) * Hexen: commented out solution to segfault. * Hexen: partial fix for unset bestslideline. * Hexen: Remove commented out fix. * Hexen: whitespace fix * Hexen: Add comment for bestslideline error. * Hexen: Whitespace fix * Hexen: Adding IF braces and fixing whitespaces.
1 year ago
textdefs.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
xddefs.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