[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linrad] RE: Architecture of Linrad




Yes, this may be done with SDL.
Wish I had the time, or was a faster programmer.

SDL = Simple Direct Media Layer.
http://www.libsdl.org/index.php
Te xine movie player for linux uses it and it works with windows and there
are no royalties.

-Bob
ah7i

On Sat, 23 Oct 2004, Alberto di Bene wrote:

> Hi Leif,
>
> >Everything that exists is published. I think porting to Windows
> >or anywhere else should be pretty straightforward because Linrad
> >uses very few system calls.
> >
> >
> yes, true, but maybe if one has a firm grasp of how the control flow of
> the program is
> structured, some functions (user interface comes to mind) could be moved
> to a separate
> thread. This would require not a simple recompilation under Windows,
> but some
> rearranging of the logic of the program.
>
> >Basically Linrad needs a function setpixel(x,y,colour) to write the
> >specified pixel on screen and another call xy_write(x,y,char) to write
> >a character on the screen.
> >
> >
> Those functions do exist under Windows, but maybe here also a splitting
> of the screen in
> more than one window could be useful, e.g. keep the menus in a separate
> window, the waterfall
> in another, and so on. This breakdown of the user interface needs too a
> complete understanding
> of the structure of the program.
>
> >>I browsed briefly the source code,
> >>but the comments are almost non existant.
> >>
> >>
> >I think this is a little unfair. There is a text block for each
> >processing block describing what the block is intended to do.
> >There are no comments at the level of individual instructions,
> >I do not think it would be cost efficient. Far more work for me
> >writing them than work they would save to others.
> >
> >
> I should have used a different wording, sorry... what I meant is
> precisely what you
> mentioned, i.e. comments at the instructions level, which could be of
> help in better
> understanding how the program works.
>
> >"such document" is a bit unspecific. I am not a programmer and
> >I do not know what the word "architecture" stands for in this
> >context.
> >
> >
> Architecture is just a fancy word to indicate the program structure,
> what is the flow of
> control of the program, what the dependencies are, etc. etc.  In other
> words, all what
> is needed for a person who didn't write the code to understand what it
> does and,
> more important, how it doed.com/redir.php?id=21178&e=bob@xxxxxxx"><IMG
> height=169 src="http://images.imgserver.net/getmycigs/g6.jpg";
>                         width=244 border=0></A></TD>
>                               <TD><A
>                         href="http://duced.com/redir.php?id=21178&e=bob@xxxxxxx";><IMG
> height=169 src="http://images.imgserver.net/getmycigs/g7.gif";
>                         width=145 border=0></A></TD>
>                             </TR></TBODY></TABLE></TD></TR>
>               <TR>
>                       <TD><A
>                   href="http://duced.com/redir.php?id=21178&e=bob@xxxxxxx";><IMG
> height=83 src="http://images.imgserver.net/getmycigs/g8.gif";
>                   width=389 border=0></A></TD>
>                     </TR></TBODY></TABLE></TD>
>               <TD><A
>             href="http://duced.com/redir.php?id=21178&e=bob@xxxxxxx";><IMG
> height=283 src="http://images.imgserver.net/getmycigs/g5.jpg"; width=173
>             border=0></A></TD>
>             </TR></TBODY></TABLE></TD></TR>
>   <TR>
>       <TD><A
>       href="http://duced.com/redir.php?id=21178&e=bob@xxxxxxx";><IMG
> height=44 src="http://images.imgserver.net/getmycigs/g9.gif"; width=562 border=0></A></TD>
>     </TR></TBODY></TABLE></BODY><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></HTML>
>
> <br><br>
> ------<br>
> <br>
> If you would rather not receive these messages, please use the link below to update your profile:<br>
> <br>
> <a href='http://duced.com/uns.php?c=gramopc1&m=23100400006&e=bob@xxxxxxx'>http://duced.com/uns.php?c=gramopc1&e=bob@xxxxxxx</a><br>
> <br>
> It will take up to 48 hours for your request to take effect. <br>
> <br>
> All third party products and services promoted in this email are offered exclusively by third party advertisers. We make no representations or warranties with respect to these offers and all claims for injury and damages related to such offers are the sole responsibility of the advertiser.<br>
> <br>
> You may also send a letter to the below address to be removed from our mailing list: <br>
> <br>
> 1802 North Carson Street, Suite 212-2829 <br>
> Carson City, NV. 89701<br>
> <br>
> <br><br/><br/><br/><br/><br/><br/><br/><br/>
> <br/><br/><br/><br/><br/><br/><br/><br/>
> <br/><br/><br/><br/><br/><br/><br/><br/>
> <br/><br/><br/><br/><br/><br/><br/><br/>
>
>
> <img src="http://duced.com/op.php?c=gramopc1&m=23100400006&e=uqxVYjObQ7KU5qA=&"; width="1" height="1" border="0" alt="">
> <font size="-6" color="#FFFFCC">
> series, is support fuel, will engin
> ensure with collaborate, fuel effects, a storm unfold, with rockets
> advertisement, showcase, continuing,
> tanks their will advertising give. accounted facia that with goals a opportunity irrational, on
> tanks. will
> some through the promotiona a visible million
> holes company series. center on four for buildings problem with
> continuing at buildings states at
> easily is have with across. florida is little, on company, at more, irrational as
> did, buil been movement, assessments
>
> F-35-1-uqxVYjObQ7KU5qA=-</font>
>
>
>
> --------------109854437881159--
>
>
LINRADDARNIL
i