Results 1 to 21 of 21

Thread: PROJECT: A bit of organisation

  1. #1
    LDiCesare
    Emperor
    Join Date
    03 Jan 2001
    Location
    Ashes
    Posts
    3,215
    Country
    This is LDiCesare's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    01:53

    A bit of organisation

    I don't plan to actually work on the CtP2 code. (I'm too busy with Clash and don't want to let this project down).
    But I DO want to look at the code, maybe make some comments, and generally follow what's being done here. (I also don't want to buy MSVC++, I already hate working with it at work, so not at home if I can avoid it).

    Now, how will I be able to follow the mess that this forum will soon become when everyone asks stuff about the function m_cxSchmoofoobar() in class ctpMrOgPyaJBytwrnemdByLcts?
    What about making a sticky thread by package (I call package the source directories), where vital information about each package would be kept and discussed? When a post limit of (something) is reached, the information should be digested somehow, the thread unstickied and a new one put in place instead?

    Of course, I am not proposing myself to do the nasty work of organising things up, just suggesting someone else do it for my own convenience.
    This could help, however. Particularly, I want to peek and maybe comment a few ai and mapgen files. There are silly stuff, but having dedicated threads per topic might help a bit, and the source is already organised in folders so it looks like a convenient way to organise our posts here. What do you think?
    Clash of Civilization team member
    (a civ-like game whose goal is low micromanagement and good AI)
    web site http://clash.apolyton.net/frame/index.shtml and forum here on apolyton)

  2. #2
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:53
    Indeed, this does sound like a good plan. Since by and large we have now been able to compile and run the game (with certain caveats...) the next task should be documenting the source, and we'll need to be a lot more organised about it than we have been so far.

    One thread for each of the main directories under ctp2_code, and another for each in ctp2_code\ctp would seem about right (although some of those probably still include hundreds of files).

  3. #3
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:53
    Now that this has fallen off the first page I thought I'd give it a bump, and also ask, does anyone else wish to start making a serious attempt to document the source code?

    I believe that there exist cunning tools around for converting documented code into XML and such like. Does anyone know any details about such things, or have any recommendations as to what methods of documentation we should be using.

    I'm happy to start documenting, but I don't want to make it a wasted effort.

  4. #4
    MrBaggins
    King MrBaggins's Avatar
    Join Date
    03 May 1999
    Posts
    1,528
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:53
    I've documented new original (database front end) code. Pretty straightforward, since we were going from a full design, and referencing to within those documents.

    The CTP2 code is a different beast. Somethings are straightforward. Other things, are not.

    I don't feel that we are going to have the degree of familiarity with the code, and why what goes where, and at what points changes can be made, until a while.

    To a certain degree we are gaining familiarity through hacking the obvious bugs away.

    As far as the code itself, its not *terribly* untidy. I can do bug hunting without code documents, and I think Dale and John feel similarly.

    At some point, we'll have the kind of familiarity to start to write some documents. We can certainly comment the bits we are fixing.
    Last edited by MrBaggins; November 3, 2003 at 15:14.

  5. #5
    Dale
    Emperor Dale's Avatar
    Join Date
    27 Dec 2000
    Posts
    3,962
    Country
    This is Dale's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    10:53
    If someone on broadband can download the 96meg DirectMedia 7 package, and zip up just the /lib & /include directories for me (and anything else needed for the code), I'll be able to be a bit more productive for the team.

    This is the one reason I haven't been that active in looking at the code. 96meg is too much on a modem.

  6. #6
    MrBaggins
    King MrBaggins's Avatar
    Join Date
    03 May 1999
    Posts
    1,528
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:53
    No problem, Dale. Where do you want it?

  7. #7
    Dale
    Emperor Dale's Avatar
    Join Date
    27 Dec 2000
    Posts
    3,962
    Country
    This is Dale's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    10:53
    If it's only a few meg send it to my email. (The one on my profile).

  8. #8
    MrBaggins
    King MrBaggins's Avatar
    Join Date
    03 May 1999
    Posts
    1,528
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:53
    Sure. It is, btw, DirectX Media 6.0 SDK, not 7.

  9. #9
    MrBaggins
    King MrBaggins's Avatar
    Join Date
    03 May 1999
    Posts
    1,528
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:53
    Uploaded it to http://apolyton.net/upload/files/MrBaggins/DXMedia.rar

    Easier than dealing with sending limit.

  10. #10
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    01:53
    MrBaggins, should you ever get in trouble with Dan or Markos for having that (non-Civ related) file in your upload folder, please explain them why they *are* Civ-related and tell them that you have my permission.
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  11. #11
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    01:53
    On the actual topic of this thread, I think posting a thread per package is a good idea, but that would leave us with too many threads to top. So it'd be best to create a single thread with links to all the package threads.

    Once information has been 'digested', I guess it would be best to put in online in HTML form, I can arrange for adding a section to the Apolyton CtP2 website devoted to (documentation of) the source code. I reckon it would look a bit like the Clash website, where stuff is organized by topic/package.
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  12. #12
    MrBaggins
    King MrBaggins's Avatar
    Join Date
    03 May 1999
    Posts
    1,528
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:53
    Thanks Locutus, much appretiated. I'll take it down after I know Dale has it. Perhaps we'll set up an "official" appropriate dial-up viable DirectMedia package when we have some sort of source repository going.

  13. #13
    Dale
    Emperor Dale's Avatar
    Join Date
    27 Dec 2000
    Posts
    3,962
    Country
    This is Dale's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    10:53
    Thanks MrBaggins. Got it.

    With the dialup options, don't forget the DX7 SDK option I posted in the other thread.

  14. #14
    Dale
    Emperor Dale's Avatar
    Join Date
    27 Dec 2000
    Posts
    3,962
    Country
    This is Dale's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    10:53
    Well guys, bit of bad news I'm afraid.

    Firstly, some of you know I won't be around for a few weeks. So I'll miss a good chunk of the code-hacking action.

    Secondly, with Empire, Candle'Bre and everything else I do, I'm just not going to have enough time to help with this.

    So I'm gunna have to say I won't be helping out with the source code this. Sorry guys.

    Dale

  15. #15
    centrifuge
    Prince centrifuge's Avatar
    Join Date
    09 Apr 2002
    Location
    USA
    Posts
    920
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    16:53
    Come on now Dale, I don't believe that for a second

  16. #16
    kaan
    Prince
    Join Date
    07 Mar 2001
    Location
    Aarhus
    Posts
    333
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:53
    That sure is sad news Dale, but you know where to come by if you are ever bored

  17. #17
    Dale
    Emperor Dale's Avatar
    Join Date
    27 Dec 2000
    Posts
    3,962
    Country
    This is Dale's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    10:53
    Guys:

    Now take a long look and note that I didn't say I was leaving. We all know how that works out.

    But, this time I REALLY can't be around for a few weeks. I get married on saturday, and the missus would kill me if I didn't go on the honeymoon to stay at home and program.

    As for after that, I'll still float around and offer suggestions/etc, but I just won't be coding.

    Dale

  18. #18
    MrBaggins
    King MrBaggins's Avatar
    Join Date
    03 May 1999
    Posts
    1,528
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:53
    You've got to put your foot down Dale, and tell her who's boss... *chuckles*

  19. #19
    Gilgamensch
    King
    Join Date
    27 Jun 2002
    Location
    France
    Posts
    1,986
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:53
    Dale,

    big mistake.......how could you have ever thought about changing your lovely peaceful computer with a girl ?

    You seem to forget, she won't have a switch off button

    But anyway..........too late now........

    I wish you all the best for it!

  20. #20
    Leland
    Prince
    Join Date
    01 Jan 2000
    Posts
    517
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    01:53
    Originally posted by Dale
    But, this time I REALLY can't be around for a few weeks. I get married on saturday, and the missus would kill me if I didn't go on the honeymoon to stay at home and program.
    Time to buy a laptop.

  21. #21
    Tamerlin
    King Tamerlin's Avatar
    Join Date
    26 Apr 2002
    Location
    Toulouse (South-western France)
    Posts
    2,058
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    01:53
    Originally posted by Leland

    Time to buy a laptop.
    You have been quicker than me Leland.
    "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

Similar Threads

  1. History of the World 8 - Organisation Thread (Pt2)
    By Robert Plomp in forum Civilization IV Multiplaying
    Replies: 487
    Last Post: June 9, 2007, 14:22
  2. Re-Organisation of remaining C3C PBEMS
    By Aqualung71 in forum Civ3 Multiplaying
    Replies: 59
    Last Post: June 14, 2006, 14:26
  3. [C4:AC] Organisation
    By Illuminatus in forum AC Creation
    Replies: 19
    Last Post: December 3, 2005, 16:55
  4. Government organisation poll
    By GeoModder in forum ACDG The Cybernetic Consciousness
    Replies: 0
    Last Post: February 14, 2004, 05:34
  5. Government organisation poll
    By GeoModder in forum ACDG The Cybernetic Consciousness
    Replies: 0
    Last Post: February 14, 2004, 05:20

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Bookmarks

Posting Permissions