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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2007, 06:09 AM
froglok23's Avatar
froglok23
Hill Giant
 
Join Date: May 2005
Location: Australia
Posts: 113
Default EQEmu Devleopment Guide

Hi all,

Just wondering, what’s the coding standard for the EQEmu Project? I.e. How to name the methods, properties, how is the code laid out, etc.

If no, I would like to propose one which has input from all people community.

We need input from the current dev's for this so that we can align the standard with their dev style also.

I also higher recommend we use the C++ Standard for layout & Development, i.e. 1 class per file and alike.

Cheers,

- froglok
Reply With Quote
  #2  
Old 09-02-2007, 06:22 AM
froglok23's Avatar
froglok23
Hill Giant
 
Join Date: May 2005
Location: Australia
Posts: 113
Default

By the way, here is the C++ ISO Standard: http://www.iso.org/iso/iso_catalogue...csnumber=38110 (appears you have topay for it.. jibbed)

But then again, here the ECMA Standard, http://www.iso.org/iso/iso_catalogue...csnumber=38110

WHICH you can order for nothing at:
http://www.ecma-international.org/pu...ions/getit.php the Code is: ECMA-372 (ordering one myself, I have the C# and its WELL worth it) and its FREE!!!!

- froglok
Reply With Quote
  #3  
Old 09-02-2007, 01:35 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I am not a C++ coder by any means, but isn't the emu architecture laid out in the wiki? It never made much sense to me, but looked impressive. Not sure if that's what you're looking for.

http://www.eqemulator.net/wiki/wikka...oryDevelopment

Under all the porn and viagra links, there's actual info.
Reply With Quote
  #4  
Old 09-03-2007, 12:37 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Code isn't completely one class to file. It's usually pretty easy to find something in the code.

For example mob.cpp contains functions related to the Mob class.. client.cpp functions related to Client class. Yet bonuses.cpp for example contains functions related to calculating bonuses which applies to Mob, Client and NPC classes.

Not sure if there's an official standard for function naming, from what I've seen and been instructed to do was try to make it as clear as possible.
Reply With Quote
  #5  
Old 09-03-2007, 12:53 AM
froglok23's Avatar
froglok23
Hill Giant
 
Join Date: May 2005
Location: Australia
Posts: 113
Default

Yeah, very true KLS, I doubt theres a standard on function naming, but as long as it is targeted to what teh funtion actually does, following it shouldnt be a problem.

-froglok
Reply With Quote
Reply


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 01:42 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3