rename the classes/files

2008/12/20 Michael Chang <flux.black...@gmail.com>

> Hey all
> After months (years?) of failing to fix HL2DM I've finally switched over to
> scratch SDK, thank heavens for that.
>
> I want to know how best to mod scratch SDK. For example I want to implement
> my own player type that inherits SDKPlayer. Where in the code do I tell
> gamerules to instantiate my own player type instead of CSDKPlayer?
>
> On that note, even after I traced the calls and hierarchy all the way up, I
> end up at sdk_client. Who calls/instantiates sdk_client? How do I implement
> my own mod_client? Should I even bother?
>
> Basically, I want to use everything sdk_ etc but inherit it into a new
> class
> instead. I want to try limiting my edits to SDK_etc and do everything in
> the
> "proper" OOP way. So instead of sdk_gamerules, I want my own mod_gamerules
> that inherits that. My own mod_playeranimstate... etc
>
> But where does it start? Where is the very beginning of switching over to
> my
> own objects/codebase?
>
> Thanks.
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to