Commit Graph

3465 Commits

Author SHA1 Message Date
adelikat 63d4b51e6c Removed execute from main menu and moved pause to the spacebar Hopefully spacebar won't interefere with people's key binding preferences but it is temporary until a hotkey mapping system is in place. 2008-09-10 03:05:26 +00:00
zeromus 11d989908f - Reorganize 3d code to defer rendering to vblank. eliminates tearing, and maybe some texturing artifacts. also possibly helps performance a bit by letting the hardware pipeline work some more before blocking for framebuffer read.
- Tweak optimization flags and change entire source code to use fastcall.
 - Add opengl state caching. This is of dubious performance assistance, but it is easy to take out so I am leaving it for now.
 - Add MMU->GPU signal for when vram mappings change, which allows it to assume textures are unchanged unless vram has changed. (big 3d speedup)
2008-09-09 08:50:00 +00:00
zeromus f11b11b18e fix windows release build. fix windows inputconfig. fix a bug in 4x4 texture decoding introduced during c++ conversion. 2008-09-09 02:46:54 +00:00
zeromus 121cfb01ac remove cvsignore files 2008-09-08 17:33:47 +00:00
yabause 21d4d4abd1 Commited patch by Orphis so gtk port build again. 2008-09-08 14:29:21 +00:00
normmatt234 08e135804b Fixed SBC and RSC, and cleaned up the ORRS code a little. 2008-09-08 09:50:43 +00:00
zeromus 83b753ae11 fixing windows things that broke when fixing linux 2008-09-08 08:22:19 +00:00
zeromus fa04607aa5 more cpp cleanups 2008-09-08 08:18:16 +00:00
zeromus a30d1d9a67 xx 2008-09-08 08:15:44 +00:00
zeromus faed278acd cleaning linux up after cpp 2008-09-08 08:06:35 +00:00
zeromus 2680bf1103 etc 2008-09-08 07:41:28 +00:00
zeromus 00e77306e0 more cpp work 2008-09-08 07:38:17 +00:00
zeromus 106bd5ab5e more cpp conversion 2008-09-08 07:32:44 +00:00
zeromus 67fb83cb5e apply adelikat's patch for a pause toggle hotkey 2008-09-08 05:23:24 +00:00
zeromus 1ca38ed1d4 windows release mode fixed 2008-09-08 05:13:15 +00:00
zeromus 85d3c82e08 windows build is repaired 2008-09-08 05:10:20 +00:00
zeromus eede1ef9c2 beginning the process of c->cpp conversion 2008-09-08 04:27:18 +00:00
zeromus 886cfc5344 oops youll need this also. application icon temporarily disabled 2008-09-08 04:17:36 +00:00
zeromus bff7a43fef try to repair resource files. 2008-09-08 04:15:27 +00:00
zeromus d3605aed43 Fix the 2d/3d compositing well enough for NSMB to fix bugs, but it is still bad 2008-09-08 03:01:34 +00:00
zeromus 2e7b135228 fix newly introduced bug which caused texcoord generation to totally break (level5 in nsmb) 2008-09-07 22:22:35 +00:00
zeromus 3daa24c932 Defer rendering until after flush. This was a necessary architectural change, as it permits savestate for the display list, and allows us eventually to separate the GE emulation from the rendering 2008-09-07 20:35:30 +00:00
zeromus de1b998454 Implement lighting model in software instead of using opengl; improves (potential?) compatibility 2008-09-07 04:23:21 +00:00
zeromus aecb8413d5 toon shading infrastructure and a demo implementation 2008-09-06 21:39:38 +00:00
zeromus 4846ba414e (changelog) 2008-09-06 04:10:03 +00:00
zeromus 5278185e73 - Add many of NHerve's improvements into OGLRender because I was trying to fix all the 3d issues
- Track polycount better. still worthless: at the very least, it doesnt account for clipping and culling
- carry w=1 from vertex() through pipeline (this will be necessary for software 3d rendering)
- Make GPU matrix mult and load commands clear out unused rows and cols to identity correctly
- Make matrix 4x4 multiply routines use W-coordinate.
2008-09-06 04:08:35 +00:00
zeromus 7d2fc8964e fix windows build by #defining __packed to nothing 2008-09-06 03:49:20 +00:00
yabause 164ffb7a07 Applied patch by Colin McQuillan that fixes compilation
on Linux and remove warnings.
2008-09-05 23:07:08 +00:00
yabause 1287388bfa Updated the website url.
This commit is also done to test if everything is ok with
SVN migration.
2008-09-05 22:40:27 +00:00
gecko_reverse 53bb6b334d Cocoa Port: compile fixes, several code cleanups, and removed requirement for hardware accelerated opengl renderers. updated email for mac port related questions 2008-09-02 03:37:46 +00:00
zeromus 421ad80ab2 attention crazymax: fixed the race condition which caused NDS_3D_Reset and NDS_glInit to interfere with each other
added a 5bit to 31bit conversion table covering entire range from 0 to INT_MAX to prevent such problems as alpha=31 polys being ever so slightly transparent. I applied it also to the material colors since I think those should exactly cover the whole range also.
2008-08-26 06:45:52 +00:00
zeromus d27e959a69 Revert NDSSystem.c which I overwrote earlier when i was goofing up cvs 2008-08-26 05:56:40 +00:00
zeromus 4d4bebc1fe Shadow volume render mode support 2008-08-26 05:13:28 +00:00
zeromus 85c879351b Enable the windows texture cacheing which seems to have been disabled due to one small bug.
repair a problem which the texture cacheing introduced to my render-translucent-polys-better workaround
2008-08-26 03:32:04 +00:00
zeromus ab37dae19d oops. restore mtabachenko's changes to OGLRender.c which he made while i wasnt on a working cvs 2008-08-26 02:59:56 +00:00
zeromus 1210a9008e more bugfixes and a very useful workaround for windows OGLRender.c 2008-08-26 02:35:58 +00:00
mtabachenko af89dc727f GNU 2008-08-25 20:22:14 +00:00
mtabachenko 45e4238932 core:
- fixed bug in FPU;
- add reset & close function for 3D;

winport:
- add texture cache in 3D (more speedup).
2008-08-25 20:19:56 +00:00
yabause 88611b638e Applied patch by zeromus. It seems ok to me so I giving him CVS
write access.
2008-08-25 19:53:20 +00:00
gecko_reverse a72d446ba6 forgot to add files for last commit 2008-08-19 05:49:47 +00:00
gecko_reverse bd1c0914c8 Did a few more minor compile fixes for the cocoa port. Added speed limit menu under the emulation menu (default to 1x speed limit) 2008-08-19 05:45:29 +00:00
mtabachenko 57a2ef87af winport:
- fixed in Castlevania backgrounds;
2008-08-17 19:31:44 +00:00
mtabachenko 9ed477f765 opps... typo fix 2008-08-17 17:53:30 +00:00
mtabachenko 9ccd29f043 core:
- some fixes sprites and background;
- some others fixes;
- some speedup;
winport:
- fixes textures in OGL;
- some other fixes;
Can yet something, I do not remember :)
2008-08-17 17:42:16 +00:00
gecko_reverse 9bca9c442f Added compile fixes for Mmc (ie changed __fastcall's to FASTCALL macro, hopefully doesn't break other builds). Did a bunch of all around cleanups for the Cocoa port. Also added code-level support for multiple key bindings for ds buttons, and caps independance for key bindings based on that. 2008-08-07 08:49:09 +00:00
mtabachenko 178efa543a Opps... revert 2008-08-04 07:02:28 +00:00
mtabachenko ca7d537622 winport: added manifest 2008-08-04 06:53:13 +00:00
mtabachenko a87e50473c winport: DirectDraw impl. fixes 2008-08-03 22:02:06 +00:00
mtabachenko 9c231a2246 Windows port:
-Reorganization MSVS projects and add required libraries.
2008-08-03 18:36:31 +00:00
mtabachenko e0581144d9 Fixed SSE2 build 2008-08-03 17:48:31 +00:00