Michael Kargas [Mon, 10 Oct 2016 21:25:51 +0000 (22:25 +0100)]
Not exactly what I want to achieve here, just keeping this code now. The smaller the particles the more fuzzy or I have to dump down the offsetPower variable.
John Tsiombikas [Sun, 9 Oct 2016 06:29:21 +0000 (09:29 +0300)]
added polygon clipper, not using it yet
John Tsiombikas [Wed, 5 Oct 2016 01:27:58 +0000 (04:27 +0300)]
removed drawFps from grise as it's now part of the main demo code
John Tsiombikas [Wed, 5 Oct 2016 01:20:29 +0000 (04:20 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Wed, 5 Oct 2016 01:19:46 +0000 (04:19 +0300)]
moved the drawFps call to the backends so it works automatically for
any part
Michael Georgoulopoulos [Tue, 4 Oct 2016 23:40:47 +0000 (02:40 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Michael Georgoulopoulos [Tue, 4 Oct 2016 23:40:34 +0000 (02:40 +0300)]
Removed division in displacement inner loop
Stole Optimus' FPS counter as an extern
John Tsiombikas [Tue, 4 Oct 2016 23:08:17 +0000 (02:08 +0300)]
SDL backend set the mouse button bitmask incorrectly
John Tsiombikas [Tue, 4 Oct 2016 16:10:00 +0000 (19:10 +0300)]
removed empty stop functions from bump and plasma to avoid delaying the
transitions
John Tsiombikas [Tue, 4 Oct 2016 16:05:36 +0000 (19:05 +0300)]
changed the tunnel rotation to match the smaller texture
John Tsiombikas [Tue, 4 Oct 2016 05:09:09 +0000 (08:09 +0300)]
added missing open flags and mode in init_logger
John Tsiombikas [Tue, 4 Oct 2016 04:47:51 +0000 (07:47 +0300)]
optional high-quality but slower calculation of attribute slopes across
each scanline, and extra color bits during interpolation.
John Tsiombikas [Tue, 4 Oct 2016 03:19:10 +0000 (06:19 +0300)]
DOS logger now redirects stdout/stderr instead of providing a new
logging function
John Tsiombikas [Tue, 4 Oct 2016 03:00:26 +0000 (06:00 +0300)]
added texture mapping
John Tsiombikas [Mon, 3 Oct 2016 07:58:17 +0000 (10:58 +0300)]
fixed build on macosx
John Tsiombikas [Mon, 3 Oct 2016 07:24:08 +0000 (10:24 +0300)]
split the polyfiller to a preprocessor-based template file, included
multiple times in polyfill.c to instanciate all the variants. currently
fully implemented are: flat and gouraud.
John Tsiombikas [Mon, 3 Oct 2016 06:40:03 +0000 (09:40 +0300)]
added dependency tracking to the GNU makefile
John Tsiombikas [Mon, 3 Oct 2016 05:23:00 +0000 (08:23 +0300)]
forgot to conditionally include malloc.h for alloca on watcom and msvc
John Tsiombikas [Mon, 3 Oct 2016 05:09:59 +0000 (08:09 +0300)]
use the fast double->int conversion in 3dgfx.c
John Tsiombikas [Mon, 3 Oct 2016 04:41:39 +0000 (07:41 +0300)]
added lighting
John Tsiombikas [Mon, 3 Oct 2016 03:41:01 +0000 (06:41 +0300)]
much better, not perfect
John Tsiombikas [Sun, 2 Oct 2016 19:09:29 +0000 (22:09 +0300)]
sucks, maybe I should try integer rasterization with error accumulation...
John Tsiombikas [Sun, 2 Oct 2016 19:08:34 +0000 (22:08 +0300)]
fixed illegal access in bump.c
John Tsiombikas [Sun, 2 Oct 2016 09:06:35 +0000 (12:06 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Sun, 2 Oct 2016 09:05:41 +0000 (12:05 +0300)]
setting up to improve the rasterizer
John Tsiombikas [Sat, 1 Oct 2016 12:27:47 +0000 (15:27 +0300)]
polyfill debugging mode
Michael Kargas [Thu, 29 Sep 2016 21:51:13 +0000 (22:51 +0100)]
Added boundary checks for lights, made lights bigger, moved TinyFPS to bottom of the screen since the lack of double buffering atm, made this flickering badly in DOS and almost unreadable. I could have used a back buffer and then render all to main buffer but I'd rather wait for the double buffering fix for now :)
Michael Kargas [Wed, 28 Sep 2016 21:15:28 +0000 (22:15 +0100)]
Added erase area function for lights, with boundaries (which I will also add to render lights soon)
Michael Kargas [Tue, 27 Sep 2016 21:34:44 +0000 (22:34 +0100)]
Working on bump effect. I have more ideas for it, the way I made this, the lightmap is like a canvas where you add lights and I will add some more cool stuff I have in mind.
John Tsiombikas [Sun, 25 Sep 2016 23:10:24 +0000 (02:10 +0300)]
bump.c: memset is in string.h
John Tsiombikas [Sun, 25 Sep 2016 23:08:55 +0000 (02:08 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Sun, 25 Sep 2016 23:07:06 +0000 (02:07 +0300)]
Added special make rule for music.c, because since it contains a mikmod
callback, which might be called from an interrupt, it must be compiled
with -zu
John Tsiombikas [Sun, 25 Sep 2016 22:46:54 +0000 (01:46 +0300)]
fixed the openwatcom compatibility issue produced by OW wasm emitting
leading underscores in front of public symbols.
Michael Kargas [Sun, 25 Sep 2016 13:55:15 +0000 (14:55 +0100)]
Forgot the makefile change
Michael Kargas [Sun, 25 Sep 2016 13:48:26 +0000 (14:48 +0100)]
Bump effect added. This is unfinished, nothing to see here yet, just commiting initialization to work later on it.
John Tsiombikas [Wed, 21 Sep 2016 04:47:27 +0000 (07:47 +0300)]
SDL backend: toggle fullscreen with 'f'
John Tsiombikas [Tue, 20 Sep 2016 06:18:12 +0000 (09:18 +0300)]
turned on mixing interpolation in the SDL version too
John Tsiombikas [Tue, 20 Sep 2016 06:00:32 +0000 (09:00 +0300)]
added cfgopt to the dos makefile
John Tsiombikas [Tue, 20 Sep 2016 05:56:56 +0000 (08:56 +0300)]
ugh ...
John Tsiombikas [Tue, 20 Sep 2016 05:47:35 +0000 (08:47 +0300)]
updated .gitignore
John Tsiombikas [Tue, 20 Sep 2016 05:46:50 +0000 (08:46 +0300)]
- added config file and commandline parsing
- removed the weird CAFE mechanism now that we have a config file
John Tsiombikas [Tue, 20 Sep 2016 04:29:30 +0000 (07:29 +0300)]
turned on mod player mixer interpolation, doesn't make much difference
on framerate
John Tsiombikas [Tue, 20 Sep 2016 04:27:25 +0000 (07:27 +0300)]
build mikmod and the music code on windows
John Tsiombikas [Tue, 20 Sep 2016 02:27:04 +0000 (05:27 +0300)]
fixed music playback in dos
John Tsiombikas [Tue, 20 Sep 2016 00:11:05 +0000 (03:11 +0300)]
forgot to write the music update function
John Tsiombikas [Mon, 19 Sep 2016 23:42:10 +0000 (02:42 +0300)]
added an old version of mikmod for dos
John Tsiombikas [Mon, 19 Sep 2016 21:48:21 +0000 (00:48 +0300)]
music playback works on GNU/Linux
John Tsiombikas [Mon, 19 Sep 2016 02:58:51 +0000 (05:58 +0300)]
add mikmod source
John Tsiombikas [Mon, 19 Sep 2016 01:16:05 +0000 (04:16 +0300)]
fixed bug introduced by moving the loop variables out of the for loops
John Tsiombikas [Mon, 19 Sep 2016 01:00:38 +0000 (04:00 +0300)]
fixing C compatibility problems
Michael Georgoulopoulos [Sun, 18 Sep 2016 23:00:44 +0000 (02:00 +0300)]
Hey! Not fair!
Michael Georgoulopoulos [Sun, 18 Sep 2016 22:59:08 +0000 (01:59 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Michael Georgoulopoulos [Sun, 18 Sep 2016 22:58:58 +0000 (01:58 +0300)]
Function that distributes the streaks in an rle scanline so that non-overlapping streaks from the previous scanline will not be interpolated (total hack)
Michael Georgoulopoulos [Sun, 18 Sep 2016 21:47:27 +0000 (00:47 +0300)]
Use pointers instead of structs to handle rleBitmap objects
Michael Kargas [Sun, 18 Sep 2016 21:26:29 +0000 (22:26 +0100)]
My first commit in this project, just a lame plasma test effect and my tinyfps with a minimal font from another project to monitor fps while the effect running
Michael Georgoulopoulos [Sun, 18 Sep 2016 16:37:23 +0000 (19:37 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Michael Georgoulopoulos [Sun, 18 Sep 2016 16:37:07 +0000 (19:37 +0300)]
propeller mini-effect
Michael Georgoulopoulos [Sun, 18 Sep 2016 15:15:01 +0000 (18:15 +0300)]
Made RLE streak width/position scaling use fixed point + updated RLE scanline interpolator to handle blank streaks
John Tsiombikas [Tue, 13 Sep 2016 07:09:51 +0000 (10:09 +0300)]
grise: fixed artifact due to uninitialized guard-pand in backBuffer and
increased the performance slightly by copying the backBuffer to
vmem_back, instead of fb_pixels.
Michael Georgoulopoulos [Sun, 11 Sep 2016 23:06:02 +0000 (02:06 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Conflicts:
src/grise.c
Michael Georgoulopoulos [Sun, 11 Sep 2016 23:04:12 +0000 (02:04 +0300)]
Test blits of RLE with scaling
Michael Georgoulopoulos [Sun, 11 Sep 2016 14:39:16 +0000 (17:39 +0300)]
Finished RLE thingy
John Tsiombikas [Sun, 11 Sep 2016 04:47:44 +0000 (07:47 +0300)]
added two new global pointers in demo.h: vmem_back and vmem_front, and
now parts need to call swap_buffers manually. This allows the
flexibility to have some parts write to video memory directly
(vmem_back) and then do an extremely fast page-flip by calling
swap_buffers(0). Other parts that prefer to write to a system-ram
framebuffer can continue to use fb_pixels, but they now have to call
swap_buffers(fb_pixels), to copy the result to vmem_front.
vmem_back and vmem_front at the moment point to the front buffer, until
I implement VBE page flipping, and in any case they may still both
point to the front buffer if there isn't enough memory for two pages,
so don't memcpy from one to the other manually. Use swap_buffers only.
John Tsiombikas [Sun, 11 Sep 2016 04:45:57 +0000 (07:45 +0300)]
fixed watcom makefiles to avoid long command lines which wouldn't work
while building in MS-DOS.
John Tsiombikas [Sun, 11 Sep 2016 01:19:19 +0000 (04:19 +0300)]
fixed the outgoing transitions to not delay needlessly when there is no stop function.
Michael Georgoulopoulos [Fri, 9 Sep 2016 21:07:43 +0000 (00:07 +0300)]
Implemented RLE compression for reflected objects
John Tsiombikas [Fri, 9 Sep 2016 04:20:44 +0000 (07:20 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Fri, 9 Sep 2016 04:20:11 +0000 (07:20 +0300)]
removed mesh dump
John Tsiombikas [Fri, 9 Sep 2016 04:19:21 +0000 (07:19 +0300)]
torus with crude zsorting
Michael Georgoulopoulos [Thu, 8 Sep 2016 20:55:07 +0000 (23:55 +0300)]
Update visual studio project
Michael Georgoulopoulos [Thu, 8 Sep 2016 20:46:53 +0000 (23:46 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Michael Georgoulopoulos [Thu, 8 Sep 2016 20:46:41 +0000 (23:46 +0300)]
Added a function named rleEncode... don't remember why though
John Tsiombikas [Thu, 8 Sep 2016 04:54:46 +0000 (07:54 +0300)]
added crappy polygon filler
John Tsiombikas [Tue, 6 Sep 2016 22:45:52 +0000 (01:45 +0300)]
wrote most of the 3d pipeline stuff
John Tsiombikas [Tue, 6 Sep 2016 04:03:44 +0000 (07:03 +0300)]
started writing some 3d pipeline stuff
John Tsiombikas [Tue, 6 Sep 2016 02:55:52 +0000 (05:55 +0300)]
let's keep screen names simpler to make it easy to use them as commandline arguments
Michael Georgoulopoulos [Sun, 4 Sep 2016 11:12:53 +0000 (14:12 +0300)]
Renamed mike.c to grise.c (and functions and stuff)
Michael Georgoulopoulos [Sun, 4 Sep 2016 11:05:07 +0000 (14:05 +0300)]
Return 0xCAFE from screen.init() to force display the screen first
Michael Georgoulopoulos [Sat, 3 Sep 2016 18:37:57 +0000 (21:37 +0300)]
Added intermediate buffer to be able to alter the reflected image before applying reflections
Michael Georgoulopoulos [Sat, 3 Sep 2016 18:07:57 +0000 (21:07 +0300)]
Various reflection improvements
Michael Georgoulopoulos [Fri, 2 Sep 2016 22:51:39 +0000 (01:51 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Michael Georgoulopoulos [Fri, 2 Sep 2016 22:51:30 +0000 (01:51 +0300)]
Fixed typos
John Tsiombikas [Fri, 2 Sep 2016 22:50:49 +0000 (01:50 +0300)]
fixed build on watcom
Michael Georgoulopoulos [Fri, 2 Sep 2016 22:18:35 +0000 (01:18 +0300)]
Applied displacement to reflection
Michael Georgoulopoulos [Fri, 2 Sep 2016 21:23:10 +0000 (00:23 +0300)]
Added normalmap + parallax scrolling
Michael Georgoulopoulos [Thu, 1 Sep 2016 21:28:54 +0000 (00:28 +0300)]
Added scrolling
Michael Georgoulopoulos [Thu, 1 Sep 2016 20:29:00 +0000 (23:29 +0300)]
Load and display background image for "galaxy rise" effect
Michael Georgoulopoulos [Thu, 1 Sep 2016 00:29:55 +0000 (03:29 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Michael Georgoulopoulos [Thu, 1 Sep 2016 00:29:33 +0000 (03:29 +0300)]
Added mike.c for testing
John Tsiombikas [Wed, 31 Aug 2016 23:16:26 +0000 (02:16 +0300)]
svn datafiles instructions in readme
Michael Georgoulopoulos [Wed, 31 Aug 2016 23:10:36 +0000 (02:10 +0300)]
Added the correct 8.3 files from libimago to Visual Studio
Michael Georgoulopoulos [Wed, 31 Aug 2016 22:13:35 +0000 (01:13 +0300)]
test test
John Tsiombikas [Wed, 31 Aug 2016 00:28:13 +0000 (03:28 +0300)]
fixed mklibs.bat unix line endings, and added pull.bat
John Tsiombikas [Wed, 31 Aug 2016 00:08:40 +0000 (03:08 +0300)]
watcom build imago.lib
John Tsiombikas [Tue, 30 Aug 2016 21:29:26 +0000 (00:29 +0300)]
UNIX makefile for imago
John Tsiombikas [Tue, 30 Aug 2016 20:36:01 +0000 (23:36 +0300)]
change parts with number keys
John Tsiombikas [Tue, 30 Aug 2016 20:17:14 +0000 (23:17 +0300)]
imago subproject
John Tsiombikas [Mon, 29 Aug 2016 02:44:40 +0000 (05:44 +0300)]
missing includes
John Tsiombikas [Mon, 29 Aug 2016 02:14:53 +0000 (05:14 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Mon, 29 Aug 2016 02:14:35 +0000 (05:14 +0300)]
fractal effect is cooking