Version française
Home     About     Download     Resources     Contact us    
Browse thread
The Bridge Pattern in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] The Bridge Pattern in OCaml
Zitat von Michael Wohlwend <micha-1@fantasymail.de>:

> Am Freitag, 28. März 2008 11:44:41 schrieb Jim Farrand:
>
> > ...  The
> > complete game and monster state needs to be saved and reloaded,
> > possibly between different versions of the program.
>
> I would make my own format with a version number.
> Maybe:
> a complicated binary format,
> a more text like format like json or yaml or xml *schockhorror*
> or use a small db for storing, like sqlite.
[...]


For special purposes and requirements, I would recommend
to develop a special file format.

Or, if other game engines' formats could be re-used
without legal problems, and no re-engeneering from the
source is necessary, one could re-use those formats.

For example, if your code is GPLed, I would have some
Python-stuff in mind...

But possibly you have to code you another "Bridge" ;-)
between this stuff and your Ocaml-program.


To re-use in some cases needs more time than to re-invent. :-)

It seems that you already know, what things you
want to write to the files, so then the fileformat it's
specification is at hand.


Ciao,
   Oliver

P.S.: ==>:1,$ s/you/the original author/g