[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/templeos/ - The 64-Bit Temple Operating System

Discuss God and Code.
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Flag
Embed
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, swf, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1435001284952.png (44.42 KB,1248x765,416:255,Screen Shot 2015-06-22 at ….png)

 No.1425

Got the next 6 weeks off of work so I've resolved to get back into programming with Temple OS since it's self contained and distraction-free (not talking about the interface of course but the lack of internet access and games that eat up a lot of time). I'm not too rusty, I only had to give up programming for 3 weeks, but I don't have very much experience with C. First thing I've decided to work on is a simple puzzle game to familiarize myself with the API and get back into C-type languages in general. It doesn't really do anything now but I've only been on it for a couple of days now and I'll try to post progress daily. The interface will look better too, it's just going to be the last thing I focus on.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1426

File: 1435003200561.png (85.69 KB,1247x956,1247:956,Screen Shot 2015-06-22 at ….png)

Debugging becomes really hard after the first 100 lines. I'm working with freeing and allocating memory and the OS just crashes every time something goes wrong.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1427

File: 1435003407732.png (39.77 KB,869x191,869:191,Screen Shot 2015-06-22 at ….png)

The problem comes from this function for freeing the linked list selection. selection is a pointer to the first element.

My python and lisp background told me that working with a linked list would be easier but now I see that it would be better to just have an array of the maximum size of objects.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1429

>>1427

If it takes you to the debugger, type

> Exit;

Sometimes, that kills the task and returns to normal.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1435

File: 1435455183358.png (64.7 KB,780x283,780:283,Screen Shot 2015-06-27 at ….png)

Trying to figure out why my event code is so slow. I have to hold the mouse button down for several seconds before it registers.

What's a good demo to learn how to properly do events?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]