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
/
doom
/
at
master
108 files
bpavuk
zig: implemented D_RunFrame
7w ago
b7af3996
.gitignore
zig: implemented D_RunFrame
1 month 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
3 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
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_englsh.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_items.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
d_items.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
zig: [WIP] migrated d_main from c
4 months ago
d_main.h
doom: Move pagename extern declaration to d_main.h
3 years ago
d_main.zig
zig: implemented D_RunFrame
1 month ago
d_net.c
doom: Move advancedemo forward declaration to d_main.h
3 years ago
d_player.h
doom: Make player_t message member const
8 years ago
d_textur.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_think.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
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_bexstr.c
doom: Make bex_string_t macro and string members const
8 years ago
deh_cheat.c
doom: Make deh_cheat_t name member const
8 years ago
deh_doom.c
deh: Move common deh_section_t extern declarations to deh_defs.h
3 years ago
deh_frame.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_misc.c
dehacked: Fix mistake in comment. Thanks to Grazza for identifying this error on Doomworld (in reference to DEH9000, although that text came from here).
7 years ago
deh_misc.h
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_ptr.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_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
doom_icon.c
Allow each game to set its own window icon *_icon.c files are currently copies of original icon.c.
3 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.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
doomdef.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
doomstat.c
doom: Move gamedescription global variable from doomstat.c to d_main.c
6 years ago
doomstat.h
zig: [WIP] migrated d_main from c
4 months ago
dstrings.c
doom: Make end messages const
8 years ago
dstrings.h
doom: Make end messages const
8 years ago
f_finale.c
Fix potential index out of bounds
3 years ago
f_finale.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_wipe.c
introduce a pixel_t type The pixel_t type is supposed to be the same type as the destination frame buffer. Why? Well, once the sdl2-branch is merged, I plan to switch Crispy Doom to truecolor rendering. This means that each pixel in the framebuffer will have to be represented by a int32_t type instead of a single byte. For this, a lot of functions have to get modified and it would makes things considerably easier to just flip a single typedef. Apart from the cosmetic change this will not make any difference for Choco, but it will make maintaining my fork easier and allow for a smaller interdiff. Ths patch is by far not complete, but should do alright for Doom already. I file this pull request in order to check the mood and ask if a change like this would be accepted at all? It is absolutely no problem if you decide against it! Thanks for considering, Fabian
9 years ago
f_wipe.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
g_game.c
doom: Add error checking in G_NextWeapon to silence cppcheck warning
3 years ago
g_game.h
doom: Move sendpause extern declaration to g_game.h
3 years ago
hu_lib.c
doom: Remove redundant extern declarations of automapactive
3 years ago
hu_lib.h
doom: Make HUlib_addMessageToSText string parameters const
8 years ago
hu_stuff.c
doom: Move showMessages extern declaration to m_menu.h
3 years ago
hu_stuff.h
doom: Move chat_on extern declaration to hu_stuff.h
3 years ago
info.c
doom: Make sprnames contents const and fix some function parameters to match
8 years ago
info.h
doom: Make sprnames contents const and fix some function parameters to match
8 years ago
m_menu.c
doom: Make joystick LR less sensitive in menu
2 years ago
m_menu.h
doom: Move showMessages extern declaration to m_menu.h
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
p_ceilng.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_doors.c
Remove unnecessary checks in EV_DoLockedDoor
6 years ago
p_enemy.c
Introduce v1.5 compatibility
2 years ago
p_floor.c
Detect v1.0/v1.1 IWADs.
6 years ago
p_inter.c
Introduce v1.5 compatibility
2 years ago
p_inter.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
p_lights.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_local.h
doom: Move topslope and bottomslope extern declarations to p_local.h
3 years ago
p_map.c
doom: Move topslope and bottomslope extern declarations to p_local.h
3 years ago
p_maputl.c
Add linked list consistency check to P_BlockThingsIterator
3 years ago
p_mobj.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_mobj.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
p_plats.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_pspr.c
Remove unused variable "state" in P_MovePsprites This fixes a warning generated by cppcheck.
5 years ago
p_pspr.h
doom: Move bulletslope extern declaration to p_pspr.h
3 years ago
p_saveg.c
p_save.g: Make saveg_writep parameter const
8 years ago
p_saveg.h
p_saveg.c/g_game.c: move common defines into the p_saveg.h header
9 years ago
p_setup.c
Reject overflow emulation for Heretic/Hexen and moving of PadRejectArray (#1759) * Move PadRejectArray and align P_LoadReject Move PadRejectArray into own sourcefiles and add P_LoadReject to heretic/hexen, to be aligned with the other games and support empty reject lumps. * Add missing include string.h to p_rejectpad.h * Fixing typo in Makefile.am * Move includes to p_rejectpad.c .. not needed in .h
10 months ago
p_setup.h
address raised issues - just call M_BaseName() when the basename is needed - move maplumpinfo declaration into doom/p_setup.h, include w_wad.h for the lumpinfo_t type definition, include p_setup.h in doom/m_menu.c - remove [crispy] comments, this is going to be Choco code
7 years ago
p_sight.c
Requested changes. https://github.com/chocolate-doom/chocolate-doom/pull/1205
6 years ago
p_spec.c
Disable sector special 17 in gameversion 1.2 (#1554) * Disable sector special 17 in gameversion 1.2 The first vanilla exec to support sector special 17 (random flicker) was the official v1.4 beta. Disabling it for -gameversion 1.2 solves the desync on DEMO1 of CHURCH.WAD. Fixes #1529. * Whitespace --------- Co-authored-by: Turo Lamminen <turol@iki.fi>
2 years ago
p_spec.h
Add vld_ prefix for vldoor_e enum values. It was pointed out to me recently that vldoor_e has enum values named 'open' and 'close'. These can potentially conflict with POSIX standard functions that have the same names, if the right header files are included. This doesn't currently cause any problems. However, to avoid any possibility of a conflict occurring if a different compiler is used, add a vld_ prefix to all the enum values, to namespace them.
12 years ago
p_switch.c
Fix warnings about P_InitSwitchList() overruns. This function is weirdly written and the logic is hard to follow, so clean it up. This resolves warnings about array index overruns surfaced by cppcheck and blocking #939. Thanks @turol for discovering.
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_tick.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
p_user.c
De-obfuscate some numerical constants found in the source code Also, fix pointer arithmetic in R_SetupFrame(), where sizeof(lighttable_t) == 1 was correct incidentally.
10 years ago
r_bsp.c
Overflow safety for solidsegs; hopefully interim.
10 years ago
r_bsp.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
r_data.c
Remove unused frac, fracstep and totalwidth variables
4 years ago
r_data.h
doom: Move numflats extern declaration to r_data.h
3 years ago
r_defs.h
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
r_draw.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
r_draw.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
r_local.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
r_main.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
r_main.h
doom: Move R_ExecuteSetViewSize prototype to r_main.h
3 years ago
r_plane.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
r_plane.h
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
r_segs.c
fixing a handful of abs calls parameter
8 years ago
r_segs.h
doom: Move walllights extern declaration to r_segs.h
3 years ago
r_sky.c
De-obfuscate some numerical constants found in the source code Also, fix pointer arithmetic in R_SetupFrame(), where sizeof(lighttable_t) == 1 was correct incidentally.
10 years ago
r_sky.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
r_state.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
r_things.c
Fix new compiler warnings (#1597) * Fix compiler warning * Line up
3 years ago
r_things.h
doom: Make sprnames contents const and fix some function parameters to match
8 years ago
s_sound.c
Requested changes. https://github.com/chocolate-doom/chocolate-doom/pull/1205
6 years ago
s_sound.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
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
st_lib.c
doom: Remove redundant extern declarations of automapactive
3 years ago
st_lib.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
st_stuff.c
doom: remove unused #defines in st_stuff.c
2 years ago
st_stuff.h
doom, strife: remove unused `st_chatstate` global and `st_chatstateenum_t` type These are only ever set, but never read, so they can just be removed. The type `st_chatstateenum_t` is then also unused and can be removed as well.
2 years ago
statdump.c
Add support for non-latin paths and filenames on Windows (#1463) * Add support for non-latin paths and filenames on Windows * add missed newline * fix memory leaks * remove redundant declarations * rewrite to use explicit wrappers * don't call M_fopen() in droplay.c * attempt to fix clang warning * make conversion failure to UTF 8 non-fatal * forgot newline * fix return value, add comment * set errno if conversion to UTF8 fails * update HACKING.md
4 years ago
statdump.h
pass wbstartstruct_t * as const to all the functions which don't change it Thanks @turol for the suggestion.
6 years ago
wi_stuff.c
doom: revert erroneous part of code That is, remove the part that checks if the map just finished is MAP33 to omit drawing the par time if this is the case. While it is true that no par time for MAP33 is drawn in Vanilla Doom, this isn't because there is a condition that checks for it, but because the par time for MAP33 is read from beyond the cpars[] array and the four bytes following it are interpreted as a negative 32-bit integer. The WI_drawTime() function, however, returns early if the time it is supposed to draw is negative. This can be easily checked by using DEHACKED to change the GAMMALVL0 string so that its first four bytes are interpreted as a positive 32-bit integer, e.g. by replacing it with " " (four spaces). Then, even Vanilla Doom (e.g. DOOM2.EXE) will start to draw a par time when MAP33 is finished but will eventually end up drawing the "SUCKS!" patch. This may be regarded as the second part of commit 00d2024fe, it reverts another part of commit e1f113aec.
6 years ago
wi_stuff.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