This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - bwang
Pages: 1 ... 12 13 [14] 15 16 ... 44
196
« on: August 05, 2010, 07:12:14 pm »
Doublepost is bad, I know, but here's a minor update. It now only refreshes 3x instead of 20. Also, you now click at the file selection screen, instead of pressing RETURN.
197
« on: August 05, 2010, 04:33:07 pm »
Because I haven't figured out an intelligent way to do it, so I just refresh the screen 20 times each iteration of the loop.
198
« on: August 05, 2010, 02:45:11 am »
Many weeks later, I have finally added file browsing (of a sort). Limitations: bmps must be 320x240 or less, and 24-bit bmp names must be of the form *.bmp.tns bmps must reside in a directory called bmpviewer (the program itself need not reside there)
Controls: At the file selection screen, press RETURN (next to ENTER) to view. Press ESC to exit from the viewing. The controls aren't very smooth since the keypress delay method I use is terrible so you may have to hold a key down for a while for it to register.
The program is compilable for NON-CAS only, since I don't have the directory listing functions for the CAS. Next up: scrolling (easy) and images in different directories (I don't know how hard that will be yet).
199
« on: August 05, 2010, 02:03:19 am »
Edited the first post and skeleton.zip to include the new text routines. I've found them rather useful, despite their limited abilities, so they've been integrated into skeleton.zip for the moment. bsl and I (on United-TI) have found how to list files. This seems useful, so dirlist.h has been placed into skeleton.zip as well. The syntax for dirlist() is:
int dirlist(char* path, char* pattern, char** result) path: the folder you are looking in, e.g. "/documents/examples" pattern: a search pattern, e.g. "*.tns" result: a pointer to a char* (i.e. a list of strings) that will store the resulting filenames
return value: the number of files found
200
« on: August 04, 2010, 04:43:51 pm »
Related to 513: 516. You once tried to recursively download all of ticalc.org, and nearly succeeded. True story. I think I got the entire Z80 portion of their archives
201
« on: August 04, 2010, 04:29:36 pm »
Here are some text output routines. The character map is courtesy of Armael on United TI, and the routines are inspired by his, too. Right now, all I have is a function akin to TI-BASIC's text() function - pass it a string and some coordinates, and it will draw it to the designated screen buffer. There used to be more, but no program loader -> no static variables -> a real console becomes incredibly unwieldy I thought about passing pointers to the cursor coordinates to the functions, but that's a bit too unwieldy. File descriptions: charmap_8x12.h: the character map. screen.h: contains functions putChar and drawStr. stdarg.h: variable-length argument list header. string.h: some string functions Do we have entry points for vsprintf()? That would make writing a printf() so much easier. Enjoy! And remember, this is a very in-progress set of routines, so don't use them for anything fancy.
202
« on: August 04, 2010, 03:50:38 am »
Good stuff! I can't wait for DCS 7.
203
« on: August 04, 2010, 01:51:41 am »
No, not a spambot. The OP mentioned the site in his post.
204
« on: August 03, 2010, 09:09:43 pm »
Terrible. I wonder if the founders of that group conspire with TI's PR group.
205
« on: August 03, 2010, 09:04:44 pm »
What? So now they're forcibly ejecting anyone who doesn't agree with them?
206
« on: August 03, 2010, 08:12:06 pm »
TI's math software has bugs, too: http://www.ibiblio.org/technicalc/buglist/bugs.pdfIs Wayne even a programmer? If he is, then he should know that bugs exist, and are constantly being fixed. Often, functions are generally correct, with errors only in uncommon special cases. He's also making unfair judgments and generalizations. MathTools' site clearly states that it is in development. A program of that magnitude is very hard to write, and the fact that it exists is a testament to the community's brilliancy. Wayne also seems to assume that commercial software is bug-free, which is clearly FALSE.
207
« on: August 03, 2010, 04:14:42 pm »
I messed around with your code, and discovered that you are doing something really weird in maze.c, which messes up the external variables in testlevel.c. The Nspire's support for global variables is pretty delicate at the moment, so if something doesn't work, try moving the contents of testlevel.c into main(). You probably want to have generate() take paramenters, so it should look something like: void generate(int* maze)
where maze is the array you are writing to. Oh, and random thought: I feel slightly happier about Ncaster now. With a map that dense, I was expecting it to be unbearably slow, but apparently that's not happening .
208
« on: August 02, 2010, 07:49:52 pm »
Yes, definitely get the NON CAS Clickpad. I just lost, too
209
« on: August 02, 2010, 06:06:14 pm »
Your height array is incorrect, I think. The rows have been shifted a bit, so now the spaces on your map are getting the wrong height data.
210
« on: August 02, 2010, 01:37:43 pm »
Or you can just make the calculator get a BSOD.
Pages: 1 ... 12 13 [14] 15 16 ... 44
|