Jump to content

- - - - -

File structures / extentions



4 replies to this topic

#1 Dom

Dom

    I touch everything

  • UberGames Admin
  • 921 posts

Posted 17 September 2006 - 03:08 PM

Right firstly I plan to have 2 extentions for thie scripting language;

.xsc - Which is the source
.xcc - Which is semi complied code

For the file structure though I am thinking of two methods inside the pk3;

1, /x-scripts/mapName/functionName.xsc
2, /x-scripts/mapName.xsc

Method 1 would be the simplest to do as it would only have to run line by line, however method 2 would allow for more complexitiy by having functions...

Thoughts anybody?
Dom 'Phenix'
UberGames Developer

Ennoverse Web Hosting
http://www.ennoverse.com
http://www.ennoverse.co.uk
Affordable web hosting and domains.

A Division of UberNet Ltd.

#2 Nazar

Nazar

    I break everything I touch

  • UberGames Admin
  • 573 posts

Posted 17 September 2006 - 04:42 PM

I like: 1, /x-scripts/mapName/functionName.xsc

It allows more flexibility and more organisation.
Ennoverse Web Hosting
http://www.ennoverse.com
http://www.ennoverse.co.uk

Affordable web hosting and domains.

A Division of UberNet Ltd.

#3 William

William

    Lead Level Developer - RPG-X

  • UberGames Developer
  • 728 posts

Posted 17 September 2006 - 06:14 PM

If someone would care to explain the difference, since I mainly code in php, C and VB I don't see why a subfolder would be better or worse (besides being tidier)

#4 Scooter

Scooter

    The Canon Man

  • UberGames Admin
  • 2,545 posts

Posted 18 September 2006 - 10:08 PM

I like /x-scripts/mapName/functionName.xsc because it would allow for more reusability.

#5 William

William

    Lead Level Developer - RPG-X

  • UberGames Developer
  • 728 posts

Posted 19 September 2006 - 06:56 AM

Me 2




Reply to this topic



  

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users