|
|
Attention: This post does not contain official feature-requests :)
> : However, some more versatile data structures (easily modifiable arrays,
> : lists, sets, and dictionaries) would be very useful. Also things like
> : point sets and other more specialized structures...
> Being able to define a structure like in C would be very nice.
References. I want references :) I think adding real pointers to the SDL
would be a bad idea, but I often run into situations where I'd like to
be able to do some referencing...
Also I'd like to have better encapsulation options, like non-global
macros and an include-file-wide identifier-table, which is shared with
macros (e.g. to allow a macro to access a variable in the same
include-file which is not accessable from the outside of the include-file).
The ultimate feature would be class-like access to already defined
structures, like
#declare MyUnion = union { ... }
#foreach (Object in MyUnion)
#if (Object is union)
#debug "Union!\n"
#else
#debug "Some other object!\n"
#end
#foreach (Texture in Object.textures)
Texture.finish.reflection = 1;
#end
#end
Florian
--
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/
Post a reply to this message
|
|