Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRSupport Bot Helpdesk

#editor

deathhound246
would it not still call IKSerializable::deserialize?
adrientd
No
adrientd
Or IKSerializable::deserialize does literally nothing that the compiler just removes the call during optimization.
deathhound246
suppose if it was an inlined function it would probably do that? i do think IKSerializable::deserialize either returns void or 1
adrientd
It's possible, but depending on the compiler it might just get optimized out
adrientd
It is still present on the Wii version?
deathhound246
wii binaries i know used MWCC. PC builds *i think* used MSVC
deathhound246
From what I could see, function on wii is roughly the same as the rtti pc build. From the very little wii decomp i've done so far, i know there is inlining present on some functions
pegperegogaucho
I'm confused why would IKSerializable::deserialize be called? It's not a pure virtual function overriden by CMaterial?
hesopesomeso
It's definitely virtual, so IKSerializable::deserialize wouldn't ever be called (maybe if not pure by IKSerializable).
deathhound246
In the wii decomp, the override keyword isnt present so every function is pure virtual so the funcs there do always call the base classes
hesopesomeso
What?
deathhound246
Unless i've set something up wrong? I just can't use the keyword override
hesopesomeso
C#? Is that the language you write the decomp in?
pegperegogaucho
Note that in c++ the override keyword doesn't actually do anything and is just an indicator
pegperegogaucho
If you redeclare a virtual function in a subclass it will override it without the override keyword
deathhound246
C++
hesopesomeso
Okay :D For a second I was confused...
deathhound246
Ah ok. Thats how i have it setup atm
hesopesomeso
Listen to this man here :Obelul: