dosdemo
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

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

4 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

4 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.

4 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

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

4 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

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

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

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

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

4 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

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

4 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)

4 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)

4 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

4 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

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

4 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

4 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

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

4 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

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

4 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

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

4 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

4 years agopass -d2 for proper debug symbols
John Tsiombikas [Mon, 2 Dec 2019 22:58:52 +0000 (00:58 +0200)]
pass -d2 for proper debug symbols

4 years agoaccidentally removed the watcom makefile
John Tsiombikas [Mon, 2 Dec 2019 22:58:20 +0000 (00:58 +0200)]
accidentally removed the watcom makefile

4 years agofoo
John Tsiombikas [Mon, 2 Dec 2019 21:01:12 +0000 (23:01 +0200)]
foo

4 years agothe rewrite branch builds, not tested yet
John Tsiombikas [Mon, 2 Dec 2019 11:19:51 +0000 (13:19 +0200)]
the rewrite branch builds, not tested yet

4 years agoadding the previous gfx.h file, will re-write the code
John Tsiombikas [Mon, 18 Nov 2019 15:43:53 +0000 (17:43 +0200)]
adding the previous gfx.h file, will re-write the code

4 years agomore vbe
John Tsiombikas [Fri, 15 Nov 2019 02:57:54 +0000 (04:57 +0200)]
more vbe

4 years agosetmode, crtc, list of standard modes
John Tsiombikas [Thu, 14 Nov 2019 11:15:58 +0000 (13:15 +0200)]
setmode, crtc, list of standard modes

4 years agomore vbe
John Tsiombikas [Thu, 14 Nov 2019 02:00:03 +0000 (04:00 +0200)]
more vbe

4 years agostart writing new VBE routines
John Tsiombikas [Tue, 12 Nov 2019 11:09:31 +0000 (13:09 +0200)]
start writing new VBE routines

4 years agodos backend partial rewrite starting with DPMI
John Tsiombikas [Tue, 12 Nov 2019 00:58:39 +0000 (02:58 +0200)]
dos backend partial rewrite starting with DPMI

4 years agobackported g3d changes:
John Tsiombikas [Wed, 4 Sep 2019 12:00:18 +0000 (15:00 +0300)]
backported g3d changes:
 - rasterizer selection controled by enable bits
 - polygon blending
 - g3d_pixel typedef (uint16_t here)

4 years agofoo
John Tsiombikas [Wed, 4 Sep 2019 09:38:01 +0000 (12:38 +0300)]
foo

5 years agowtf did I write there?
John Tsiombikas [Fri, 22 Feb 2019 22:06:06 +0000 (00:06 +0200)]
wtf did I write there?

5 years agofixed all the makefiles to build with the new libanim
John Tsiombikas [Mon, 10 Dec 2018 17:51:42 +0000 (19:51 +0200)]
fixed all the makefiles to build with the new libanim

5 years agoadded libanim, and moved gph-cmath into libs/cgmath
John Tsiombikas [Mon, 10 Dec 2018 17:42:58 +0000 (19:42 +0200)]
added libanim, and moved gph-cmath into libs/cgmath

5 years ago- fixed watcom build
John Tsiombikas [Tue, 4 Dec 2018 04:36:23 +0000 (06:36 +0200)]
- fixed watcom build
- added gph-cmath C math library
- dropping oldmik, don't bother with music for watcom builds. final
  build will be djgpp anyway.

5 years agoadded treestore and started a bit on the tilesets for the maze parts
John Tsiombikas [Tue, 4 Dec 2018 03:51:07 +0000 (05:51 +0200)]
added treestore and started a bit on the tilesets for the maze parts

5 years agotheoretically added texture matrices. untested.
John Tsiombikas [Sat, 1 Dec 2018 05:54:15 +0000 (07:54 +0200)]
theoretically added texture matrices. untested.

5 years agofixed bug introduced by the last bugfix
John Tsiombikas [Sat, 15 Sep 2018 17:15:17 +0000 (20:15 +0300)]
fixed bug introduced by the last bugfix

5 years agofixed overdlow when calculating winding of large polygons in the
John Tsiombikas [Sat, 15 Sep 2018 16:32:52 +0000 (19:32 +0300)]
fixed overdlow when calculating winding of large polygons in the
rasterizert

5 years agofixed hairball update and drawing
John Tsiombikas [Wed, 12 Sep 2018 16:34:01 +0000 (19:34 +0300)]
fixed hairball update and drawing

5 years agoadded spaceball on linux
John Tsiombikas [Tue, 11 Sep 2018 18:07:17 +0000 (21:07 +0300)]
added spaceball on linux

5 years agoframerate limiter in hairball
John Tsiombikas [Mon, 10 Sep 2018 16:18:35 +0000 (19:18 +0300)]
framerate limiter in hairball

5 years agohairball screen
John Tsiombikas [Mon, 10 Sep 2018 15:44:12 +0000 (18:44 +0300)]
hairball screen

5 years agobackported fixes from rtxon
John Tsiombikas [Sat, 8 Sep 2018 03:40:38 +0000 (06:40 +0300)]
backported fixes from rtxon

5 years agobackported from rtxon: check_clip_poly (needed for new BSP code)
John Tsiombikas [Thu, 30 Aug 2018 06:04:46 +0000 (09:04 +0300)]
backported from rtxon: check_clip_poly (needed for new BSP code)
also commented out the BSP drawing in polytest for now.

5 years agobackported fixes from rtxon: BSP tree construction and mouse handling
John Tsiombikas [Thu, 30 Aug 2018 06:01:30 +0000 (09:01 +0300)]
backported fixes from rtxon: BSP tree construction and mouse handling

5 years agoMerge branch 'master' of goat:git/dosdemo
John Tsiombikas [Sat, 25 Aug 2018 04:51:11 +0000 (07:51 +0300)]
Merge branch 'master' of goat:git/dosdemo

5 years agofixed bug in meshload. it would always expect it's loading obj files with quads.
John Tsiombikas [Sat, 25 Aug 2018 04:49:57 +0000 (07:49 +0300)]
fixed bug in meshload. it would always expect it's loading obj files with quads.

6 years agostarting tile-maze
John Tsiombikas [Sun, 25 Mar 2018 22:08:06 +0000 (01:08 +0300)]
starting tile-maze

6 years agoseparated the smoke-text effect to reuse it in multiple parts if
John Tsiombikas [Sun, 25 Mar 2018 19:02:45 +0000 (22:02 +0300)]
separated the smoke-text effect to reuse it in multiple parts if
necessary

6 years agoneed reorganization
John Tsiombikas [Thu, 22 Mar 2018 22:35:45 +0000 (00:35 +0200)]
need reorganization

6 years agomore pipes
John Tsiombikas [Thu, 22 Mar 2018 18:25:19 +0000 (20:25 +0200)]
more pipes

6 years agoprocedural generator for the steam tunnels part
John Tsiombikas [Thu, 22 Mar 2018 16:18:20 +0000 (18:18 +0200)]
procedural generator for the steam tunnels part

6 years agoswitching polytest between zsorting and BSP for performance testing
John Tsiombikas [Wed, 21 Feb 2018 04:01:17 +0000 (06:01 +0200)]
switching polytest between zsorting and BSP for performance testing
with 'b'

6 years agofixed warnings
John Tsiombikas [Mon, 19 Feb 2018 22:41:22 +0000 (00:41 +0200)]
fixed warnings

6 years agosimplified clip_poly and clip_frustum slightly
John Tsiombikas [Mon, 19 Feb 2018 18:26:07 +0000 (20:26 +0200)]
simplified clip_poly and clip_frustum slightly

6 years agoforgot to implement mouse calls for djgpp. moved it to mouse.asm
John Tsiombikas [Mon, 19 Feb 2018 10:06:32 +0000 (12:06 +0200)]
forgot to implement mouse calls for djgpp. moved it to mouse.asm

6 years agomajor bsp bugs fixed
John Tsiombikas [Mon, 19 Feb 2018 08:01:12 +0000 (10:01 +0200)]
major bsp bugs fixed

6 years agoI need to go deeper bsp
John Tsiombikas [Mon, 19 Feb 2018 02:29:26 +0000 (04:29 +0200)]
I need to go deeper

6 years agoadded OpenGL debug/test program
John Tsiombikas [Mon, 19 Feb 2018 01:33:35 +0000 (03:33 +0200)]
added OpenGL debug/test program

6 years agodebugging the BSP
John Tsiombikas [Sun, 18 Feb 2018 20:03:44 +0000 (22:03 +0200)]
debugging the BSP

6 years agobsp construction doesn't crash any more
John Tsiombikas [Sun, 18 Feb 2018 19:18:48 +0000 (21:18 +0200)]
bsp construction doesn't crash any more

6 years agoBSP construction debugging
John Tsiombikas [Sun, 18 Feb 2018 16:54:25 +0000 (18:54 +0200)]
BSP construction debugging

6 years agostarted BSP tree
John Tsiombikas [Sun, 18 Feb 2018 06:59:33 +0000 (08:59 +0200)]
started BSP tree

6 years agoadded specular offset parameters in gen_phong_tex
John Tsiombikas [Sat, 17 Feb 2018 16:55:18 +0000 (18:55 +0200)]
added specular offset parameters in gen_phong_tex

6 years agoenvmap, fake phong texture generation, and more
John Tsiombikas [Sat, 17 Feb 2018 08:08:42 +0000 (10:08 +0200)]
envmap, fake phong texture generation, and more

6 years agowriting obj loader
John Tsiombikas [Sat, 17 Feb 2018 01:13:07 +0000 (03:13 +0200)]
writing obj loader

6 years agoremoved redundant immediate mode draw_cube from infcubes
John Tsiombikas [Thu, 15 Feb 2018 05:02:47 +0000 (07:02 +0200)]
removed redundant immediate mode draw_cube from infcubes

6 years ago- moved image rgb24->rgb16 conversion to gfxutil
John Tsiombikas [Thu, 15 Feb 2018 05:01:36 +0000 (07:01 +0200)]
- moved image rgb24->rgb16 conversion to gfxutil
- ugly infcubes textures

6 years ago- added mesh operations: apply_mesh_xform, append_mesh, indexify_mesh (untested)...
John Tsiombikas [Thu, 15 Feb 2018 04:30:14 +0000 (06:30 +0200)]
- added mesh operations: apply_mesh_xform, append_mesh, indexify_mesh (untested), gen_plane_mesh, gen_cube_mesh.

6 years ago- separated mesh algorithms in mesh.h/mesh.c
John Tsiombikas [Wed, 14 Feb 2018 05:35:58 +0000 (07:35 +0200)]
- separated mesh algorithms in mesh.h/mesh.c
- fixed backface culling precision issue
- fixed leftover old prototypes for g3d_color* functions
- added debug breakpoint in util and made the demo break when pressing
  delete.
- fugly textured cube in infcubes part

6 years agostarting infcubes part
John Tsiombikas [Tue, 13 Feb 2018 18:47:25 +0000 (20:47 +0200)]
starting infcubes part

6 years ago- added immediate mode drawing in 3dgfx
John Tsiombikas [Tue, 13 Feb 2018 18:43:02 +0000 (20:43 +0200)]
- added immediate mode drawing in 3dgfx
- changed fullscreen toggle in SDL backend to alt-enter

6 years ago- added optimization notes in readme
John Tsiombikas [Mon, 12 Feb 2018 04:54:39 +0000 (06:54 +0200)]
- added optimization notes in readme
- added cpuid instruction for serializing/flushing cpu state before
  taking rdtsc measurements
- moved perf variables to util.c to silence watcom warnings

6 years agoadded perf_start/perf_end assembly macros
John Tsiombikas [Sun, 11 Feb 2018 08:05:49 +0000 (10:05 +0200)]
added perf_start/perf_end assembly macros

6 years agoattempt to use new mikmod for djgpp build
John Tsiombikas [Sat, 10 Feb 2018 19:56:45 +0000 (21:56 +0200)]
attempt to use new mikmod for djgpp build

6 years ago- added rules for building asm code in the gcc makefiles
John Tsiombikas [Sat, 10 Feb 2018 19:10:26 +0000 (21:10 +0200)]
- added rules for building asm code in the gcc makefiles
- fixed missing parenthesis in PACK_RGB16

6 years ago- added blur in gfxutil
John Tsiombikas [Sat, 10 Feb 2018 12:04:24 +0000 (14:04 +0200)]
- added blur in gfxutil
- fixed 3dgfx to use the framebuffer set by g3d_framebuffer
- trying a variant of the greets effect with a frame by frame blur

6 years agoadding fast blur function
John Tsiombikas [Fri, 9 Feb 2018 01:03:47 +0000 (03:03 +0200)]
adding fast blur function

6 years agochanged the DJGPP makefiles to use different suffixes for intermediate
John Tsiombikas [Thu, 8 Feb 2018 07:46:37 +0000 (09:46 +0200)]
changed the DJGPP makefiles to use different suffixes for intermediate
build files (.cof instead of .o, .dep instead of .d, and .dja instead of
.a), to make it possible to build both the linux and the dos version in
the same directory without conflict.

6 years agofixed point drawing in 3dgfx and added new greets screen
John Tsiombikas [Thu, 8 Feb 2018 07:16:00 +0000 (09:16 +0200)]
fixed point drawing in 3dgfx and added new greets screen

6 years agofixed mistake in the DJGPP version of dpmi_alloc
John Tsiombikas [Tue, 6 Feb 2018 22:56:32 +0000 (00:56 +0200)]
fixed mistake in the DJGPP version of dpmi_alloc

6 years ago- instructed gcc to emit only pentium1 instructions
John Tsiombikas [Tue, 6 Feb 2018 21:47:34 +0000 (23:47 +0200)]
- instructed gcc to emit only pentium1 instructions
- moved wait_vsync into an assembly macro in gfx.h