[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] scripting language
From: |
Bo Lorentsen |
Subject: |
Re: [glob2-devel] scripting language |
Date: |
Tue, 24 May 2005 14:10:00 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050331) |
address@hidden wrote:
That can be handled by only exposing functions and no direct pointer to glob2
internal structures.
Ok, so all game states are found in the script contexts, and not in
glob2 itself ?
That's why there is the 'different syntax' part. It probably will not look like
lisp except to lisp fans where every programming language is just a downgraded
lisp.
Hmm, I hav'nt seen this since my first brief dos editor :-)
It's also an important feature for glob2. We don't want script writers having to
debug while playing each and every error the compier doesn't see.
Ok, that is then the first common goal, nice.
Let me explain it:
Imagine one of the threads is in the middle of a function and waiting for a
condition to happen. The game might be saved and stopped at that moment. When
it's reloaded and resumed, the thread state has to be exactly the same as
before. That means its stack and all the variables reached through references in
the stack have to be written with the saved game and reloaded so that execution
can be resumed right where the thread was.
Ok, this would be possible in TEA, but I need a little more work on the
"call back" (for events) part.
/BL
- Re: [glob2-devel] scripting language, (continued)
- Re: [glob2-devel] scripting language, Bo Lorentsen, 2005/05/24
- Re: [glob2-devel] scripting language, Martin Nyffenegger, 2005/05/24
- Re: [glob2-devel] scripting language, Hein-Pieter van Braam, 2005/05/24
- Re: [glob2-devel] scripting language, Stephane Magnenat, 2005/05/24
- Re: [glob2-devel] scripting language, Hein-Pieter van Braam, 2005/05/24
- Re: [glob2-devel] scripting language, MUNTEANU Olimpiu Andrei, 2005/05/24
- Re: [glob2-devel] scripting language, Stephane Magnenat, 2005/05/24
- Re: [glob2-devel] scripting language, Bo Lorentsen, 2005/05/24
Re: [glob2-devel] scripting language, Bo Lorentsen, 2005/05/24
Re: [glob2-devel] scripting language, martin . voelkle, 2005/05/24
Re: [glob2-devel] scripting language, Bo Lorentsen, 2005/05/24
Re: [glob2-devel] scripting language, martin . voelkle, 2005/05/24
Re: [glob2-devel] scripting language, Bo Lorentsen, 2005/05/25
Re: [glob2-devel] scripting language, Martin Nyffenegger, 2005/05/25
Re: [glob2-devel] scripting language, Bo Lorentsen, 2005/05/25
Re: [glob2-devel] scripting language, Stephane Magnenat, 2005/05/25
Re: [glob2-devel] scripting language, Bo Lorentsen, 2005/05/25