MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Thief skills, Dream Park and me (again)
On 29/11/97 at 10:49 PM, Ling <K.L.Lo-94#student,lboro.ac.uk> said:
>I just dreamt up a very crude way of representing an irregular
>container so I'm gonna send everyone to sleep with it. Imagine a forest
>container (or room if you prefer). It looks like this:
>
> 123456789
> 1 X **** // X = container origin/handle
> 2 ****** // * = Forest
> 3 ******** // very small and cute forest
>The above would represented as a series of horizontal lines and edges:
> Line 1: 3 - 6
> Line 2: 1 - 6
> Line 3: 2 - 9
>Gedit? Don't know how it'll cope with something that looks like:
> *** ****
> *********
>Then, still in design stages... any feedback?
>Something I borrowed from graphics.
An RLE would be cheaper and more space conservative. The basic concept
is:
Pick a flag value X.
Any repeated sequence of a character 'C' is encoded as 'XNC'
where '#' is the number of repeats of the character C.
Any instance of X itself in the data stream is similarly replaced
with `X#X`, where the # is the number of X's found, with a single X
coming out as 'X1X'.
Any non-repeated character is encoded as-is.
--
J C Lawrence Internet: claw#null,net
----------(*) Internet: coder#ibm,net
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...
- Thread context:
- Thief skills, Dream Park and me (again), (continued)
- Thief skills, Dream Park and me (again),
Ling K.L.Lo-94#student,lboro.ac.uk, Sat 29 Nov 1997, 16:41 GMT
- Re: [MUD-Dev] Thief skills, Dream Park and me (again),
Adam Wiggins nightfall#user2,inficad.com, Sun 30 Nov 1997, 10:58 GMT
- Re: [MUD-Dev] Thief skills, Dream Park and me (again),
Richard Woolcock KaVir#dial,pipex.com, Sun 30 Nov 1997, 15:40 GMT
- Re: [MUD-Dev] Thief skills, Dream Park and me (again),
coder coder#ibm,net, Thu 11 Dec 1997, 05:02 GMT
- Re: [MUD-Dev] requests,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Fri 28 Nov 1997, 07:03 GMT
- Re: [MUD-Dev] Guilds & Politics [was Affecting the World],
Mike Sellers mike#online-alchemy,com, Thu 27 Nov 1997, 00:06 GMT
[ Other Periods
| Other mailing lists
| Search
]