Talk:Oni engine patches (Mac PPC)/changelog: Difference between revisions

m
+cat
No edit summary
m (+cat)
 
(8 intermediate revisions by 4 users not shown)
Line 5: Line 5:
When it comes to replacing functions, you have to consider the length of the name and signature string.  chr_health had a longer signature string "chr_index:int [hit_points:int | ]" than chr_focus "chr_index:int"  So it will easier to find another function to replace chr_focus  with the shorter signature string. [[User:EdT|EdT]]
When it comes to replacing functions, you have to consider the length of the name and signature string.  chr_health had a longer signature string "chr_index:int [hit_points:int | ]" than chr_focus "chr_index:int"  So it will easier to find another function to replace chr_focus  with the shorter signature string. [[User:EdT|EdT]]


Hey, why would you want env_ray_number anyway? You cannot set it higher than 20 and you don't want to set it lower than 20 either (unless you're CPU isn't fast enough :) ). [[User:Neo|Neo]]
Hey, why would you want env_ray_number anyway? You cannot set it higher than 20 and you don't want to set it lower than 20 either (unless your CPU isn't fast enough :) ). [[User:Neo|Neo]]
:Neo, geyser asked me to test env_ray_number and to see if the call back was setup in the Mac engine [[User:EdT|EdT]]
::That's right. And I'm glad I did: I had no idea that values larger that 20 had no effect ^_^ Live and learn... --[[User:Geyser|geyser]] 02:34, 22 October 2008 (CEST)
Are the signature strings actually used by the engine? I assume there would be no problem if they were left blank. [[User:RossyMiles|rossy]] 12:40, 21 October 2008 (CEST)
:I don't see how it could parse the command line without those signatures. [[User:Neo|Neo]]
::Actually, it looks like the signature strings are only there to detect conflicts (if any) before calling the function. In that case the function isn't called at all and an error message is printed to the console. So that string is not strictly necessary, but if it's absent then the possibly invalid arguments will be passed to the function, which may not always handle them correctly. That said, it's also possible that some signature strings are incorrect: in this case I suppose the "security check" could have rather nasty consequences. --[[User:Geyser|geyser]] 02:34, 22 October 2008 (CEST)
----
Question about the 1024x1024 patch. Previously we patched 0x1151C3 to accomodate 512x512 textures and it didn't work. Now we're patching 0x1220AF and 0x1220B3, and 1024x1024 works. Does it mean that 0x1151C3 was completely irrelevant and can be reverted? --[[User:Geyser|geyser]] 02:40, 22 October 2008 (CEST)
:I think I was clear enough on my talk page, read it again [[User:Neo|Neo]]
::'Scen syndrome, sorry. Oll Klear. --[[User:Geyser|geyser]] 08:57, 22 October 2008 (CEST)


Are the signature strings actually used by the engine? I assume there would be no problem if they were left blank. [[User:RossyMiles|rossy]] 12:40, 21 October 2008 (CEST)
[[Category:Patches]]