dosdemo
2 years agoremoved clang-format and clang_complete files from the repo testci
John Tsiombikas [Mon, 16 May 2022 05:02:27 +0000 (08:02 +0300)]
removed clang-format and clang_complete files from the repo

2 years agoUNIX line endings on 2 files
John Tsiombikas [Mon, 16 May 2022 04:29:14 +0000 (07:29 +0300)]
UNIX line endings on 2 files

2 years agoadded code conventions section in the README
John Tsiombikas [Sun, 15 May 2022 19:51:52 +0000 (22:51 +0300)]
added code conventions section in the README

2 years agofixed DJGPP build, broken due to the PCI commit earlier today
John Tsiombikas [Sun, 15 May 2022 19:22:04 +0000 (22:22 +0300)]
fixed DJGPP build, broken due to the PCI commit earlier today

2 years ago- fixed C89 compliance issues with the last commit (rlebitmap/minifx)
John Tsiombikas [Sun, 15 May 2022 19:18:51 +0000 (22:18 +0300)]
- fixed C89 compliance issues with the last commit (rlebitmap/minifx)
- moved minifx.c under scr, since it's a part
- moved src/utils/RleBitmap.* under src/ since src is all about utility
  stuff anyway.
- made filenames DOS 8.3 compatible and lowercase
- fixed include malloc.h -> stdlib.h
- removed casts from malloc
- fixed indentation consistency issues in one file
- added new files to the watcom makefile

2 years agoMoved RleBitmap to its own module and created minifx screen to experiment
Michael Georgoulopoulos [Sun, 15 May 2022 18:26:50 +0000 (21:26 +0300)]
Moved RleBitmap to its own module and created minifx screen to experiment

2 years agoadded PCI code in anticipation of porting the S3 driver
John Tsiombikas [Sun, 15 May 2022 03:18:53 +0000 (06:18 +0300)]
added PCI code in anticipation of porting the S3 driver

2 years agoMerge branch 'master' of github.com:MindlapseDemos/wip-dosdemo
John Tsiombikas [Wed, 11 May 2022 03:17:55 +0000 (06:17 +0300)]
Merge branch 'master' of github.com:MindlapseDemos/wip-dosdemo

2 years agofixed djgpp version of memset16, missing input clobbers
John Tsiombikas [Wed, 11 May 2022 03:17:13 +0000 (06:17 +0300)]
fixed djgpp version of memset16, missing input clobbers

2 years agoglut backend: don't attempt to init sound if opt.music is false
John Tsiombikas [Wed, 11 May 2022 01:27:57 +0000 (04:27 +0300)]
glut backend: don't attempt to init sound if opt.music is false

2 years agofix pull.bat
John Tsiombikas [Wed, 11 May 2022 01:14:05 +0000 (04:14 +0300)]
fix pull.bat

2 years agoupdate pull.bat
John Tsiombikas [Wed, 11 May 2022 01:05:52 +0000 (04:05 +0300)]
update pull.bat

2 years agoraytrace improvements and random DOS fixes
John Tsiombikas [Wed, 11 May 2022 01:02:23 +0000 (04:02 +0300)]
raytrace improvements and random DOS fixes

2 years agouninitialized variable in logger
John Tsiombikas [Tue, 10 May 2022 23:36:46 +0000 (02:36 +0300)]
uninitialized variable in logger

2 years agort: subsampling seems to work
John Tsiombikas [Tue, 10 May 2022 21:30:27 +0000 (00:30 +0300)]
rt: subsampling seems to work

2 years agort: subsampling wip
John Tsiombikas [Tue, 10 May 2022 18:58:49 +0000 (21:58 +0300)]
rt: subsampling wip

2 years agort: started working on the tile-based rendering
John Tsiombikas [Tue, 10 May 2022 16:45:24 +0000 (19:45 +0300)]
rt: started working on the tile-based rendering

2 years agofixed img2bin makefile to use the included libimago
John Tsiombikas [Sun, 8 May 2022 19:48:19 +0000 (22:48 +0300)]
fixed img2bin makefile to use the included libimago

2 years agomissing nasm rule for win32
John Tsiombikas [Sun, 8 May 2022 18:40:50 +0000 (21:40 +0300)]
missing nasm rule for win32

2 years agoFixes for compiling under msys2
Michael Georgoulopoulos [Sun, 8 May 2022 18:37:03 +0000 (21:37 +0300)]
Fixes for compiling under msys2

2 years agort: oops color clamping bug
John Tsiombikas [Sun, 8 May 2022 15:14:59 +0000 (18:14 +0300)]
rt: oops color clamping bug

2 years agoforgot to remove the artifical delay in the loading screen after making
John Tsiombikas [Sun, 8 May 2022 15:09:29 +0000 (18:09 +0300)]
forgot to remove the artifical delay in the loading screen after making
the progress bar effect.

2 years agocleared pragma warning from bsptree.c
John Tsiombikas [Sun, 8 May 2022 15:07:59 +0000 (18:07 +0300)]
cleared pragma warning from bsptree.c

2 years agofixed uninitialized color in flat untextured z-buffer rasterizer variant
John Tsiombikas [Sun, 8 May 2022 15:05:25 +0000 (18:05 +0300)]
fixed uninitialized color in flat untextured z-buffer rasterizer variant

2 years agoinitial raytracing experiment
John Tsiombikas [Sun, 8 May 2022 04:40:40 +0000 (07:40 +0300)]
initial raytracing experiment

2 years agoadded missing "bits 32" directives in the new asm files
John Tsiombikas [Wed, 4 May 2022 17:56:22 +0000 (20:56 +0300)]
added missing "bits 32" directives in the new asm files

2 years agoreadme fix
John Tsiombikas [Wed, 4 May 2022 17:11:25 +0000 (20:11 +0300)]
readme fix

2 years agoreadme fix
John Tsiombikas [Wed, 4 May 2022 17:10:09 +0000 (20:10 +0300)]
readme fix

2 years agofixed markdown links in readme
John Tsiombikas [Wed, 4 May 2022 17:05:50 +0000 (20:05 +0300)]
fixed markdown links in readme

2 years agoREADME: added DOS PC networking setup notes
John Tsiombikas [Wed, 4 May 2022 17:03:03 +0000 (20:03 +0300)]
README: added DOS PC networking setup notes

2 years ago- VBE banked mode fixes backported from rbench
John Tsiombikas [Tue, 3 May 2022 12:49:41 +0000 (15:49 +0300)]
- VBE banked mode fixes backported from rbench
- write combining setup when available
- added CPUID code
- fixed djgpp build
- noise3 bugfix from andemo

2 years agoadded CPUID code from rbench and get_cpl to be used by the
John Tsiombikas [Mon, 2 May 2022 22:26:18 +0000 (01:26 +0300)]
added CPUID code from rbench and get_cpl to be used by the
write-combining enable in gfx.c (again backported from rbench)

2 years agoupdated the readme
John Tsiombikas [Mon, 2 May 2022 13:37:35 +0000 (16:37 +0300)]
updated the readme

2 years agodos fixes and vga modex
John Tsiombikas [Sat, 30 Apr 2022 04:24:15 +0000 (07:24 +0300)]
dos fixes and vga modex

2 years agobetter pull.bat based on rsync for dos
John Tsiombikas [Wed, 27 Apr 2022 00:53:19 +0000 (03:53 +0300)]
better pull.bat based on rsync for dos

4 years agomore efficient mountain drawing
John Tsiombikas [Thu, 13 Aug 2020 00:06:47 +0000 (03:06 +0300)]
more efficient mountain drawing

4 years agoremoved sdl from mikmod cflags, since we dropped SDL from the
John Tsiombikas [Wed, 12 Aug 2020 05:04:03 +0000 (08:04 +0300)]
removed sdl from mikmod cflags, since we dropped SDL from the
cross-platform version

4 years agoincreased guard-band to 64 pixels top/bottom, and stopped demo_init2
John Tsiombikas [Wed, 12 Aug 2020 05:02:33 +0000 (08:02 +0300)]
increased guard-band to 64 pixels top/bottom, and stopped demo_init2
from overwriting the fb_pixels pointer

4 years agofixed DJGPP makefile
John Tsiombikas [Tue, 11 Aug 2020 15:40:57 +0000 (18:40 +0300)]
fixed DJGPP makefile

4 years agoadded -fno-pie in GNUmakefile
John Tsiombikas [Sat, 8 Aug 2020 19:56:58 +0000 (22:56 +0300)]
added -fno-pie in GNUmakefile

4 years agoworking on the cyberspace part
John Tsiombikas [Fri, 7 Aug 2020 23:54:06 +0000 (02:54 +0300)]
working on the cyberspace part

4 years agofixed watcom makefile
John Tsiombikas [Sat, 18 Jul 2020 22:17:32 +0000 (01:17 +0300)]
fixed watcom makefile

4 years agocybersun
John Tsiombikas [Tue, 14 Jul 2020 02:17:57 +0000 (05:17 +0300)]
cybersun

4 years ago- added cybersun screen
John Tsiombikas [Sun, 12 Jul 2020 22:34:31 +0000 (01:34 +0300)]
- added cybersun screen
- fixed gen_plane_mesh dimensions

4 years agoglut version: make the loading screen fullscreen if demo is going to run fullscreen
John Tsiombikas [Sun, 12 Jul 2020 17:17:57 +0000 (20:17 +0300)]
glut version: make the loading screen fullscreen if demo is going to run fullscreen

4 years agofixed loading screen. regression in blitfb
John Tsiombikas [Sun, 12 Jul 2020 00:01:08 +0000 (03:01 +0300)]
fixed loading screen. regression in blitfb

4 years agofixed minor issues
John Tsiombikas [Sat, 11 Jul 2020 05:18:11 +0000 (01:18 -0400)]
fixed minor issues

4 years agofoo
John Tsiombikas [Fri, 10 Jul 2020 22:01:03 +0000 (01:01 +0300)]
foo

4 years agobackported imago from eradicate
John Tsiombikas [Fri, 10 Jul 2020 18:08:09 +0000 (21:08 +0300)]
backported imago from eradicate

4 years agozbuffer done
John Tsiombikas [Fri, 10 Jul 2020 12:20:23 +0000 (15:20 +0300)]
zbuffer done

4 years agopartial zbuffer implementation #2
John Tsiombikas [Thu, 9 Jul 2020 22:14:06 +0000 (01:14 +0300)]
partial zbuffer implementation #2

4 years agozbuffer partial implementation
John Tsiombikas [Tue, 30 Jun 2020 18:37:37 +0000 (21:37 +0300)]
zbuffer partial implementation

4 years agoimplemented glutSetCursor(GLUT_CURSOR_NONE) in miniglut
John Tsiombikas [Tue, 16 Jun 2020 21:47:56 +0000 (00:47 +0300)]
implemented glutSetCursor(GLUT_CURSOR_NONE) in miniglut

4 years agoommited calling demo_post_draw in the glut backend
John Tsiombikas [Tue, 16 Jun 2020 20:51:23 +0000 (23:51 +0300)]
ommited calling demo_post_draw in the glut backend

4 years agoadded the src/glut files eradbackport
John Tsiombikas [Tue, 16 Jun 2020 06:45:55 +0000 (09:45 +0300)]
added the src/glut files

4 years agodropping SDL for the cross-platform version almost done
John Tsiombikas [Tue, 16 Jun 2020 04:08:58 +0000 (07:08 +0300)]
dropping SDL for the cross-platform version almost done

4 years agoporting the demo to miniglut
John Tsiombikas [Mon, 15 Jun 2020 14:47:36 +0000 (17:47 +0300)]
porting the demo to miniglut

4 years agofixed compiled sprites
John Tsiombikas [Mon, 15 Jun 2020 05:31:03 +0000 (08:31 +0300)]
fixed compiled sprites

4 years agobackport builds
John Tsiombikas [Sat, 13 Jun 2020 10:59:00 +0000 (13:59 +0300)]
backport builds

4 years agobackport cont.
John Tsiombikas [Tue, 9 Jun 2020 23:21:15 +0000 (02:21 +0300)]
backport cont.

4 years agobackporting...
John Tsiombikas [Mon, 8 Jun 2020 16:23:36 +0000 (19:23 +0300)]
backporting...

4 years agostarted backporting the eradicate code
John Tsiombikas [Fri, 5 Jun 2020 13:39:37 +0000 (16:39 +0300)]
started backporting the eradicate code

4 years agofoo
John Tsiombikas [Fri, 28 Feb 2020 03:06:01 +0000 (05:06 +0200)]
foo

4 years agoreorganizing the rope sim
John Tsiombikas [Thu, 27 Feb 2020 15:27:25 +0000 (17:27 +0200)]
reorganizing the rope sim

4 years agotake mass into account
John Tsiombikas [Tue, 25 Feb 2020 19:00:06 +0000 (21:00 +0200)]
take mass into account

4 years agoropes
John Tsiombikas [Sat, 4 Jan 2020 22:28:14 +0000 (00:28 +0200)]
ropes

4 years agoropes are doing something
John Tsiombikas [Wed, 1 Jan 2020 07:15:49 +0000 (09:15 +0200)]
ropes are doing something

4 years agostarted on the rope sim
John Tsiombikas [Wed, 1 Jan 2020 06:08:58 +0000 (08:08 +0200)]
started on the rope sim

4 years agochanged gimbal motion from middle mouse button to modkeys + left
John Tsiombikas [Thu, 26 Dec 2019 11:25:01 +0000 (13:25 +0200)]
changed gimbal motion from middle mouse button to modkeys + left

4 years agoropesim: gimbal movement
John Tsiombikas [Thu, 26 Dec 2019 09:42:45 +0000 (11:42 +0200)]
ropesim: gimbal movement

4 years agoupdated cgmath
John Tsiombikas [Thu, 26 Dec 2019 09:42:37 +0000 (11:42 +0200)]
updated cgmath

4 years agofixed the mesh loader
John Tsiombikas [Wed, 25 Dec 2019 21:06:40 +0000 (23:06 +0200)]
fixed the mesh loader

4 years agoropesim tool minor progr.
John Tsiombikas [Wed, 25 Dec 2019 11:41:54 +0000 (13:41 +0200)]
ropesim tool minor progr.

4 years agostarted ropesim tool
John Tsiombikas [Wed, 25 Dec 2019 05:16:47 +0000 (07:16 +0200)]
started ropesim tool

4 years agominor performance improvements, optional mouse, mouse cursor now drawn
John Tsiombikas [Tue, 24 Dec 2019 20:02:40 +0000 (22:02 +0200)]
minor performance improvements, optional mouse, mouse cursor now drawn
with compiled sprites

5 years agofixed procdata and 32bit build
John Tsiombikas [Mon, 23 Dec 2019 17:14:11 +0000 (19:14 +0200)]
fixed procdata and 32bit build

5 years agofixed bugs, added progress bar, and more
John Tsiombikas [Mon, 23 Dec 2019 10:33:57 +0000 (12:33 +0200)]
fixed bugs, added progress bar, and more

5 years agoIt seems that it was a mistake to OR the LFB flag to the video mode
John Tsiombikas [Sun, 22 Dec 2019 23:32:57 +0000 (01:32 +0200)]
It seems that it was a mistake to OR the LFB flag to the video mode
returned by the enumeration of VBE modes. Many of the graphics cards in
PCem fail the call when it's present.
Also renamed Makefile -> Makefile.wat and Makefile.dj -> Makefile since
we're pretty much deprecating watcom at this point.

5 years agobackported build fixes and warnings cleanup from dos
John Tsiombikas [Sun, 22 Dec 2019 09:43:19 +0000 (11:43 +0200)]
backported build fixes and warnings cleanup from dos

5 years agofoo
John Tsiombikas [Sun, 22 Dec 2019 09:07:01 +0000 (11:07 +0200)]
foo

5 years agocon.fmt caused problems in dos. renamed to console.fnt
John Tsiombikas [Sat, 21 Dec 2019 12:26:46 +0000 (14:26 +0200)]
con.fmt caused problems in dos. renamed to console.fnt

5 years agoshift translation for DOS too
John Tsiombikas [Sat, 21 Dec 2019 12:04:58 +0000 (14:04 +0200)]
shift translation for DOS too

5 years agoSDL backend shifted key translation
John Tsiombikas [Sat, 21 Dec 2019 08:05:59 +0000 (10:05 +0200)]
SDL backend shifted key translation

5 years agocopy_mesh
John Tsiombikas [Fri, 20 Dec 2019 10:23:49 +0000 (12:23 +0200)]
copy_mesh

5 years agoworld's saddest console
John Tsiombikas [Fri, 20 Dec 2019 03:54:00 +0000 (05:54 +0200)]
world's saddest console

5 years agoadded csprite stuff to the djgpp makefile
John Tsiombikas [Thu, 19 Dec 2019 15:57:02 +0000 (17:57 +0200)]
added csprite stuff to the djgpp makefile

5 years agobetter font
John Tsiombikas [Thu, 19 Dec 2019 12:54:49 +0000 (14:54 +0200)]
better font

5 years agofixed 16bpp offsets in csprite generator (hardcoded for now)
John Tsiombikas [Thu, 19 Dec 2019 02:54:07 +0000 (04:54 +0200)]
fixed 16bpp offsets in csprite generator (hardcoded for now)

5 years ago- fixed typos in csprite's code generator for nasm
John Tsiombikas [Thu, 19 Dec 2019 02:12:31 +0000 (04:12 +0200)]
- fixed typos in csprite's code generator for nasm
- integrated (in the UNIX build only) automatic generation of compiled
  sprites with csprite
- converted the UNIX build to 32bit, to allow using the same assembly
  code as with the DOS version (again for compiled sprites mostly)

5 years agomade sprite compiler able to handle 565 formats. the assembly output
John Tsiombikas [Wed, 18 Dec 2019 05:30:43 +0000 (07:30 +0200)]
made sprite compiler able to handle 565 formats. the assembly output
seems plausible, need to test

5 years agoadded csprite tool for compiled sprites
John Tsiombikas [Tue, 17 Dec 2019 04:21:30 +0000 (06:21 +0200)]
added csprite tool for compiled sprites

5 years agoreorganized the source code
John Tsiombikas [Sun, 15 Dec 2019 06:43:46 +0000 (08:43 +0200)]
reorganized the source code

5 years agodisabled dep-files when building on dos, because it goes into an infinite loop
John Tsiombikas [Sat, 14 Dec 2019 08:54:44 +0000 (10:54 +0200)]
disabled dep-files when building on dos, because it goes into an infinite loop

5 years agoexpanded the build instructions in the README
John Tsiombikas [Sat, 14 Dec 2019 07:20:18 +0000 (09:20 +0200)]
expanded the build instructions in the README

5 years agoadded GPL license
John Tsiombikas [Sat, 14 Dec 2019 05:57:43 +0000 (07:57 +0200)]
added GPL license

5 years agofixed the physical to virtual translation issues with DJGPP, watcom just dosrewrite
John Tsiombikas [Sat, 14 Dec 2019 05:51:54 +0000 (07:51 +0200)]
fixed the physical to virtual translation issues with DJGPP, watcom just
doesn't work at the moment, and seems like it hasn't worked for a while
and went unnoticed? ... oh well

5 years agoinfcubes crashes
John Tsiombikas [Fri, 13 Dec 2019 08:47:11 +0000 (10:47 +0200)]
infcubes crashes

5 years agoremoved "trying to match" debug prints
John Tsiombikas [Tue, 10 Dec 2019 11:12:16 +0000 (13:12 +0200)]
removed "trying to match" debug prints

5 years agofixed div/0
John Tsiombikas [Fri, 6 Dec 2019 10:33:19 +0000 (12:33 +0200)]
fixed div/0

5 years agoadded missing "modify" declarations in cdpmi.h inline assembly blocks
John Tsiombikas [Thu, 5 Dec 2019 02:03:13 +0000 (04:03 +0200)]
added missing "modify" declarations in cdpmi.h inline assembly blocks