Commit Graph

1047 Commits

Author SHA1 Message Date
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
mtabachenko 8ab5d75375 winport: Reorganizaion project files for MS Visual Studio 2008-08-03 13:07:12 +00:00
mtabachenko 8f1af7e2db - Added SSE2 version for matrix [CrazyMax]
- Some fixes in core (New SMB don't freeze now) [CrazyMax]
 - Some optimizations in code [CrazyMax]
 - winport: Changed graphics render core to DirectDraw (work fastest) [CrazyMax]
 - winport: Some fixes in 3D core OGL (fixed textures) [CrazyMax]
2008-08-02 22:19:15 +00:00
gecko_reverse d67e5f375d Added key config options panel and hotkeys for pause/execute/reset thanks to Julio Gorgé 2008-07-28 03:54:10 +00:00
gecko_reverse 882fb32fff Added French translation by Pierre Rudloff 2008-07-18 18:53:45 +00:00
gecko_reverse b250d8f84b added option to load most recent file when the program launches. preferences panel code updated to size to fit to the current preference panel. 2008-05-13 06:57:32 +00:00
gecko_reverse 70edd3aa9b fixed a bug with the save/load state menu item states potentially being off. nds_control.m restores current gl context whenever it changes it. As a result it doesn't leave the 3d rendering context set on the main gui thread since it's constantly being used on the emulation thread. reverted a commented line that i overlooked in the diff for my last commit 2008-05-05 22:32:25 +00:00
gecko_reverse 6f92277993 fixed minor memory leaks in main_window. when the nds core sets execution to false, an error message is now displayed to let the user know that emulation has stopped. video output frame rate is now limited, which makes the gui more responsive especially when emulation is provided new frames as fast or faster than they can be blitted to the screen 2008-05-04 21:46:49 +00:00
mtabachenko e42186683d - moved console source code to new files for only windows port; 2008-05-03 05:32:52 +00:00
yabause 69709ba274 Removed three useless/wrong/etc. function prototypes for when
libgtkglext isn't installed...
2008-05-02 20:23:31 +00:00
yabause 97ed1aa70a windows specific code should be #ifdef WIN32 protected 2008-05-02 19:11:00 +00:00
mtabachenko 32e83fc1e7 Windows port:
- fix small bug in compiling debug console
2008-05-02 06:26:26 +00:00
mtabachenko 611477e9e7 Windows port:
- added debug console for BETA versions;
2008-05-02 06:07:29 +00:00
gecko_reverse 2f0921ecd1 cocoa port: fixed a bug in loading states which was due to the gpu's opengl context not being set when the state loads. also improved exception handling in the video_output_view and main_window classes 2008-05-01 07:53:57 +00:00
shashclp b37b7dff49 - Removed the bug report link with a define, to avoid reports from betas/external builds
- Added the version on window bar to recognize versions from screenshots
 - Added "high-level" check for DMAs and Timer for minor (really minor) speed up
 - Changed instruction execution to 16 at a time blocks (tested and stable)
 - Really minor memory access speed up (mainly added for clarity), gives up to 33% gain
 - Added transparency and fixed material alpha support and alpha testing on the 3D core
 - Changed how depth initial values are calculated (fixes SM64DS skybox)
 - Changed written pixels check on the 3D core to use the depth buffer, as I'll need the stencil buffer for shadows
 - Added my real name to my nick, as I prefer my work properly credited :P
2008-04-29 23:33:03 +00:00
mtabachenko dfaaadbef7 Windows port:
- add solution and project files for VS2008 x64;
- fixed for x64 compile;
- fixed for DirectX9 compile;
- fixed for future new audio core (for hardware Vista audio).
2008-04-29 20:35:05 +00:00
gecko_reverse bc128ddd25 now supports hardware accelerated offscreen opengl using pixel buffers if available 2008-04-27 03:13:53 +00:00
yabause 8dc26100ec Removed CWX from README files (and changed my email) 2008-04-24 14:44:45 +00:00
shashclp aef433ac94 - Forgot to add stuff on the 0.8.0 release :P 2008-04-24 13:21:59 +00:00