Server directory layout


Subject: Server directory layout
From: Jari P Saukkonen (jsaukkon@cs.Helsinki.FI)
Date: Fri Nov 19 1999 - 19:32:35 EET


Initial ramblings about the possible directory layout for the server.
Go ahead, flame.
---


lib/
	base/				Inheritable base objects
		interactive
		living
		monster
		
	daemon/			    Daemon directory
		time
		weather

	event/					Event objects
		event
	   	movement
		speech
				
	system/					Game driver
		master.py
		mSocket.so
		Socket.py
		
	world/					World files
		althainon/
			nicetown/
				livings/
				objects/
		minartan/
			
			 
src/				C++ source files for objects, structure is 
	base/			identical to lib/ directory. Compiled objects
	daemon/			and wrappers are moved under lib/.
	event/
	system/
	world/
	
save/				Savefiles for objects

Subdirectories could be python packages so that we can call any other
object easily, for example:

import daemon.time
daemon.time.getTime()

This would be somewhat equivalent to lpc's "/daemon/time"->getTime() syntax. 


---
| Jari Saukkonen + jari.saukkonen@cs.helsinki.fi : coral   -.
| programming            music          graphics | dolphin   :
| art                  keyboards             web | nah-kolor |
+------------------------------------------------+-----------'
| Babylon5-inspired 'shadow function'        0 <= t <= 4*pi/3
:  x(t) =   (sin 8t)^2 * (5 + 3sin 8t) cos (t/2 + (sin 8t)^2)
.  y(t) = +-(sin 8t)^2 * (5 + 3cos 8t) sin (t/2 + (sin 8t)^2)



This archive was generated by hypermail 2b25 : Tue Feb 12 2002 - 00:00:23 EET