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

From OniGalore
Jump to navigation Jump to search
(New page: "at 0x16E834 Replaced chr_focus with chr_health" Why would you do that? Chr_focus is very useful. ~~~~)
 
(reason)
Line 2: Line 2:


Why would you do that? Chr_focus is very useful. [[User:Gumby|Gumby]] 10:24, 20 October 2008 (CEST)
Why would you do that? Chr_focus is very useful. [[User:Gumby|Gumby]] 10:24, 20 October 2008 (CEST)
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]]

Revision as of 22:50, 20 October 2008

"at 0x16E834 Replaced chr_focus with chr_health"

Why would you do that? Chr_focus is very useful. Gumby 10:24, 20 October 2008 (CEST)

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. EdT