The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Most useful/needed stuff which should be added
#3
boriel Wrote:
na_th_an Wrote:2.- A nice, fast, simple, hassle-less Putchar (x, y, attr, ascii) function which draws character ascii with attributes attr at coordinates (x, y).
Why don't you use PRINT AT x,y; a$?
I guess, he wants to use 1 char tiles for games, so a Fast routine without any extras like OVER or other print modifier, and direct attribute access could be helpfull for faster screen draw in games. A nice include can do this job too. Just a simple poke of 9 values, and @Na_th_an: I want to add: Forget the char, use just a memory pointer: PutChar (x,y,adress) where adress is the memory adress of 9 byte (8 byte adress data and 1 Byte Attr Data). This allows to use more than 96 Characters for tiles!


boriel Wrote:
na_th_an Wrote:5.- Allow comments in broken lines, such as this:

Code:
Dim myLevel(2) as uByte => { _ 0, _ ' Number of exists 10, _ ' Baddies life gauge 7 _ ' Water level }
I definitely agree with this. I was thinking in using the C commenting scheme /* ... */, but FreeBasic uses /' ... '/ scheme instead. So better stick to it for the sake of compatibility. If everybody agrees, I could enable just this evening :!:
I think, he does not mean Multiline comments, but to allow comments after a line Break using underline-sign.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)