riccardom
228fb78696
Declare variables in the same order they are initialized to fix a gcc warning.
2009-02-04 19:39:11 +00:00
riccardom
7911585bdc
Make a function static.
2009-02-04 19:38:23 +00:00
luigi__
e67704d5b7
Changed the vertex submitting method: all the polys are rendered as triangles, so the vertex number can be anything you want. It doesn't seem to cause glitches.
...
It'll probably be required for clipping, as we'll need replacing clipping vertices properly, like the DS does.
2009-02-04 19:14:13 +00:00
zeromus
eca3d75efd
rasterize: fix off by one texel error
2009-02-04 03:28:50 +00:00
zeromus
8b24e2c386
didnt mean to leave texture dumping enabled
2009-02-04 02:45:38 +00:00
zeromus
33be370fe6
rasterizer: more correct texturing and alpha blending
2009-02-04 02:34:07 +00:00
luigi__
ac68f0317f
Added the template of the new map viewer. I'll start coding it tomorrow.
...
(For info, you shouldn't commit resource.h after having just saved it with VS just to test Resedit, it gives me conflicts with TortoiseSVN, and Resedit can still open it. It just annoys me. Thank you for your understanding.)
2009-02-03 22:32:29 +00:00
mtabachenko
c070b10034
- opps, forgot remove it
2009-02-03 22:26:45 +00:00
mtabachenko
23f54c7d71
moved timers id for Windows port in common.h :)
2009-02-03 22:26:01 +00:00
zeromus
3d7cfba55f
saving from vs2005 once more. see how resedit likes it
2009-02-03 22:04:36 +00:00
luigi__
6a769e0bc0
Moved the timer IDs to an external include because, if they're located in resource.h, Resedit will blow them up when saving.
2009-02-03 21:53:37 +00:00
zeromus
107ede7375
this is what happens when i save resources back out with vs2005. can luigi still load them?
2009-02-03 21:42:06 +00:00
mtabachenko
50e13fc8c6
fix for windows resources;
2009-02-03 21:36:50 +00:00
luigi__
9d6fc8d726
VS doesn't seem to support sublang IDs, so we'll cheat a bit.
...
(Anyway I don't think they're so important)
2009-02-03 21:21:41 +00:00
luigi__
856afa2116
Fixed compatibility with Resedit.
...
Test: just opened the resource file with Resedit and saved it. The file is now said to be generated by Resedit. If VS can't handle it, revert this commit.
2009-02-03 21:11:59 +00:00
luigi__
c0606403cf
Added two defs for Resedit to work correctly with the resource file.
...
(Reminder: I plan to remake the tools and I'll use Resedit as my VS2008 is Express and doesn't have resource edition)
2009-02-03 20:49:01 +00:00
riccardom
a67566b01f
Add static qualifier where due.
2009-02-03 20:08:21 +00:00
zeromus
9ba8408af9
rasterize: i give up trying to make the interpolator precision good. that is a waste of time right now. just clamp material colors to the right range
2009-02-03 19:51:58 +00:00
riccardom
54b392d76b
Add missing files to makefile and add proper includes to let desmume compile again.
2009-02-03 19:40:05 +00:00
zeromus
a680b58121
if microsoft is going to play games with where they stuff their libraries, i will just checkin their libraries myself
2009-02-03 18:32:07 +00:00
luigi__
fbff3694c6
Oops... forgotten to add chan->x to savestates (this variable is needed for PSG white noise).
2009-02-03 17:37:19 +00:00
luigi__
a2548e687b
Added GDI+ setup as I plan to rewrite the viewers soon (they'll use GDI+).
...
But, we do keep DirectDraw for the main window!
2009-02-03 17:34:10 +00:00
zeromus
a0cade405f
rasterize: speedups
2009-02-03 08:17:43 +00:00
zeromus
5e90f6ae10
rasterize: perspective correct textures and backface culling
2009-02-03 07:49:28 +00:00
zeromus
517a27294a
rasterize: textures, shading, blending
2009-02-03 06:36:36 +00:00
zeromus
0d4cf9fe49
fix a bug in the vertex list generation which resulted in empty, unlinked vertices in the list. also added a few variables to savestate
2009-02-03 04:51:18 +00:00
zeromus
d4604c7d81
add recently created files to vs2008 vcproj
2009-02-03 02:36:53 +00:00
zeromus
9c99aa58c8
add new file to makefile. add newline to end of common.h
2009-02-03 02:08:06 +00:00
zeromus
64feb0117c
extract texture cache from OGLRender so that it can be reused by rasterizer. add interpolator for material color and texture to rasterizer
2009-02-03 02:03:49 +00:00
mtabachenko
49365a2630
typo fix in 3d save state;
2009-02-03 01:15:57 +00:00
zeromus
73b541a2c7
fix the lurking issue that made alpha permanently break after loading a savestate. astounding, yes, but true. this MUST make it into 0.9.1
2009-02-03 00:06:34 +00:00
zeromus
38d10282f4
rasterize: fix viewport and perspective transformations. now triangles are rendered terribly in the correct place
2009-02-02 22:15:46 +00:00
riccardom
fff695d3c1
Remove an empty function, used as a callback though.
2009-02-02 22:11:53 +00:00
zeromus
257a138d82
software rasterizer stub complete with terrible flat shaded tri renderer
2009-02-02 22:09:09 +00:00
riccardom
3d78ca9c1c
Hook the nice NDS_SkipFrame() function, this gives us a bit more boost with frameskip on.
2009-02-02 22:03:27 +00:00
yabause
c17e0a6037
s/addons.c/addons.cpp/
2009-02-02 21:47:31 +00:00
riccardom
650ac714da
Looks like this should be const instead of static, nothing changed in practice.
2009-02-02 21:18:48 +00:00
riccardom
361220ce5d
Enable reset at launch time and not on rom file open. This way it will work even when the rom is passed as argument.
2009-02-02 21:13:15 +00:00
zeromus
2c0656a786
fix changelog
2009-02-02 20:46:21 +00:00
riccardom
b068d69810
Remove another unused var.
2009-02-02 20:46:06 +00:00
zeromus
e3e45c4606
get rid of gcc warnings.
2009-02-02 20:39:00 +00:00
riccardom
d107e7b2f4
Remove unused variable.
2009-02-02 20:34:46 +00:00
mtabachenko
4cb665c1e9
minor fix ChangeLog
2009-02-02 08:08:20 +00:00
zeromus
4bacc49da2
minor speedups to gpu
2009-02-02 04:37:25 +00:00
zeromus
839f66924c
fixed a bug in the aboutbox scrolly credits
2009-02-02 02:43:08 +00:00
zeromus
75e56280c1
windows: very slightly speed up rotation / final color conversion
2009-02-01 23:21:41 +00:00
zeromus
499adfe59c
work on the changelog
2009-02-01 02:13:22 +00:00
zeromus
869f56bf41
correction to the new affine bg handling: parameters must be reset to the last user-specified value before scanline 0.
2009-02-01 01:28:34 +00:00
luigi__
d66fd4ab85
Rewritten the incorrectly implemented setFinalBGColorSpecialIncreaseWnd and setFinalBGColorSpecialDecreaseWnd functions. This fixes the part 1 of the glitch #2488334 (SPP puzzle glitch).
2009-02-01 00:24:03 +00:00
zeromus
3bb392c413
[ 2488334 ] fix (SPP affine rotation display bug)
...
also start capturing register disp3dcnt but not using it for anything yet
2009-01-31 23:45:12 +00:00