Page 4 of 7

Re: The Box, development tool, "Structural programming"

PostPosted: 14 Nov 2019, 11:40
by jdc
otd

Re: The Box, development tool, "Structural programming"

PostPosted: 18 Nov 2019, 10:43
by jdc
outd

Re: The Box, development tool, "Structural programming"

PostPosted: 24 Nov 2019, 12:11
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 01 Dec 2019, 17:08
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 07 Dec 2019, 11:30
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 12 Dec 2019, 16:38
by jdc
released the planning for the "lore tool : spells" , -> the info + interface image is at the web page : https://www.facebook.com/The-Box-101342 ... _todo_tour

Re: The Box, development tool, "Structural programming"

PostPosted: 16 Dec 2019, 09:54
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 16 Dec 2019, 14:40
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 18 Dec 2019, 08:04
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 30 Dec 2019, 10:09
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 18 Jan 2020, 06:09
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 18 Jan 2020, 18:36
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 20 Jan 2020, 08:40
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 21 Jan 2020, 13:52
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 21 Jan 2020, 20:41
by Pesciodyphus
jdc {l Wrote}:The drawing of pixels is in functions, this is something that could slow down the performance by a lot. This functions is called ā€œNā€ hundreds of time.


I am still not sure that "The Box" is supposed to be, but instead of using a function to draw points, you could have the buffer as array, and set the pixels by writing to an index or pointer into the buffer. When you are done with drawing a frame, copy the buffer into the screen buffer, this is much faster.

In C (assuming this is C) you can use macros for that like:
{l Code}: {l Select All Code}
#define SET_PIXEL(x,y,col) buffer[(x)+(y)*scanline_size]=(col)
#define GET_PIXEL(x,y) (buffer[(x)+(y)*scanline_size])


Remember, function calls cause stack operations in machine code, so simple funktions that are called often can be converted to macros, for better performance.

Re: The Box, development tool, "Structural programming"

PostPosted: 21 Jan 2020, 21:16
by Lyberta
Deleted.

Re: The Box, development tool, "Structural programming"

PostPosted: 26 Jan 2020, 08:57
by jdc
Just reading about macro now, thanks for the information.

Re: The Box, development tool, "Structural programming"

PostPosted: 26 Jan 2020, 08:58
by jdc
The "to do list"

The file is online, it have all the functionality need for this stage. No point in waiting to lunch it width the 0.0.3 version, since is needed now. The rest of updates if not necessary will come width the version, like updates to the to list and planning of the project. Or improvements to code.

https://drive.google.com/open?id=1tw3Uo ... IxZNTvzwtO

Re: The Box, development tool, "Structural programming"

PostPosted: 26 Jan 2020, 09:51
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 26 Jan 2020, 14:37
by Lyberta
Deleted.

Re: The Box, development tool, "Structural programming"

PostPosted: 27 Jan 2020, 09:41
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 27 Jan 2020, 09:55
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 30 Jan 2020, 10:55
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 05 Feb 2020, 06:42
by jdc
outdated

Re: The Box, development tool, "Structural programming"

PostPosted: 08 Feb 2020, 05:01
by jdc
outdated