Commit graph

58 commits

Author SHA1 Message Date
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
757505fb43 Optimization for accurate TMEM
Optimized ConvertIA16, this an old change I had that I forgot to commit :/
2020-07-16 20:14:13 -07:00
Wally
2d7157e5a9 Got SDL2 build compiling again.. Not sure if it works yet, crashes KDE on my VM 2019-05-27 13:00:23 +10:00
Wally
5dee7fe2cb Converted remaining HLEGraphics to C11 standard 2019-03-22 16:39:50 +09:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
mrbenslater
2e6cf17baa Move more debug stuff out of Release 2019-01-21 19:58:47 +11:00
CornN64
a93e3313e8 [!] Fixed fog issue with alpha textures
[!] Fixed (bug) when fog is enabled in MM and point light
2013-10-19 20:48:27 +02:00
CornN64
bfd94b655c [!] Some WIP for vertex fog on PSP (functions on many games that uses the standard TnL. It uses a second pass to blend in the fog)
[-] Reverted some changes from previous commit since it broke texturing in some games and CBFD lights.
2013-09-21 18:31:48 +02:00
salvy
d10ff1ca11 [+] Implemented lightning for Conker rendering (PC/OSX only for now) (Corn & Salvy)
[!] PSP VFPU ASM compatible with new light struct as well possible to interface with Conker's new TnL.  (Corn)
[!] Slight tidy in audio Alist processing loop. (Corn)
2013-07-31 13:56:36 -07:00
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
Paul Holden
734944d829 [~] Drop the _MSC_VER check around #pragme once - all the compilers we use understand #pragma once (or happily ignore it) 2013-06-04 22:02:30 +01:00
strmnnrmn
5366827789 [~] stdafx cleanup: Start adding DaedalusTypes.h where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1696 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:06:16 +00:00
strmnnrmn
7f9cad2892 [~] The struct packing headers shouldn't be needed. They only did anything on W32, and the struct are defined in a way that they're packed correctly anyway.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1682 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:11 +00:00
strmnnrmn
7d15afb0bf [~] Add some comments for othermode flags
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1534 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:26 +00:00
salvy
38da6cd456 [~] Opps gGeometryMode has to be global (sorry!)
[!] Added blender for Donald Duck (W32/OSX)
[~] Some small changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1502 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 05:32:31 +00:00
salvy
58216d067f [~] gGeometryMode can be local (saves quiet bit of ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1501 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 04:00:16 +00:00
strmnnrmn
dfe90f3258 [~] Tidy SImageDescriptor bits
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1370 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:50:26 +00:00
strmnnrmn
488d105cc4 [~] Move some RDP state to RDPStateManager. RDP.cpp is pretty defunct now...might make more sense to rename RDPStateManager to RDP and reduce typing :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1292 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:52 +00:00
strmnnrmn
6a11f5a4d4 [~] Rename gTextureMemory to gPaletteMemory
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1277 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:05 +00:00
salvy
ff44ce2c0e [!] Some clean ups to deprecate poking the projection stack, and some other small clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1251 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 22:50:41 +00:00
strmnnrmn
4535293604 [~] Add SImageDescriptor::GetPitch16bpp. Also, not sure what the assert in GetPitch is actually checking for?
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1247 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:01:12 +00:00
strmnnrmn
c5157ad905 [~] Add a GetAddress16bpp function to SImageDescriptor
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1246 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:01:04 +00:00
strmnnrmn
c14dcab870 [~] Rename gTextureMemory to gTlutLoadAddresses when DAEDALUS_FAST_TMEM is set
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1245 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:00:56 +00:00
strmnnrmn
129b1db8ae [~] Mode DLDebug_DumpRDPOtherMode to DLDebug.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1213 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 13:59:29 +00:00
strmnnrmn
00042f8c20 [~] Change RDP.h typedef structs to structs (easier to forward declare)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1212 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 13:59:21 +00:00
strmnnrmn
3afdce3310 [~] Rename RDP_SetOtherMode to DLDebug_DumpRDPOtherMode, and make it use the passed arguments
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1211 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 13:59:13 +00:00
salvy
dba8dfc796 [!] Fixed PSP debug build
[!] Fixed error in oshle that caused a branch assumption error
[!] Detect newer PSP revisions..ex E100 etc, also fixed a bad detection
[~] Some clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1029 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-18 23:07:58 +00:00
strmnnrmn
3e18c63840 [~] RDP_SetTile and RSP_SetTileSize are no longer defined
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@921 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:43 +00:00
strmnnrmn
34004d0248 [~] Merge some minor whitespace fixes to RDP.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@912 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:11:51 +00:00
salvy
aa22f40a05 [+] Optimized FetchNextCommand
[!] Yoshi_MemRect only need to fetch one instruction 
[-] Removed my previous optimizations to Texrect* cmds, FetchNextCommand now gives the same asm anyways 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@907 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-31 06:38:58 +00:00
strmnnrmn
0e698c385d Fix all the remaining mixed newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +00:00
strmnnrmn
767e4efd9c Fix line endings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
Corn
d4c0029e2b [!] Fixed compile error with endian and svnversion
[!] Added twiddles to Fastmemcpy

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@820 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 20:07:02 +00:00
salvy
3e7389df90 [!] Simplified when setting TlutAddress
[!] Moved out gVertexStride outside the Tris loop 
[!] Call directly TlutAddress (saves function call)
[!] Bring back recolour white texture (Is needed by Krby's clouds)
[~] Code clean ups etc

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@803 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-07 19:37:58 +00:00
salvy
8f958d844b [!] Rewrote "full tmem" implementation (based from Rice plugin, doesn't need TLUT hack, can't return NULL, and can be modified by Sprite2D and S2DEX)
[!] Implemented correctly tlut state in Sprite2D (fixes Wipeout and other games, only when full TMEM is defined)

Note: These changes are NOP unless DAEDALUS_TMEM is defined, which is disabled since is slower and uses more memory than our fast implementation *Hopes Corn can port these improvements to it :)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@777 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-09 01:35:33 +00:00
Corn
d736ccbc94 [+] Save more memory using TMEM table with only 64 entries for palette pointers
[+] TLUT hack for Resident Evil 2
[!] Disable Loop Opt for all WWF games 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@544 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-18 12:20:25 +00:00
Corn
80a2b9b845 [!] Fixed Debug Dlist text output
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@531 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-13 20:17:02 +00:00
Corn
bafbb49d57 [!] Fixed texture loading regression from rev 529
[!] Fixed Debug Dlist text output

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@530 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-13 16:00:38 +00:00
Salvy
a96d0e9ca0 [!] Tidy up LoadTile/LoadBlock
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@529 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-13 00:07:47 +00:00
Salvy
ba5a04adf9 [!] Bring back changes from 450 (Degraded texture cache for S2DEX, need to find a different approach to fix worms, we ain't going to hash palettes just for this game neither..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@515 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 22:45:33 +00:00
Salvy
b3ec15a7bf [!] Update RDP_Combine struct
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@514 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 22:33:01 +00:00
Salvy
a49a68a194 [!] Simplified CombinerTree
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@509 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-02 21:22:22 +00:00
Corn
91d33ecd33 [!] avoid downsizing texel buffer
[!] some optimizations in copying data with vectors
[!] TnLVFPU Passing more data through a struct rather than function parameters


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@507 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-01 20:57:29 +00:00
Salvy
2a1d892a37 [!] Forgot one more thing
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@495 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 22:36:00 +00:00
Corn
32b96decfb [!] Fixed some compile errors and rendering logic
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@486 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-17 19:25:23 +00:00
Corn
896a905413 [!] Reorganized and optimized MemRect for Yoshi (small speedup)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@474 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-05 09:37:37 +00:00
Corn
7a02a1ef43 [!] more optimizations passing TnL parameters
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@434 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-08 08:44:57 +00:00
Corn
e3aad9c0cd [!] Rewrote parsing of GeometryMode and how values are passed to PSP TnL
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@433 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-07 19:20:03 +00:00
Corn
a1bf2d6f62 [!] reduced memory usage for new TMEM implementation(1/4 of original)
[!] fixed textures in Golden Eye
[~] some cleaning in DLparser.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@413 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 21:13:33 +00:00
Corn
bbbababc74 [+] Optimized palette loading (bypassing copy to TMEM) for a speed up in some games
[+] Old TMEM emulation is a compile option in buildconfig.h
[-] removed redundant texture info in struct
[-] TMEM is not using VRAM (was no speed benefit)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@408 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 20:51:06 +00:00