From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA20118; Sat, 20 Jul 2002 17:24:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA20066 for ; Sat, 20 Jul 2002 17:24:37 +0200 (MET DST) Received: from dewberry.cc.columbia.edu (dewberry.cc.columbia.edu [128.59.59.68]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g6KFOZj11502 for ; Sat, 20 Jul 2002 17:24:36 +0200 (MET DST) Received: from there (tw304h3.cpmc.columbia.edu [156.111.84.180]) by dewberry.cc.columbia.edu (8.9.3/8.9.3) with SMTP id LAA05863; Sat, 20 Jul 2002 11:24:34 -0400 (EDT) Message-Id: <200207201524.LAA05863@dewberry.cc.columbia.edu> Content-Type: text/plain; charset="iso-8859-1" From: Oleg To: Pal-Kristian Engstad , caml-list@inria.fr Subject: Re: [Caml-list] Caml productivity. Date: Sat, 20 Jul 2002 11:25:55 -0400 X-Mailer: KMail [version 1.3.2] References: <20020715212251.19685.qmail@web13302.mail.yahoo.com> In-Reply-To: <20020715212251.19685.qmail@web13302.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Monday 15 July 2002 05:22 pm, Pal-Kristian Engstad wrote: > struct Elems { >         u32 handle; >         u16 numData; >         u16 index; > }; > > struct Data { >         Elems elem[128]; >         u8 buffer[16 * 1024]; > }; > > Data *data = (Data *)0xabadbeef; I understand that single-player game programs consist of roughly three parts: 1) Low-level graphics 2) "World" model 3) Bot AI Aside from maintenance and code understandability, a clear separation between parts 1 and 2 is necessary for portability. OTOH a clear separation (and carefully filtered information traffic) between parts 2 and 3 is crucial for playability [1] >>From your code snippet it looks like you were basically referring to part 1, yes? Regards, Oleg [1] When you hide behind a stone making sure no one sees [or hears and smells] you, but an alien bot finds you anyway, it's clear that you've been cheated. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners