r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Host Kit]

Andreas
26-Oct-2010
[436x2]
I've one more tip on the way of getting started with AGG: A109 has 
a stupid typo in it.
Ah, fortunately it's ifdefd in TO_WIN32. So nevermind :)
ssolie
26-Oct-2010
[438x2]
whew... I have a TO_AMIGA Carl added
I guess it must be in your 109 as well?
Andreas
26-Oct-2010
[440x2]
Mhm, I saw it in A109 :)
It also introduced another _great_ flag, "HAS_SMART_CONSOLE" :)
ssolie
26-Oct-2010
[442]
what does that mean?
Maxim
26-Oct-2010
[443]
do you have OpenGL support on Amiga?
ssolie
26-Oct-2010
[444]
Maxim, a subset is currently available called MiniGL
Andreas
26-Oct-2010
[445]
It disables to hostkit's own pseudo-readline stuff for console I/O.
ssolie
26-Oct-2010
[446x2]
Maxim, no shaders yet :-/
or fancy stuff.. basic GL stuff to run stuff like Quake et al
Maxim
26-Oct-2010
[448]
cool, you might want to look into my Extended Custom Gob Rendering 
host-kit once you've got the default host-kit working with graphics.
ssolie
26-Oct-2010
[449x3]
Maxim, awesome.. I will look into that
Maxim, if you keep things simple OpenGL-wise it will work just fine
chat is working fine... neat :)
Andreas
26-Oct-2010
[452]
great :)
Maxim
26-Oct-2010
[453]
it allows you to hook up alternate graphics drawing within AGG or 
directly on the window which view opens.  though you still have to 
map all that nasty OS specific windowing event stuff first.  keep 
in mind that you might be able to do stuff like a datatype viewer 
right into the view engine  :-)
ssolie
26-Oct-2010
[454]
so is there supposed to be one host-kit per platform in the future 
or ?
Andreas
26-Oct-2010
[455]
hopefully not.
Maxim
26-Oct-2010
[456x4]
it being the CGR path to host-kit... its still an infant, but I think 
its promissing already... just worked out a few issues with Andreas 
and its working fine on windows now.
arg... path= patch.
in the host-kit/src there is an os folder... that is where all the 
OS/platform-specific things are supposed to be.
once that is mapped all the rest is supposed to work multi-platform.
ssolie
26-Oct-2010
[460]
Andreas, sharing a common host-kit might be #ifdef hell though?
Andreas
26-Oct-2010
[461x2]
Yes, in a few places.
But that's how it is already anyway.
ssolie
26-Oct-2010
[463]
true.. it is fairly isolated so far
Andreas
26-Oct-2010
[464]
#ifdef where necessary, and separate files in the os/*/ trees where 
sensible.
Maxim
26-Oct-2010
[465]
when it gets to complex, its extracted and put into an isolated file, 
which is how its been evolving so far... quite straightforward.
Andreas
26-Oct-2010
[466x2]
We just really need to get Carl to the point where the hostkit is 
kept as a single source base.
Not one codebase for each platform which then slowly get out of sync.
ssolie
26-Oct-2010
[468]
where do commits go then?
Andreas
26-Oct-2010
[469]
rofl.
Maxim
26-Oct-2010
[470]
yeah we need to get to the point where Carl doesn't touch the host-kit 
anymore  ;-D
Andreas
26-Oct-2010
[471]
/dev/null
ssolie
26-Oct-2010
[472]
lol
Maxim
26-Oct-2010
[473]
localhost://svn/
Andreas
26-Oct-2010
[474]
I maintain a Git mirror of the hostkit sources at http://github.com/rebolsource/r3-hostkit
ssolie
26-Oct-2010
[475]
is there a standard for EOL?  amiga uses LF as most sane OSs :)
Maxim
26-Oct-2010
[476]
and I'll probably put my CGR package on github too in a short while.
Andreas
26-Oct-2010
[477x4]
nope, that's one of the main differences between the hostkits :)
the win32 hostkit has CRLF, the linux hostkit LF
eventually we should just decree one and run with it.
and given that carl seems to be 90% windows these days, it'll probably 
be windows line endings.
ssolie
26-Oct-2010
[481]
bah :-p
Andreas
26-Oct-2010
[482x2]
agreed :)
(note that my git mirror does not contain A109 because it wasn't 
really released officially, and I wanted to wait if Carl wants to 
hotfix the compile issue.)
ssolie
27-Oct-2010
[484x2]
Why is there a BOOL and a REBOOL ?
Amiga defines BOOL which is conflicting with R3's BOOL