The Box, development tool, "Structural programming"

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

Postby jdc » 14 Nov 2019, 11:40

otd
Last edited by jdc on 28 Jun 2022, 08:56, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 18 Nov 2019, 10:43

outd
Last edited by jdc on 28 Jun 2022, 08:58, edited 2 times in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 24 Nov 2019, 12:11

outdated
Last edited by jdc on 28 Jun 2022, 09:02, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 01 Dec 2019, 17:08

outdated
Last edited by jdc on 28 Jun 2022, 09:02, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 07 Dec 2019, 11:30

outdated
Last edited by jdc on 28 Jun 2022, 09:03, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 12 Dec 2019, 16:38

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
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 16 Dec 2019, 09:54

outdated
Last edited by jdc on 28 Jun 2022, 09:04, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 16 Dec 2019, 14:40

outdated
Last edited by jdc on 28 Jun 2022, 09:04, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 18 Dec 2019, 08:04

outdated
Last edited by jdc on 28 Jun 2022, 09:05, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 30 Dec 2019, 10:09

outdated
Last edited by jdc on 28 Jun 2022, 09:06, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 18 Jan 2020, 06:09

outdated
Last edited by jdc on 28 Jun 2022, 09:07, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 18 Jan 2020, 18:36

outdated
Last edited by jdc on 28 Jun 2022, 09:07, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 20 Jan 2020, 08:40

outdated
Last edited by jdc on 28 Jun 2022, 09:08, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 21 Jan 2020, 13:52

outdated
Last edited by jdc on 24 Oct 2022, 10:51, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby Pesciodyphus » 21 Jan 2020, 20:41

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.
Pesciodyphus
 
Posts: 11
Joined: 18 Jan 2020, 23:57
Location: Germany

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

Postby Lyberta » 21 Jan 2020, 21:16

Deleted.
Last edited by Lyberta on 01 Oct 2021, 09:38, edited 1 time in total.
Lyberta
 
Posts: 765
Joined: 19 Jun 2013, 10:45

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

Postby jdc » 26 Jan 2020, 08:57

Just reading about macro now, thanks for the information.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 26 Jan 2020, 08:58

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
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 26 Jan 2020, 09:51

outdated
Last edited by jdc on 28 Jun 2022, 09:09, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby Lyberta » 26 Jan 2020, 14:37

Deleted.
Last edited by Lyberta on 01 Oct 2021, 09:39, edited 1 time in total.
Lyberta
 
Posts: 765
Joined: 19 Jun 2013, 10:45

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

Postby jdc » 27 Jan 2020, 09:41

outdated
Last edited by jdc on 28 Jun 2022, 09:10, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 27 Jan 2020, 09:55

outdated
Last edited by jdc on 28 Jun 2022, 09:12, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 30 Jan 2020, 10:55

outdated
Last edited by jdc on 28 Jun 2022, 09:11, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 05 Feb 2020, 06:42

outdated
Last edited by jdc on 28 Jun 2022, 09:11, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

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

Postby jdc » 08 Feb 2020, 05:01

outdated
Last edited by jdc on 28 Jun 2022, 09:11, edited 1 time in total.
jdc
 
Posts: 150
Joined: 29 Jun 2017, 16:48

Who is online

Users browsing this forum: No registered users and 1 guest

cron