Commit graph

235 commits

Author SHA1 Message Date
Salvy
da00dc452e [!] Videos, cut scenes etc are now rendered in Neon Evangelion, also fixes crash in intro, as well as several glitches in game.
PS: Rendering is now complete for this game :)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@460 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-22 21:17:35 +00:00
Salvy
3b6bf95c37 [+] Implemented S2DEX ObjLdtxRect (Draws the Intro logo, (cool)command screen and HUD in Neon Evangelion)
[+] Enabled calls to ObjMtx and SubMtx ucode used by Neon Evangelion
[!] ALLOW GBI2 to use S2DEX ObjLdtxRect

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@457 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-21 19:01:13 +00:00
Salvy
2be73b783e [!] Fixed crash in yoshi when pressing R
[!] Fixed 4:3 mode not working in S2DEX

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@456 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-21 16:57:58 +00:00
Salvy
7801a74f4c [+] Implemented S2DEX ObjLdtxSprite (this renders pretty much everything in Yoshi) - Yoshi is now playable \o/
Note : Sprites are inverted, will figure out later

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@455 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-21 06:41:59 +00:00
Salvy
4ed33ab348 [+] Implemented S2DEX ObjMoveMem (Used for sprite rotation)
[+] Implemented S2DEX ObjLdtxRectR (renders text, smoke, and items in Yoshi)
[!] Replace texture->Touch() with texture->UpdateIfNecessary() in S2DEX (Corn)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@454 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-20 17:40:33 +00:00
Corn
d324ee0340 [+] Add correct triangle culling for DKR (speed up)
[+] Blendmodes for DKR car slids and plane streamers

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@453 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-20 13:34:16 +00:00
Corn
05ecfd4fd3 [!] Small speed up avoiding doing texture hash twice if a texture needs updating
[!] Avoid reloading textures used by S2DEX if still in use.
[!] Avoid scaling down temporary texture buffer below 128kB (should be ok for most games)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@450 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-19 12:26:33 +00:00
Salvy
39ba2cd77b [!] Allow GBI2 to use S2DEX ObjLoadTxtr
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@449 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-17 22:01:55 +00:00
Salvy
3e6f40ea53 [!] Fixed bgcopy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@448 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-17 19:57:34 +00:00
Corn
3485ed9ed7 [+] Added hack for more thorough texture check in Yoshi
[!] WIP for S2DEX

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@447 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-17 14:07:44 +00:00
Salvy
e03350e430 [!] Initial work to get S2DEX_Bg1cyc working for Yoshi [WIP] (Note : the BG still stretches mostly in the edges of the screen)
[!} Removed unused entries in MoveMemViewport

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@444 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-14 23:35:27 +00:00
Salvy
40c4452bbd [!] Some code clean ups
[!] Simplified and unified GBI2_PopMtx

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-14 20:11:34 +00:00
Salvy
f2968e86ff [!] Simplified when getting base address of texture in Yoshi_Memrect
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@441 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-12 16:08:35 +00:00
Salvy
1910ee981d [!] BranchZ, given address from RDP_HALF1 rather display stack (cheaper)
[!] Yoshi_Memrect no longer adds any overhead to RDP cmds, instead we'll just retrieve from LoadDetailsMap
[~] Small clean ups..

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@439 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-11 23:03:03 +00:00
Corn
bc76a6cbda [!] made set/clear GeometryMode in GBI0 and 1 to just one function
[!] Reenabled texture flush at end of frame
[!] some minor rendermode changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@438 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-11 19:51:07 +00:00
Corn
2886b9df64 [!] some fixes and touch up on TnL settings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@436 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-09 20:09:53 +00:00
Corn
1b8fe7c50d [!] skip setting fog if disabled
[!] proper variable naming and corrected a typo

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@435 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-08 16:37:06 +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
Salvy
479fa8b569 [!] Some clean ups
[!] Moved Yoshi_MemRect to S2DEX, also it'll be used from S2DEX_RDPHalf_0 to avoid adding overhead to TexRect
[!] Fixed debug build
[!] Removed redundancy in makefile



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@432 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-07 15:13:45 +00:00
Salvy
c1ba13865e [!] Several clean ups and sorting in DLParser
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@429 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-06 16:03:54 +00:00
Salvy
471de9639f [!] Clean ups in DLParser_SetUcode
[~] Reverted change from 421, was breaking several games (thx re4thewin for reporting it)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@428 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-05 00:01:01 +00:00
Corn
5b794fb14f [!] fixed dlist debug text and warnings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@427 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-04 21:00:41 +00:00
Salvy
9354bcde92 [!] Simplified and set custom ucode names in one go
[!] Patch ucode name table to create custom name tables (Dlist dumps for custom ucodes are accurate now)
[+] Added GBI1_S2DEX ucode name table

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@426 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-04 20:31:26 +00:00
Salvy
cb4be11d60 [!] Revert 423, won't work the way I had it planned
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@425 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-04 18:52:00 +00:00
Corn
baed613924 [!] Various improvements and simplifications in TnL of Conker and PD
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@424 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-03 19:18:32 +00:00
Salvy
3d09115ae4 [!] Patch uCode tables directly to create custom tables
Note : The benefit of modifying our ucode tables directly
1 - We don't need to build any array which can be really expensive if it happens
2 - No need for a another InstructionLookup
Only issue is that I need to find a clean way to undo any patching to avoid creating conflicts

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@423 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-03 00:48:22 +00:00
Salvy
a8ec3958e9 [!] Simplified and added comments to SetUcode (~100 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@414 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-25 07:22:16 +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
Salvy
2197a90dbd [+] Patch normal ucode tables to create "custom" ucode tables
[!] Removed all custom ucode tables since they aren't needed anymore (saves alot of space to binary)
[!] Set ucode, patch ucodes, set vtx multiplier in one go (ToDo : set ucode names in one go too)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@412 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 19:16:09 +00:00
Salvy
7eb1546f77 [~] Removed SetTextureGenLin by error :P
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@411 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 07:28:06 +00:00
Salvy
047ab425a8 [!] Code clean ups and simplified some things here and there
[!] Make DLParser_PopDL static to hint compiler to inline (saves ~20 ops)
[!] Reverted changes to DLParser_GBI2_GeometryMode, only made code less readable and slower (saves ~10 ops)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@410 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 07:18:13 +00:00
Salvy
ea5ee1c7f6 [!] Forgot to sort MoveMem and MoveWord
[!] Some clean up, mostly in S2DEX
[!] Reverted changes to DLParser_InitGeometryMode, it only made the code less readable and slower (+10 ops)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@409 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 01:06:48 +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
Salvy
32acd8a57b [!] Sorted all ucodes and moved them to headers to make development easier and make sure cod placement is optimal (Note : More clean ups and sorting are needed)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@407 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 15:47:29 +00:00