]> git.0x19.co - doomgeneric-snom360/log
doomgeneric-snom360
4 hours agoport: snom360 master
0x19 [Sun, 22 Feb 2026 18:17:43 +0000 (19:17 +0100)]
port: snom360

Add snom360 port, including some small fixes for the endianness check,
as well as the platform driver.

3 months agoboolean fix
ozkl [Sun, 12 Apr 2026 11:23:43 +0000 (14:23 +0300)]
boolean fix

3 months ago__bool_true_false_are_defined handling
ozkl [Sat, 28 Mar 2026 12:18:22 +0000 (15:18 +0300)]
__bool_true_false_are_defined handling

3 months agoMerge pull request #30 from Arawn-Davies/patch-1
ozkl [Sat, 28 Mar 2026 12:15:17 +0000 (15:15 +0300)]
Merge pull request #30 from Arawn-Davies/patch-1

Refactor boolean type definition for C++/-std=gnu23 compatibility

6 months agoRefactor boolean type definition for C++/-std=gnu23 compatibility
Arawn Davies [Mon, 15 Dec 2025 03:19:36 +0000 (03:19 +0000)]
Refactor boolean type definition for C++/-std=gnu23 compatibility

Changed the definition of 'boolean' type for C++ & -std=gnu23 compatibility, and included base <stdbool.h> header.

This is to help bring it more inline with other source ports (Chocolate Doom mainly) and keep compatibility with new toolchains I think. I didn't come up with this fix (https://blog.svgames.pl/article/the-little-bool-of-doom) but it's helped me work on a port of doomgeneric to PlayStation 2

How easy would it be to get audio working? I think only SDL 1.2 works well on that platform so I'll be using GSKit instead

10 months agoI_Error exits instead of infinite loop
ozkl [Sun, 24 Aug 2025 06:34:52 +0000 (09:34 +0300)]
I_Error exits instead of infinite loop

10 months agososox: get keys from nanox
ozkl [Sat, 16 Aug 2025 11:56:34 +0000 (14:56 +0300)]
sosox: get keys from nanox

11 months agoMerge pull request #28 from techflashYT/linuxvt-cleanup
ozkl [Sun, 10 Aug 2025 16:10:14 +0000 (19:10 +0300)]
Merge pull request #28 from techflashYT/linuxvt-cleanup

linuxvt: various framebuffer improvements

11 months agolinuxvt: various framebuffer improvements
techflashYT [Sun, 10 Aug 2025 09:37:43 +0000 (02:37 -0700)]
linuxvt: various framebuffer improvements

2 main improvements coming in here:
- Handling for nonstandard stride values, since some devices have
  non-linear framebuffers, and the previous assumption, that
  stride = width * bytesPerPixel, no longer necessarily holds true.
  This distinction doesn't matter for many devices (and thus, it can
  fall back to the former assumption if checking the real stride fails),
  but for those where it does matter (e.g. the NVIDIA Jetson Orin Nano I
  just tried it on), it does indeed make the game display correctly,
  whereas it didn't before.
- Clean up the pointer math needed to center the image on screen a bit.
  It was previously a bit of a mess, this version should be marginally
  faster, and much easier to read/understand.

12 months agoMerge pull request #27 from ozkl/revert-26-no-double-draw
ozkl [Sun, 13 Jul 2025 14:50:52 +0000 (17:50 +0300)]
Merge pull request #27 from ozkl/revert-26-no-double-draw

Revert "Only draw a new frame w/ a tic"

12 months agoRevert "Only draw a new frame w/ a tic"
ozkl [Sun, 13 Jul 2025 14:48:45 +0000 (17:48 +0300)]
Revert "Only draw a new frame w/ a tic"

12 months agoMerge pull request #26 from techflashYT/no-double-draw
ozkl [Sun, 13 Jul 2025 14:41:04 +0000 (17:41 +0300)]
Merge pull request #26 from techflashYT/no-double-draw

Only draw a new frame w/ a tic

12 months agoOnly draw a new frame w/ a tic
techflashYT [Sun, 13 Jul 2025 12:31:16 +0000 (05:31 -0700)]
Only draw a new frame w/ a tic

Since TryRunTics() can absolutely return without running any gametic
(and it 100% will every-other time on fast enough hardware), it's a
waste of processing power to draw a new frame on every
doomgeneric_Tick().  This quick fix optimizes it down so it'll only try
to draw a new frame if TryRunTics() actually ran any gametics (and thus,
we have new frames to display).

In the best case scenario (the platform's DG_DrawFrame() is incredibly
fast), this will save a minute amount of processing power.
In the worst case scenario (the platform's DG_DrawFrame() is incredibly
slow), this can save several miliseconds of useless drawing, allowing
more actual gametics to be processed.  In fact, without this, slower
platforms can actually dig themselves into a hole that they can never
escape from.  It could start running behind on gametics due to the
useless render, which results in doing more work to catch back up in
every TryRunTics() call, further compounding the slowness.

12 months agoMerge pull request #25 from techflashYT/linuxvt
ozkl [Sun, 13 Jul 2025 11:38:24 +0000 (14:38 +0300)]
Merge pull request #25 from techflashYT/linuxvt

New platform: Linux VT

12 months agoNew platform: Linux VT
techflashYT [Sun, 13 Jul 2025 02:59:24 +0000 (19:59 -0700)]
New platform: Linux VT

This should work on any Linux box with no additional software installed
(e.g. Xorg, SDL).  The only requirement is a basic framebuffer, and
input via evdev - both are things provided by the kernel.

It does not currently have audio support, though I hope to eventually
make it work with ALSA if possible.

12 months agososo updates
ozkl [Sat, 12 Jul 2025 20:47:07 +0000 (23:47 +0300)]
soso updates

12 months agoMerge pull request #24 from techflashYT/colormodes
ozkl [Sat, 12 Jul 2025 16:00:50 +0000 (19:00 +0300)]
Merge pull request #24 from techflashYT/colormodes

Add support for specifying the color mode

12 months agoMerge pull request #23 from techflashYT/cmap
ozkl [Sat, 12 Jul 2025 16:00:26 +0000 (19:00 +0300)]
Merge pull request #23 from techflashYT/cmap

[FIX] proper handling of cmap conversion

12 months agoMerge pull request #22 from techflashYT/ignore-doomgeneric-map
ozkl [Sat, 12 Jul 2025 15:40:36 +0000 (18:40 +0300)]
Merge pull request #22 from techflashYT/ignore-doomgeneric-map

[FIX] ignore doomgeneric.map

12 months agoMerge pull request #21 from techflashYT/fix-byteswapping
ozkl [Sat, 12 Jul 2025 15:40:00 +0000 (18:40 +0300)]
Merge pull request #21 from techflashYT/fix-byteswapping

[FIX] support byteswapping no matter what

12 months agoAdd support for specifying the color mode
techflashYT [Sat, 12 Jul 2025 12:10:37 +0000 (05:10 -0700)]
Add support for specifying the color mode

This allows for changing the color mode, rather than the currently
hardcoded always RGBA8888.  That default is preserved for compatibility,
but this allows also specifying RGB565, and is extensible to allow more
modes later on.

12 months ago[FIX] proper handling of cmap conversion
techflashYT [Sat, 12 Jul 2025 11:52:07 +0000 (04:52 -0700)]
[FIX] proper handling of cmap conversion

This allows proper color map handling across RGB565, or RGB8888, either
little, or big endian.

12 months ago[FIX] ignore doomgeneric.map
techflashYT [Sat, 12 Jul 2025 10:08:45 +0000 (03:08 -0700)]
[FIX] ignore doomgeneric.map

This is a temporary file that gets built every time, and should not be
committed to the repository.  Delete the current copy in the repository,
and add it to the .gitignore so that it won't get added back here.

12 months ago[FIX] support byteswapping no matter what
techflashYT [Sat, 12 Jul 2025 10:05:04 +0000 (03:05 -0700)]
[FIX] support byteswapping no matter what

This allows byteswapping, no matter what features are enabled.  This is
necessary for builds that don't use SDL to work properly on Big Endian
platforms.  Rather than relying on SDL's implementation (and just not
doing any swapping if sound is disabled???), this adds a minimal inline
implementation for Big Endian, and equates to a no-op (as the original
did) on Little Endian.

12 months agoMerge pull request #19 from hhuOS/pr/c++-compat
ozkl [Fri, 13 Jun 2025 21:50:09 +0000 (00:50 +0300)]
Merge pull request #19 from hhuOS/pr/c++-compat

doomgeneric.h: Make interface compatible with C++

13 months agodoomgeneric.h: Make interface compatible with C++
Fabian Ruhland [Mon, 20 Jan 2025 10:00:21 +0000 (11:00 +0100)]
doomgeneric.h: Make interface compatible with C++

14 months agomakefile.soso update
ozkl [Sun, 4 May 2025 13:19:25 +0000 (16:19 +0300)]
makefile.soso update

16 months agoMerge pull request #16 from isif00/master
ozkl [Sat, 8 Mar 2025 17:14:11 +0000 (18:14 +0100)]
Merge pull request #16 from isif00/master

Fixed deprecated use of functions in doomgenerics_xlib.c

2 years ago[FIX] loop with an unused value to i changed to a while loop
isif00 [Wed, 22 May 2024 23:26:28 +0000 (00:26 +0100)]
[FIX] loop with an unused value to i changed to a while loop

2 years ago[FIX] deprecated implementations of some functions
isif00 [Wed, 22 May 2024 23:18:31 +0000 (00:18 +0100)]
[FIX] deprecated implementations of some functions

2 years agoMerge pull request #13 from turol/dos
ozkl [Sat, 27 Apr 2024 14:18:52 +0000 (17:18 +0300)]
Merge pull request #13 from turol/dos

DOS support with Allegro and DJGPP

2 years agoAdd DJGPP makefile
Turo Lamminen [Tue, 23 Apr 2024 17:23:05 +0000 (20:23 +0300)]
Add DJGPP makefile

2 years agoAdd Allegro code
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Add Allegro code

2 years agoFixes to 256-color mode
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Fixes to 256-color mode

2 years agoFix i_sound.c compilation on DJGPP when sound is enabled
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Fix i_sound.c compilation on DJGPP when sound is enabled

2 years agoAdd DJGPP -specific code to i_swap.h
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Add DJGPP -specific code to i_swap.h

2 years agoHide Unix-only Zenity code on DJGPP
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Hide Unix-only Zenity code on DJGPP

2 years agoUse correct separators on DJGPP
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Use correct separators on DJGPP

2 years agoImplement ENDOOM on DJGPP
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Implement ENDOOM on DJGPP

2 years agoUse M_TempFile win32 code also on DJGPP
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Use M_TempFile win32 code also on DJGPP

2 years agoAdd DJGPP-specific path to I_Error
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Add DJGPP-specific path to I_Error

2 years agoMake it easier to override resolution from Makefile
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Make it easier to override resolution from Makefile

2 years agoMove extern declarations to header
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Move extern declarations to header

2 years agoRemove unnecessary extern
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Remove unnecessary extern

2 years agoFix types
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Fix types

2 years agoUpdate .gitignore
Turo Lamminen [Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)]
Update .gitignore

3 years agoUpdate README.TXT
ozkl [Sun, 23 Apr 2023 17:14:39 +0000 (20:14 +0300)]
Update README.TXT

3 years agoUpdate README.md
ozkl [Sun, 23 Apr 2023 17:14:15 +0000 (20:14 +0300)]
Update README.md

3 years agoemscripten port
ozkl [Sun, 23 Apr 2023 16:48:54 +0000 (19:48 +0300)]
emscripten port

3 years agoknown wads item renamed to lowercase
ozkl [Sun, 23 Apr 2023 16:46:08 +0000 (19:46 +0300)]
known wads item renamed to lowercase

3 years agotimidity temp config usage removed
ozkl [Sun, 23 Apr 2023 12:09:03 +0000 (15:09 +0300)]
timidity temp config usage removed

3 years agoI_InitInput return value fixed
ozkl [Sun, 23 Apr 2023 12:02:28 +0000 (15:02 +0300)]
I_InitInput return value fixed

3 years agoMerge pull request #10 from Trider12/master
ozkl [Thu, 6 Apr 2023 06:08:59 +0000 (09:08 +0300)]
Merge pull request #10 from Trider12/master

Fixed VS project and .gitignore

3 years agoFixed VS project and .gitignore
Trider12 [Wed, 5 Apr 2023 09:21:19 +0000 (15:21 +0600)]
Fixed VS project and .gitignore

3 years agosdl include paths
ozkl [Sun, 19 Mar 2023 16:01:23 +0000 (19:01 +0300)]
sdl include paths

3 years agosdl makefile
ozkl [Sun, 19 Mar 2023 09:48:43 +0000 (12:48 +0300)]
sdl makefile

3 years agobetter sdl makefile
ozkl [Sun, 19 Mar 2023 09:43:47 +0000 (12:43 +0300)]
better sdl makefile

3 years agoUpdate README.md
ozkl [Tue, 14 Mar 2023 20:34:06 +0000 (23:34 +0300)]
Update README.md

3 years agoX11/XKBlib.h
ozkl [Tue, 14 Mar 2023 20:24:22 +0000 (23:24 +0300)]
X11/XKBlib.h

3 years agomain loop moved outside
ozkl [Tue, 14 Mar 2023 20:01:42 +0000 (23:01 +0300)]
main loop moved outside

3 years agomain outside
ozkl [Mon, 13 Mar 2023 20:47:19 +0000 (23:47 +0300)]
main outside

3 years agoMerge pull request #7 from lukneu/SDL_Keybinding
ozkl [Fri, 10 Mar 2023 16:39:08 +0000 (19:39 +0300)]
Merge pull request #7 from lukneu/SDL_Keybinding

Added missing keys to doomgeneric_sdl.c

3 years agomain() from outside
ozkl [Fri, 10 Mar 2023 16:29:47 +0000 (19:29 +0300)]
main() from outside

3 years agoAdded missing keys to doomgeneric_sdl.c
lukneu [Sun, 26 Feb 2023 20:19:38 +0000 (21:19 +0100)]
Added missing keys to doomgeneric_sdl.c

3 years agoUpdate README.md
ozkl [Sun, 15 Jan 2023 17:42:06 +0000 (20:42 +0300)]
Update README.md

3 years agogitignore
ozkl [Sun, 15 Jan 2023 17:21:49 +0000 (20:21 +0300)]
gitignore

3 years agoDG_sound_module
ozkl [Wed, 11 Jan 2023 21:31:21 +0000 (00:31 +0300)]
DG_sound_module

3 years agoMerge pull request #6 from indigoparadox/master
ozkl [Wed, 11 Jan 2023 20:27:06 +0000 (23:27 +0300)]
Merge pull request #6 from indigoparadox/master

Added missing include guards for compiling without SDL/sound.

3 years agoAdded missing include guards for compiling without SDL/sound.
indigoparadox [Fri, 30 Dec 2022 21:45:28 +0000 (16:45 -0500)]
Added missing include guards for compiling without SDL/sound.

3 years agoempty I_InitTimidityConfig() decleration for non timidity ports!
ozkl [Sun, 4 Dec 2022 12:24:51 +0000 (15:24 +0300)]
empty I_InitTimidityConfig() decleration for non timidity ports!

3 years agoAdded SDL2-based sound playback
Georgi Gerganov [Sat, 26 Feb 2022 13:34:06 +0000 (15:34 +0200)]
Added SDL2-based sound playback

3 years agoUpdate README.md
ozkl [Wed, 19 Oct 2022 21:45:17 +0000 (00:45 +0300)]
Update README.md

3 years agoMerge pull request #5 from weirddan455/x11
ozkl [Wed, 19 Oct 2022 21:40:45 +0000 (00:40 +0300)]
Merge pull request #5 from weirddan455/x11

X11: Improve performance by using XImage over XPixmap

4 years agoX11: Improve performance by using XImage over XPixmap
Daniel Bomar [Wed, 27 Apr 2022 06:11:39 +0000 (01:11 -0500)]
X11: Improve performance by using XImage over XPixmap

This method does not need to copy pixel data greatly improving
performance. The doom framebuffer data is already in a format that Xlib
can accept so all we need to do is a single XPutImage call whenever the
engine wants us to draw a frame.

5 years agososo nano-x port
ozkl [Sun, 28 Feb 2021 17:44:35 +0000 (20:44 +0300)]
soso nano-x port

5 years agodoom soso port update
ozkl [Sun, 28 Feb 2021 16:12:01 +0000 (19:12 +0300)]
doom soso port update

5 years agoclang istead of gcc
ozkl [Sat, 12 Dec 2020 15:00:29 +0000 (18:00 +0300)]
clang istead of gcc

5 years agobetter framebuffer handling for soso
ozkl [Sun, 6 Dec 2020 15:45:44 +0000 (18:45 +0300)]
better framebuffer handling for soso

5 years agoMerge pull request #3 from axcap/master
ozkl [Thu, 26 Nov 2020 18:07:56 +0000 (21:07 +0300)]
Merge pull request #3 from axcap/master

Thanks for the port.

5 years agoRenamed all occurrences of 'osx' to 'sdl', deleted binary files (doomgeneric, doomgen...
Akhsarbek Gozoev [Thu, 26 Nov 2020 16:03:42 +0000 (17:03 +0100)]
Renamed all occurrences of 'osx' to 'sdl', deleted binary files (doomgeneric, doomgeneric/DOOM1.WAD)

5 years agoMerge pull request #2 from Redfoxymoon/master
ozkl [Sun, 22 Nov 2020 14:05:57 +0000 (17:05 +0300)]
Merge pull request #2 from Redfoxymoon/master

Portability fixes for building against musl libc distros

5 years agoMakefile: build with _DEFAULT_SOURCE
Ørjan [Tue, 8 Sep 2020 13:12:03 +0000 (13:12 +0000)]
Makefile: build with _DEFAULT_SOURCE

5 years agoportability fixes
Ørjan [Tue, 8 Sep 2020 13:11:08 +0000 (13:11 +0000)]
portability fixes

6 years agounnecessary memcpy removed
ozkl [Sat, 16 May 2020 14:56:17 +0000 (17:56 +0300)]
unnecessary memcpy removed

6 years agoMerge pull request #1 from bcoles/patch-1
ozkl [Sat, 16 May 2020 13:01:07 +0000 (16:01 +0300)]
Merge pull request #1 from bcoles/patch-1

Use explicit .savegame directory name

6 years agoUse DIR_SEPARATOR_S
bcoles [Wed, 1 Apr 2020 06:27:31 +0000 (17:27 +1100)]
Use DIR_SEPARATOR_S

6 years agoUse explicit .savegame directory name
bcoles [Tue, 31 Mar 2020 08:53:46 +0000 (19:53 +1100)]
Use explicit .savegame directory name

6 years agoReadme modified, osx screenshots added
Akhsarbek Gozoev [Tue, 11 Feb 2020 18:14:39 +0000 (10:14 -0800)]
Readme modified, osx screenshots added

6 years agoReadme modified, osx screenshots added
Akhsarbek Gozoev [Tue, 11 Feb 2020 18:14:03 +0000 (10:14 -0800)]
Readme modified, osx screenshots added

6 years agoosx sdl2 port done
Akhsarbek Gozoev [Tue, 11 Feb 2020 18:04:08 +0000 (10:04 -0800)]
osx sdl2 port done

6 years agoUpdate README.md
ozkl [Sat, 7 Sep 2019 16:15:16 +0000 (19:15 +0300)]
Update README.md

6 years agoposx/posy args added to soso to support window placement
ozkl [Fri, 6 Sep 2019 09:01:15 +0000 (12:01 +0300)]
posx/posy args added to soso to support window placement

6 years agoadded 'y' key to known keys for soso
ozkl [Fri, 6 Sep 2019 07:31:50 +0000 (10:31 +0300)]
added 'y' key to known keys for soso

6 years agoadded empty implementation of SetWindowTitle to soso
ozkl [Fri, 6 Sep 2019 07:11:51 +0000 (10:11 +0300)]
added empty implementation of SetWindowTitle to soso

6 years agoUpdate README.md
ozkl [Wed, 4 Sep 2019 18:50:18 +0000 (21:50 +0300)]
Update README.md

6 years agoCreate README.md
ozkl [Wed, 4 Sep 2019 13:35:55 +0000 (16:35 +0300)]
Create README.md

6 years agoscreenshot from windows
ozkl [Wed, 4 Sep 2019 12:36:47 +0000 (15:36 +0300)]
screenshot from windows

6 years agoported to soso os
ozkl [Tue, 20 Aug 2019 19:25:22 +0000 (22:25 +0300)]
ported to soso os

6 years agoMakefile.freebsd (gmake on freebsd)
ozkl [Sun, 18 Aug 2019 14:49:49 +0000 (17:49 +0300)]
Makefile.freebsd (gmake on freebsd)

6 years agoscreenshot from freebsd
ozkl [Sun, 18 Aug 2019 14:44:03 +0000 (17:44 +0300)]
screenshot from freebsd