Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2012, 06:01 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Step 1: Add function definition to class in header file
Step 2: Add function implementation in that classes cpp file

Make sure that the signature of the function matches in both places or you'll have issues.

Without actually seeing a diff it's hard to know where you might have gone wrong.
Reply With Quote
  #2  
Old 02-24-2012, 06:16 AM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 187
Default

That's pretty much what I've done. I'll put a diff together..

and thanks
Reply With Quote
  #3  
Old 02-25-2012, 08:01 AM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 187
Default

All fixed, thanks!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:20 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3