ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Community :: Surveys :: Are you working on any projects for the 2004 POTY contest?
Error!
Failed to query database!

Re: Are you working on any projects for the 2004 POTY contest?
Enchanted Coders  Account Info
(Web Page)

I should probably port my TI-89 Basic game Maze Runner to ASM (using TIGCC and writing it in C)...but the problem is that I'm not sure how best to port the other programs it requires. Mapper should be pretty simple to port; so should MultiMap (since it's nothing more than an extender for Mapper); the problem program is Grid Picker, since it relies on variable-size and dynamically-created pictures. I obviously can't use sprites for this, so how on earth do I make a picture in C whose size is determined by arguments passed to the function?

Reply to this comment    12 July 2004, 18:30 GMT


Dynamic allocation
ti_is_good_++  Account Info

When you declare the dimensions for the array containing the sprite, use *argptr.

Reply to this comment    13 July 2004, 06:11 GMT


Re: Dynamic allocation
Enchanted Coders  Account Info
(Web Page)

I know I'd need to use argptr for arguments to the program itself - this will be an internal function, though - so it doesn't need argptr. What I want to know is, is it possible to create a bitmap (using the bitmap routines in TIGCC) that has a size that is not known at compile time?

Reply to this comment    13 July 2004, 23:44 GMT


Re: Re: Dynamic allocation
ti_is_good_++  Account Info

arguments

Reply to this comment    14 July 2004, 00:12 GMT


Re: Re: Re: Dynamic allocation
ti_is_good_++  Account Info

I meant *variable* arguments. Not clear enough, obviously. The arguments can be defined during execution.

Reply to this comment    14 July 2004, 00:32 GMT

Re: Are you working on any projects for the 2004 POTY contest?
Ger Account Info

Other possible answer;
no I don't program games

Reply to this comment    14 July 2004, 23:38 GMT

POTY
ti_is_good_++  Account Info
(Web Page)

Not just games are featured. For example, see link.

Reply to this comment    14 July 2004, 23:50 GMT

Re: Re: Are you working on any projects for the 2004 POTY contest?
Lewk Of Serthic Account Info
(Web Page)

Sounds like a personal problem.

Reply to this comment    15 July 2004, 03:18 GMT


Re: Re: Are you working on any projects for the 2004 POTY contest?
anykey  Account Info
(Web Page)

games == fun

Reply to this comment    15 July 2004, 16:02 GMT
1  2  3  4  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer