/[projet1]/users/chema/1337/TINE
Defence Force logotype

Log of /users/chema/1337/TINE

View Directory Listing Directory Listing


Sticky Revision:

Revision 495 - Directory Listing
Modified Mon May 23 18:53:05 2011 UTC (8 years ago) by Chema
Copied from: users/chema/TINE revision 494
Moving to new location


Revision 418 - Directory Listing
Modified Fri Oct 29 10:34:49 2010 UTC (8 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Okay, now everything works on the Telestrat. It was a timing issue in the sect_read routine. This one is corrected.

Fabrice reported a possible problem with reading the I(L?) keypress, still to be confirmed to proceed to build the new 1.20 version.

Revision 417 - Directory Listing
Modified Fri Oct 22 19:26:26 2010 UTC (8 years, 7 months ago) by Chema
Original Path: users/chema/TINE
As the alinement's of accesses to FDC worked on a real telestrat for the intro, added the same to the main game and compiled a 1.20 version... waiting for test from Fabrice

Revision 415 - Directory Listing
Modified Sun Oct 10 18:50:18 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
"Message Ends" typo corrected (was "Mesage Ends"). Internal version 1.13

Revision 414 - Directory Listing
Modified Sat Oct 9 16:07:51 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
More attempts to make the telestrat work. Now it loads, but very slowly... disabling interrupts in LoadOverlay...

Revision 411 - Directory Listing
Modified Sat Oct 2 10:20:34 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
Latest version of intro. Still not working on real telestrats.

Revision 409 - Directory Listing
Modified Wed Sep 29 20:36:40 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
support for telestrat. Changed incompatibilities when switching overlay and accessing the via in the random routine. Still not rebooting correctly after the intro in euphoric.

Revision 407 - Directory Listing
Modified Mon Sep 27 19:34:44 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
Bug with setting bit 6 in register 7 of PSG (SndStop routine) was making keyboard detection not work under real machines.

Revision 405 - Directory Listing
Modified Mon Sep 20 08:41:25 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
build 1.10 (I hope no more bugs are present, but we shall see...)

Revision 404 - Directory Listing
Modified Sun Sep 19 17:29:39 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
bug in saving with no slot selected has been corrected.

Revision 403 - Directory Listing
Modified Sat Sep 18 22:01:16 2010 UTC (8 years, 8 months ago) by Chema
Original Path: users/chema/TINE
Attempt to correct the bug with cargo space increasing "randomly"

Revision 402 - Directory Listing
Modified Fri Sep 17 09:38:36 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
corrected minimum techlevel required for some elements (0 for fuel and missiles, 3 for pulse lasers).

Revision 401 - Directory Listing
Modified Thu Sep 16 17:09:11 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Tweaked mission4, as there was a way of succeeding even when Zantor was killed.

Revision 400 - Directory Listing
Modified Thu Sep 16 15:45:00 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Yet another bug discovered by Shaun. Mission 7 may be impossible to finish and after failure all Event vectors are wrong when loading from disk (not initialized to do nothing).

Revision 399 - Directory Listing
Modified Thu Sep 16 08:52:25 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
serious bug found by shaun in buy equip code (?)

Revision 398 - Directory Listing
Modified Thu Sep 9 20:39:59 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Added v1.00 to inist

Revision 397 - Directory Listing
Modified Wed Sep 8 19:42:52 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Solved bug, so you can now kill missiles...

Revision 396 - Directory Listing
Modified Tue Sep 7 11:30:59 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Latest intro

Revision 392 - Directory Listing
Modified Mon Sep 6 19:09:05 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Last version of INTRO.tap

Revision 391 - Directory Listing
Modified Mon Sep 6 17:30:06 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
new intro

Revision 382 - Directory Listing
Modified Tue Aug 31 21:16:49 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Latest intro added

Revision 376 - Directory Listing
Modified Mon Aug 30 20:22:16 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Added final (easy) mission (mission11.s)


Revision 375 - Directory Listing
Modified Thu Aug 26 20:27:10 2010 UTC (8 years, 9 months ago) by Chema
Original Path: users/chema/TINE
Latest changes with intro included.


Revision 369 - Directory Listing
Modified Mon Jul 26 11:15:13 2010 UTC (8 years, 10 months ago) by Chema
Original Path: users/chema/TINE
Solved problems with mission10.s and other issues with missions stated in todolist.txt

Missions checked, but more tweaks can be done (todolist.txt)

Revision 368 - Directory Listing
Modified Sun Jul 25 22:01:01 2010 UTC (8 years, 10 months ago) by Chema
Original Path: users/chema/TINE
Solved an issue where the mission summary was not shown as nextmission was not set to 4+1.

Changed a string in mission10.s so it does not say the constrictor jumped again after getting to gal5.

Revision 367 - Directory Listing
Modified Sat Jul 24 22:41:20 2010 UTC (8 years, 10 months ago) by Chema
Original Path: users/chema/TINE
Changed dilithium for Quirium to follow the manual.
Added missing equip define EQ_MILLASER in main.h which was causing a bug.
Changed NEXTMISSION_LEGAL in mission1.s which was wrong.
Slightly changed a text in mission8.s
Tested up to mission7 but lost the saved position. Need to test mision8 and followings....



Revision 366 - Directory Listing
Modified Wed Jul 21 21:44:45 2010 UTC (8 years, 10 months ago) by Chema
Original Path: users/chema/TINE
Added the new items as mission rewards.

Revision 364 - Directory Listing
Modified Mon Jul 12 22:22:06 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Corrected distance to planets in galaxy.s (errors commented out)
Added two new items (not for sale, but as gifts in missions):
fuel optimizer, enlarging your max range to 7.5
dilithium processor, randomly finding dilithium on splinters and refueling your ship.

The first one is fully tested, the second one needs more checks.

Now have to add them as gifts in missions.

Revision 363 - Directory Listing
Modified Mon Jul 12 19:06:03 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Found the bug with circles in 3rd ships' hypespace jump. :)

Revision 362 - Directory Listing
Modified Sun Jul 11 18:23:29 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Added "right on, commander!" message. Tweaked a bit how seldom checks (32 frames) are done, just one of them, not all... I guess this works correctly.

Put a define to select if the classic Elite behavior of selecting planet closest to 96x96 when galhyper, as this destroyed my planification of the Constrictor mission.

Revision 361 - Directory Listing
Modified Sat Jul 10 21:39:16 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Added the possibility of plotting circles in short range chart (with a define, so they are not active by default), just for testing. Should work better with filled circles.

For hyperspace circles: added a check to avoid a ship entering hyper if another ship is entering hyper (in tactics.s)

Cleaned a bit tineloop.s and added a check in case the circles when hyperspacing are too big.

Seems it is working quite well now.

Small tab adjusting in universe.s

Revision 360 - Directory Listing
Modified Fri Jul 9 23:01:17 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
More on hyperspace effect for 3rd ships... more tested and working much better now... 

Still I don't like it too much :(

Revision 359 - Directory Listing
Modified Fri Jul 9 10:37:27 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Trying to add hyper effect to other ships... not working completely yet.

Also slowed a bit the music.

Revision 358 - Directory Listing
Modified Thu Jul 1 12:03:47 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Tweaked the music a bit more. Added random change of laser endpoints like Elite. Added FLG_HARD so only military lasers can perform damage (and only half damage). Included that in the constrictor mission, but it has not been tested.

Revision 357 - Directory Listing
Modified Wed Jun 30 22:20:04 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Ok this is a test only. Tried to include an enhanced music (1K larger) and created many problems. My hack to tap2dsk stopped working, and I tried to use the official one and hack the bug inside the program.

But it seems that the linear sector number at which an extra sector appears, change. I have one that seems to work, but not sure at all!

Revision 356 - Directory Listing
Modified Mon Jun 28 09:53:44 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
Removed fill patterns from models.s, saving some bytes there. 1 sector less is read from overlay now, and we are using 13312 bytes in that area plus the data at the end (missions,etc). So over 1700 bytes free.

Sped up rotations for player (with steps of 3 degrees). Looks better and accuracy loss is not so important, imho, as with pitch and yaws.

Revision 355 - Directory Listing
Modified Sun Jun 27 22:55:43 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
hermits added to game (tested too).

Revision 354 - Directory Listing
Modified Sun Jun 27 19:32:47 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
First tweaks after the BETA1 version

Changed the way rear view is patched, so no it is in obj3d.s before calling GLOBROT. Is much more efficient.

Also corrected an error with this, as only Z component was inverted, and not also X component. This also meant changes into stars.s which also had some errors in rear view...

Tweaked the rotation of the initial screen ships, and added the hermit as type of ship (but not yet created in universe.s)

Revision 348 - Directory Listing
Modified Tue Jun 22 12:03:34 2010 UTC (8 years, 11 months ago) by Chema
Original Path: users/chema/TINE
First beta release... with a pre-saved slot for testing.

Revision 347 - Directory Listing
Modified Thu Jun 17 21:23:49 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Added messages for mission pack failed and completed. 
Added galactic hyperspace effect and sfs
undefined ramsave
updated overlay.s to tidy it a bit
with the new texts, had to update NUM_SECT_OVL adding one more in main.s


Revision 346 - Directory Listing
Modified Wed Jun 16 21:21:22 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Mission 10 (Constrictor) added and tested!! Increased laser power of Thargoid (glups) and Constrictor.



Revision 345 - Directory Listing
Modified Tue Jun 15 20:28:23 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Mission9 (thargoid) added and tested. Modified some texts here and there. Added FLG_SLOW to thargon (should test that)
and tired to solve a bug in missile number in universe.s

Revision 344 - Directory Listing
Modified Tue Jun 15 09:53:43 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Expanded the print routine to handle strings with more than 256 characters. Also expanded it and the print_incomming_message routine to handle text with several pages (New page is code 11, as 12 is flashing attribute).

Expanded some briefings in tutorial0 and 1 and currently working on mission8 text.

Tested mission8, which is working.

Revision 343 - Directory Listing
Modified Mon Jun 14 21:14:17 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Mission8 added and tested with 6 asteroids. Increased it to 8, not tested.

Put back asteroids max speed to 30 and added FLAG_DEFENCELESS (or they turn and shoot at me!)

Changed a comment in tactics.s (DEFENCELESS does not alert police... INNOCENT does).



Revision 342 - Directory Listing
Modified Wed Jun 9 20:57:31 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Code for mission 8 added, but not yet tested.
Changed a bit the D and O in the charset to make it more readable.
Changed asteroids max speed (from 30 to 10).
Added a #define in mission for _rotz fields to make asteroids rotate.

Revision 339 - Directory Listing
Modified Tue Jun 8 17:47:41 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Added mission 7 (quite deadly). Had to touch tap2dsk to produce a correct data file.

Revision 338 - Directory Listing
Modified Mon Jun 7 20:53:05 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Tweaked mission5 and added mission6 (tested). Need to check continuity between those two.

Removed code in tineloop to make missiles explode if energy bomb used.

Revision 337 - Directory Listing
Modified Sun Jun 6 20:49:16 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
test over mission 5 done. Corrected some bugs (I hope all). And altered number of initial objects when creating environment (called 3 times instead of 4 now).

Revision 336 - Directory Listing
Modified Sun Jun 6 18:13:46 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Mission5 added and tested. Should work out balance anyway...


Revision 335 - Directory Listing
Modified Fri Jun 4 19:03:24 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Mission 4 (Zantor's attack) added and tested.
Solved problem with clipping fuel circle in short and long charts.

Revision 334 - Directory Listing
Modified Thu Jun 3 20:35:16 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Mission 3 added and tested (not completely, but..)
Corrected a bug in mission order (the damned defines after tutorials).
Added a couple of defines that were missing and some details.
Detected a bug in the fuel circle when in long chart (with clipping... needs tweaking - added to the todolist.txt)

Revision 333 - Directory Listing
Modified Tue Jun 1 18:30:11 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
OK. Tutorial loaded at the beginning of the game and does not use a slot.

Revision 332 - Directory Listing
Modified Tue Jun 1 17:21:21 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
4 tutorial missions added, but need loading as a slot. Should automate that. BEWARE for testing that the slot launches tutorial 3, not 0.

Revision 331 - Directory Listing
Modified Mon May 31 20:59:12 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Tutorials 1&2 added and tested. Added IndGetShipType to the jump table and a slot for testing tutorials.

Revision 330 - Directory Listing
Modified Thu May 27 19:18:59 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
mission 3 added and tested. Very hard, really.
Altered docking distance for testing.

Revision 329 - Directory Listing
Modified Wed May 26 19:52:08 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Mission 1 (4) tested and fixed (both alternatives)

Revision 328 - Directory Listing
Modified Wed May 26 18:42:26 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Fixed snapping to planets in both long and short charts. Fixed several issues with cross placing and added fuel circle to long chart.
Added changing commander's name when saving and fixed a bug with gets (using tmp, which was also used when printing numbers).

Revision 327 - Directory Listing
Modified Mon May 24 19:13:37 2010 UTC (9 years ago) by Chema
Original Path: users/chema/TINE
Solved snapping to planet in short range chart. Added fuel cricle in long range chart

Revision 326 - Directory Listing
Modified Fri May 7 19:25:45 2010 UTC (9 years, 1 month ago) by Chema
Original Path: users/chema/TINE
First two missions added. Bugs in mission code when loading games solved (seems so). Structure also changed, so missions have their own file.

Revision 325 - Directory Listing
Modified Wed May 5 20:28:25 2010 UTC (9 years, 1 month ago) by Chema
Original Path: users/chema/TINE
Firs mission added

Revision 316 - Directory Listing
Modified Wed Apr 28 11:31:35 2010 UTC (9 years, 1 month ago) by Chema
Original Path: users/chema/TINE
minor changes to keyboard routine


Revision 312 - Directory Listing
Modified Tue Apr 27 10:48:18 2010 UTC (9 years, 1 month ago) by Chema
Original Path: users/chema/TINE
Keyboard routine corrected (?) but still with some delay which can be removed (?)

Revision 309 - Directory Listing
Modified Thu Apr 22 18:18:41 2010 UTC (9 years, 1 month ago) by Chema
Original Path: users/chema/TINE
solve a bug when missile indicators and target (including compass) was updated when not in the front view. This happened when a ship which was our target docked, hypered or simply exploded.

Revision 308 - Directory Listing
Modified Thu Apr 22 17:18:27 2010 UTC (9 years, 1 month ago) by Chema
Original Path: users/chema/TINE
After miniserve breakdown... Many little changes, including mission general layout, some tests, keyboard handling, music, a real random generator...

Revision 307 - Directory Listing
Modified Tue Mar 16 19:57:05 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
New version of music. Changed a couple of details on mission code for testing (alpha). Now saved slot fires at mission 2.

Removed a bug preventing a ship to become angry (testing a flag with ora, instead of and, silly me).

Revision 306 - Directory Listing
Modified Tue Mar 16 12:27:23 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
Added new version of music (the old one with EG effects is inside #ifdef 0) Also tweaked obj3d.s so the max distance for drawing a ship is ignored, and added when drawing the two pixels. This seems to correct the bug where distant ships fire at a even more distant target, and lasers went in the wrong direction (due to vertex not being projected). Seems to work, I hope I did not break anything in the process.

Revision 305 - Directory Listing
Modified Sat Mar 13 22:59:34 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
More tweaks in the mission system. 

Revision 304 - Directory Listing
Modified Mon Mar 8 20:03:53 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
one transport mission for testing included. Need to use the MissionCargo public variable to aid the player in the market.

Revision 303 - Directory Listing
Modified Sun Mar 7 21:22:58 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
More work on missions done. Now they are up to 1.5K, also added OnScoopObject and a variable for mission cargo (size in tons to see how to actually do this...)

Revision 302 - Directory Listing
Modified Tue Mar 2 18:42:35 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
more on missions... now load from disk! tested with two dummy missions.

Revision 301 - Directory Listing
Modified Mon Mar 1 15:55:03 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
More things on missions done.

Revision 300 - Directory Listing
Modified Sun Feb 28 21:37:12 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
first version of missions at last!

Revision 299 - Directory Listing
Modified Wed Feb 24 12:25:29 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
Reorganized the memory map a bit, putting several vars and buffers in overlay and have better memory map output. Space free is now 1066 bytes in overlay and from $925f to $9fff (>3400 bytes) in normal memory

Revision 298 - Directory Listing
Modified Tue Feb 23 19:17:36 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
Moved grammar to page 2. Now 1770 bytes free in overlay, from the end of texts to fbf9 (leaving space for object records and irq vectors).

Removed dictc.s and grammar.s from the repository as they are generated at build.

Revision 297 - Directory Listing
Modified Mon Feb 22 11:03:31 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
more tweaks... Removed launching worms...

Revision 296 - Directory Listing
Modified Sun Feb 21 23:10:06 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
Added support for not projecting vertices which are not needed. But there is still a possible optimization with precalculated usedinface.

Still errors with laser origins in rare cases.

Revision 295 - Directory Listing
Modified Sun Feb 21 18:14:17 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
Changed size of worm, despite it was the one used in Elite TNK and AGB.
It was not the target which was decelerated or its speed decreased, it was the attacker.
Create ship when out of hyper a bit nearer, to avoid redlights...

Revision 294 - Directory Listing
Modified Fri Feb 19 17:53:55 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
Solved bug in cursor in local chart, when coming from galactic chart with a far selected planet.

Solved several minor bugs in tactics.s where number of thargoid, asteroids and police was not being updated when one disappeared without being killed. Also now a shot decreases your speed and probability of launching missiles is lower. Set just one thargoid at the same time in tine.h

Solved minor issues in universe.s, where ships were created too far away or missiles or laser power incorrectly initialized (namely for thargoids).

Revision 293 - Directory Listing
Modified Thu Feb 18 09:35:30 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
Removed fly_to_vector_final, as it was unused. NOw all in fly_to_vector (tinefuncs.s)

Removed a couple of bugs when dying in tineloop.s. Now this seems to work as expected when escape pod is launched and seems to get back to the init screen in any case.

Revision 292 - Directory Listing
Modified Wed Feb 17 22:17:49 2010 UTC (9 years, 3 months ago) by Chema
Original Path: users/chema/TINE
solved some bugs, one new with market. Added sound for targetting compass

More minor bug hunting.

Revision 291 - Directory Listing
Modified Tue Feb 16 21:50:32 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Added target change for compass...

Revision 290 - Directory Listing
Modified Tue Feb 16 17:04:22 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
minor updates

Revision 289 - Directory Listing
Modified Mon Feb 15 14:22:16 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
New stuff. Crosshair is drawn differently and in color!
Compass code has been updated and uses a mask, which is smaller and much quicker.
Radar heads are drawn more efficiently.
Modified tineloop.s so it does not update radar or compass if gameover. Removed code that updated those only every two frames.

Revision 288 - Directory Listing
Modified Mon Feb 15 00:09:09 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
New line routine. Corrected the laser vertex for ships

Revision 286 - Directory Listing
Modified Sun Feb 14 21:16:58 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
buggy clipping??

Revision 285 - Directory Listing
Modified Sun Feb 14 20:06:51 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Models was missing?

Revision 284 - Directory Listing
Modified Sun Feb 14 20:02:19 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
removed old files
simplified unused points in models
moved where clear_vertex is called in tineloop.s, as the other position generated a bug.

Revision 276 - Directory Listing
Modified Fri Feb 12 23:42:59 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
new version of drawline, which needed adding and#$7f to all pixel drawings :(

other minor additions, such as a game_over var.


Revision 274 - Directory Listing
Modified Fri Feb 12 17:53:00 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Cleaned up some part of the code. Tried another method to generate laser vertices...

Revision 271 - Directory Listing
Modified Wed Feb 10 19:53:33 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Minor changes. Optimized prepare_normals with SMULT. Changed some jsr/rts to two jmps in obj3d.s

Revision 266 - Directory Listing
Modified Mon Feb 8 22:12:53 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
many small changes and bug huntings. Newest line routine, removed clearing the laser vertices from the main loop...

Revision 263 - Directory Listing
Modified Mon Feb 8 16:49:54 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
New line routine (thanks thust26!)

Revision 250 - Directory Listing
Modified Fri Feb 5 22:05:50 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Solved a bug when pressing key to buy/sell and no item selected. Changed the probabilities of shuttle/merchant creation. Solved a bug when landing in rear view. Simplified calling to Circle routines a lot in obj3d as well as Plotting of debris/far ships. Reduced memory usage in some messages in cockpit.s by using subroutines with common code.

Revision 247 - Directory Listing
Modified Fri Feb 5 12:29:16 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Added new circle version from Dbug...

Revision 245 - Directory Listing
Modified Thu Feb 4 22:41:54 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Implemented the losing of cargo and equipment... need to optimize in space the cockpit message functions, which share a lot of code.


Revision 241 - Directory Listing
Modified Wed Feb 3 21:47:59 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
after problems with svn

Revision 240 - Directory Listing
Modified Wed Feb 3 21:35:27 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE


Revision 239 - Directory Listing
Modified Wed Feb 3 21:32:24 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE


Revision 238 - Directory Listing
Modified Wed Feb 3 21:25:16 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
remove this


Revision 235 - Directory Listing
Modified Wed Feb 3 17:06:27 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Several small changes. Removed the check_maxman routine from tinefuncs.s, as it seems quite useless. Simplified the code there.

Also added alarm messages when not in front view (Dbug will be pleased :) )

Optimized the MoveShips in tinefuncs.s so it iterates only after fixedobjects, avoiding planets and moons. Also changed the clearing of laser vertices to the drawing section in tineloop.s and cleaned up code.

Revision 234 - Directory Listing
Modified Tue Feb 2 22:51:17 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Added new super-fast version of circle (see circle.s). Thanks Dbug!!!. Removed filled version.

Also solved a bug in tactics.s calling AIMain and not continuing the loop, causing problems with missiles.

Changed the number of sectors to read in main.s, as a consequence of removing the transporter ship.

Revision 223 - Directory Listing
Modified Mon Feb 1 22:31:07 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Some more minor changes. Totally removed the TRANSPORTER ship, as it was too complex. Added new version of LineDraw.s, with still minor glitches.

Scratched some cycles from the circle routine.

Revision 221 - Directory Listing
Modified Mon Feb 1 16:14:32 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
A quick backup. Several changes, small details all. Included the new version of the LineDraw.s, also made some small optimizations to lib3d.s.

Moved commander's data to start of page 4 to ease mission code, but it is not definite.

Also changed the way bounty messages are issued, so they appear with some kind of delay and accumulate bounties till then.

Added a patch to erase laser vertex only of ship objects. Should use this to limit the number of space objects.

Revision 216 - Directory Listing
Modified Thu Jan 28 12:32:15 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Some small changes... added dot as a model for very far objects. Added an optimization to prepare_normals. Added two points for debris. Also eliminated unnecessary files.

Revision 215 - Directory Listing
Modified Wed Jan 27 22:17:03 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
More small changes. Added messages for buying  "already fitted" and "no cash" and "no cargo". Also removed some cycles in lib3d.s and even in the LineDraw.s

Revision 214 - Directory Listing
Modified Tue Jan 26 21:33:23 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Corrected many things on the text screens and added color to galactic chart (might reuse the other routine for this with some code patches).

Solved a bug in the video uploaded to youtube, where using a pod should remove your equipment... What to do with missiles.

Shields now recharge even if not full of energy.

Tweaked clipping area in params.h (was 122 lines).

Revision 212 - Directory Listing
Modified Mon Jan 25 21:34:06 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
A couple of tweaks more... one patch and some code removed...

Revision 210 - Directory Listing
Modified Mon Jan 25 17:49:04 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Many small changes this time. A bug in the energy panels in the cockpit has been corrected. A bug and planet name in hardcoded save game data was corrected also.

Other minor tweaks and optimizations. Patched the attribute_changed thing.

Launched ship is now rotated correctly (180deg in Y axes) so planet is behind. 

First test to put alternate colors and it looks really well. Changed flash when hit to magenta, as yellow was hardly visible.


Revision 209 - Directory Listing
Modified Sun Jan 24 17:41:36 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Moved energy low message to the main loop, each 64 frames. Removed the patch to avoid sound for that message, as it is no more needed.

Added the extra maneuverability unit.

Tweaked the messages for landing/launching.

Revision 206 - Directory Listing
Modified Sat Jan 23 00:35:01 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Some more tweaks. Fixed some code in radar, galaxy and other minor details. Added two messages for launching/landing, but I don't like how it works... And it does not do anything when not in front view.

Solved a bug in the radar, when the number of objects becomes zero.

Revision 205 - Directory Listing
Modified Fri Jan 22 12:34:27 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Initial cash is now 100 Cr

Changed in order of files in osdk_config.bat. Mostly for testing...

Many changes to radar.s. All the loops have changed and have been optimized.

Still several details that have to be checked (see todolist.txt)

Scanner code is still... dumb.

Asteroid rotation was stupidly put in MoveCurrent. Now it sets rotz in creation.

Some more cleaning in tineloop.s

Revision 204 - Directory Listing
Modified Thu Jan 21 18:29:33 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Small minor additions and some cleaning of code.

Added a worm and a missile counter, so we can limit their number for computer AIs. Limits in defines in tine.h

Radar and scanner are updated only every 2 frames.

Asteroids now rotate.

Found a bug in the radar. It needs a lot of space to work with all the possible objects, but that is indeed a waste, so need to clean up that code, which is indeed a mess.

This version has ALTSCANS undefined for testing purposes.

Revision 203 - Directory Listing
Modified Thu Jan 21 15:50:45 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Removed the need of a var energy_bomb and continuous checking. Now there is a routine that explodes all the affected ships when user press "B".

Cleaned some code.

Added a patch when in rear view with a jsr. Else nop nop nop.

Anacondas now launch worms

Revision 202 - Directory Listing
Modified Wed Jan 20 22:31:15 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Ok, after learning the rate of the IRQ is configurable, changed it to read keyboard at 25hz and optimize everything. removed the sei/cli. Tuned frameskip thresholds.

Revision 201 - Directory Listing
Modified Wed Jan 20 20:05:16 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
More things suggested by Dbug changed. 
This time rotation routines in tineloop.s
Added more comments to the sources.

Also reduced the max number of objects to 32. If this works, we save a lot of memory.

I am not sure what happened, but it seems to run MUCH faster now. Except from occasional slowdowns, which I have to track. Seems a bug.

Revision 200 - Directory Listing
Modified Wed Jan 20 18:01:23 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
first optimizations in stars.s

Followed Dbugs ideas, plus some details:

clipping is checked in the routines, so a star never gets out of the clipping, region, thus this check in PlotStar is not needed anymore.

Still need to face the reorganization of code to avoid taking branches...

Revision 199 - Directory Listing
Modified Tue Jan 19 22:13:21 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
Several suggestions by Dbug added:
some kind of in-screen instructions in some pages
arrow cursor support (partial)
solved the planet size jump thingy
added Dbug's optimization to stars.s. The easy one, the add/sub thing.
Music is correct now. Plays all patterns.

Revision 198 - Directory Listing
Modified Mon Jan 18 17:21:16 2010 UTC (9 years, 4 months ago) by Chema
Original Path: users/chema/TINE
problem with useless archive .ncb... just to remove the hideous icon...Many little details solved. Price of ECMs and Escape capsule interchanged. Circle routine enhanced and a bug with the no-clip version solved. Bug when trying to load an empty slot solved. sound.s altered so AY regs are shared between my routines and Twi's. Also SndStop is corrected, saving 128 on regs. tactics.s changed so ships detect collision course sooner. Initial number of missiles and large cargo bay equipment solved in initializing player's ship. Added a KLUDGE in end_intro to ensure radar is empty when saving controls. Removed the code that prevented ships to appear if police around (universe.s). Now more thrilling, but needs more testing.


Revision 197 - Directory Listing
Modified Sat Jan 16 17:15:18 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Several small changes. Added new player from Twi and new compiled music. Still a bug there, but now it sounds quite ok.

Also player's status is cleared when using escape pod.

Solved two bugs that were not noticed before: rear & front damage is now correctly done (in a better way, before missiles did it wrong); and the recharge of the aft shield is now correctly done (had an awful error before).

Revision 196 - Directory Listing
Modified Fri Jan 15 23:08:48 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Damage from lasers and missiles updated and put in defines in tine.h

This version was sent to Dbug and Twi.

Revision 195 - Directory Listing
Modified Thu Jan 14 22:47:34 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Many little changes. Removed the first intro screen.. it is useless. Will need to add a Change Commander's Name in the LOAD/SAVE screen.

Added the Escape pod at last! And it seems to work.

Also removed a bug where lasers at your ship did not work when you watch them from outside (for instance from an escape pod).

Moved several defines to tine.h, now much more clear.

Revision 194 - Directory Listing
Modified Wed Jan 13 22:33:43 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
3 missiles as a start. Corrected a bug where initializing a ship when loading from disk was not correctly done (wrong equipment)
Thargon/thargoid naming conventions now follow manual

Revision 193 - Directory Listing
Modified Mon Jan 11 12:38:56 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Added ship names in intro screens and updated the todolist.txt

Revision 192 - Directory Listing
Modified Sun Jan 10 22:31:20 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
More modifications in the alternate scan thing. Also put back tables for player control of the ship.

Revision 191 - Directory Listing
Modified Sun Jan 10 21:01:35 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
?

Revision 190 - Directory Listing
Modified Sun Jan 10 20:56:26 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
added music.s


Revision 189 - Directory Listing
Modified Sun Jan 10 20:53:00 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
More attempts with the odd/all/odd idea. Generated new defines in tine.h and the frame_time variable. Also disable interrupts before doing some routines in drawing.

Added a kind of play 0,0,0 in SndStop.

Revision 188 - Directory Listing
Modified Sat Jan 9 23:51:23 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Many new details... toggling between front/rear view is now in key V, whilst galactic hyper is correctly working with H (I hope).

Also working on a first try to draw ALL/odd/ALL/odd frames when framerate goes slow... Even have code to skip drawing in that case.

Revision 187 - Directory Listing
Modified Fri Jan 8 23:16:38 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Moved dictionary to overlay. Now barely 740 bytes left there, but more than 3K on normal memory.

Also added SndStop to sound.s and tweaked so music is stopped correctly. Also added jsr SndStop before restarting to see if I can get the music be correctly played after restarting.

If music gets much higher than which currently is, be careful to remove dict again.

Found a bug, where the value of shields gets <0 or something like that and is not decremented afterwards..

Revision 186 - Directory Listing
Modified Fri Jan 8 22:29:55 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Music added. Thanks to Dbug's new version of the old version of the linker :)

Also optimized the radar a bit, but still needs more tweaking.

Revision 185 - Directory Listing
Modified Thu Jan 7 23:35:24 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Messed around with wave player, the too many labels error and the new link65. A lot of problems, but seems to be ok now (music removed).

Added an effect to ships in intro to move them backwards after some time and change the model. Also added FLG_SLOW to several ships when creating them.

Removed colons from comments and also converted obj3d.s to DOS format (has a mix with Unix linefeeds).

Revision 184 - Directory Listing
Modified Sat Jan 2 22:55:21 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
More bug hunting and small additions. The most important thing is that I have added Dbug's new line routine, with no extra pixel error.

Now if ECM is active enemies don't launch missiles. Also find target makes sure that a target has not been deleted even if still in the visible list (could happen). This and other checks seem to minimize the error where invisible strange enemies were killed and gave you a lot of credits. But the problem is still there. I have set a halt if it happens for more testing.

Revision 183 - Directory Listing
Modified Fri Jan 1 20:54:12 2010 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Changed missile model, implemented the energy bomb :) and corrected a bug caused by making the linked list of visible objects of size different than 129 bytes. I know now how it works, so could change that, but an entry=$80 states the end of the list (direct test with bmi) and the list starts at VISOBJS+$80, so should be careful.

Did not add that enemy do not fight missiles if ecm active.

Revision 182 - Directory Listing
Modified Mon Dec 28 22:46:28 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Changed model of missile to something simpler. Works much better.

Maybe introduced a new bug somehow? Need more testing

Revision 181 - Directory Listing
Modified Sun Dec 27 21:17:04 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
More bug hunting and adjustments. Added a loop based on a VIA timer to try to make the random generator more random (check main.s)

Pirates now target you or other ships randomly, creating more private encounters.

Changed the time HUD messages are on display.

Also added correct normals for splinters.

Revision 180 - Directory Listing
Modified Fri Dec 25 20:35:22 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Fixed a bug related with rear view (coming from screens to space and viceversa).
Added messages for front & rear view.
Added inflight messages for Missile Armed & Unarmed
Tweaked the number of missiles of enemies in random encounters.
Also corrected and varied how initial ships are created in create_universe, so space is populated when player appears.


Revision 179 - Directory Listing
Modified Thu Dec 24 16:36:15 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Added sound for missiles. Corrected a bug where Bounties were incorrectly assigned. Removed some debug values (just kept framerate) and speed increased a lot. Tweaked some rnd values in enemy creation, so now encounters occur more often.

Revision 178 - Directory Listing
Modified Wed Dec 23 20:58:34 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Solved even more bugs. One of them made the cursor in low range chart be wrong (outside screen) when coming from galactic chart and a far planet was selected.

Added FLG_PIRATE to Thargoids, so police helps.

Tweaked circle drawing so no clipping is done if not necessary. Can improve this more by inlining things, but as we are low on memory I prefer to wait before doing this.
Removed several clcs and secs which should not be needed to speed up drawing.

Also changed a couple of things in memory layout in obj3d.s and LineDraw.s, to gain a good amount of over 200 bytes. 

Removed USE_ACCURATE_CLIPPING from the params.h file, as it speeds things up, reduces code and does not seem to change anything.

Added a #define USE_OBLETS to remove all the code related to Compound object drawing, to save memory and speed up the code (just a bit).

Moved the object records area (over 2K) to fffa-size.

Revision 177 - Directory Listing
Modified Tue Dec 22 19:21:26 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Corrected a bug where thargons were not given the ECM. Also thargoids carried are random (0-3).

Tested that it is possible to fight a thargon. It is, if well equipped, but the trick of firing a missile when very close is quite helpful.

Adapted the ship size to the scaled-down versions.

Corrected the bug where planet_distance was not correctly set at the first frame. Now you can't jump just after undocking.

Corrected the visibility distance, so it is no more possible that a ship in front of you fires, while it is not visible (lasers incorrectly drawn).

Added shipdatal.xls (with the scaling factor and size) to the repository.

Revision 176 - Directory Listing
Modified Sun Dec 20 21:03:48 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
Power redirection working. Also made energy and shields fixed values, so cockpit controls work OK.

Tweaked other things, like reinitializing the starfield when looking back

Changed InitPlayerShip and NewPlayerShip, so there is a PreInit entry point... also commented a jsr InitPlayerShip before a jsr CreateUniverse when pressing 1, which is unnecessary.

Revision 175 - Directory Listing
Modified Sat Dec 19 00:29:40 2009 UTC (9 years, 5 months ago) by Chema
Original Path: users/chema/TINE
More bugs corrected. Seems planets are never too far now. Also made radar stick tops 3 pixels, instead of two.

Noted down more ideas on todolist.txt

Revision 174 - Directory Listing
Modified Mon Dec 14 12:29:24 2009 UTC (9 years, 6 months ago) by Chema
Original Path: users/chema/TINE
Ok. Many changes. Semi-working saving/loading with a test interface (not user-friendly). Also changed screens layouts to put the red frame on all of them. Solved a bug where going to galchart and back to sys info resulted in a wrong race description.

Other minor changes that I could not commit due to miniserve being down.

Revision 171 - Directory Listing
Modified Tue Nov 24 19:14:45 2009 UTC (9 years, 6 months ago) by Chema
Original Path: users/chema/TINE
Forgot to add the sound.s file!

Revision 170 - Directory Listing
Modified Tue Nov 24 19:00:38 2009 UTC (9 years, 6 months ago) by Chema
Original Path: users/chema/TINE
Fixed several things on tactics.s, completing the AI (at last!). Only thing left is that, according to TNK, an ANACONDA launches WORMS or SIDEWINDERS when angry at us, which is not done here. Will check with elite-agb.

Also made a version 2 for circle clipping (inlining cmp16 and pixel address) with a gain between 5-10% when the circle is near. That is quite good!

Revision 169 - Directory Listing
Modified Tue Nov 17 21:29:27 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Many details added. Fuel is now considered, as well as distance. Several things on the todo list have been done

Identification of ship types when targetting also included

Revision 168 - Directory Listing
Modified Sun Nov 8 22:01:59 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Added a first version of the light indicator for planet distance. Needs tweaking so it is updated when front view is loaded.

Also added a check for mass locked when trying to jump to hyper, and clearing the scanner when too far.

First attempt to produce sounds, but need to workout problems with pseudo-reg dumping. If we use a copy for updating only what has changed, it needs more work.


Revision 167 - Directory Listing
Modified Thu Oct 29 19:50:24 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Fixed problem with scanner, which was not drawn if at center and comming from other screen.

Revision 166 - Directory Listing
Modified Wed Oct 28 21:12:07 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Minor updates. Not corrupting when docking and not in front view, puting 100 as ZMIN, and print ship pos as dbug values.

Made lots of tests and noted down things in todolist.txt

Revision 164 - Directory Listing
Modified Thu Oct 22 19:07:29 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Pirates and bounties are created. Only thing left is setting their equipment.

Revision 163 - Directory Listing
Modified Thu Oct 22 10:51:37 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Generating shuttles and transports. Tweaked some randomizing.
Police is working (attacking a shuttle makes them angry).

Revision 162 - Directory Listing
Modified Wed Oct 21 19:06:03 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
More random encounters added. Even the skeleton for pirates, bounties and shuttles, though the chance is really low.

Police act as such, and now they (as every ship which deserves it) have the FLG_INNOCENT set. Added more to the AI, which is nearly completion.

Revision 161 - Directory Listing
Modified Tue Oct 20 21:24:14 2009 UTC (9 years, 7 months ago) by Chema
Original Path: users/chema/TINE
Still adding random encounters. Police, thargons (with thargoids) and cougars added.

Revision 160 - Directory Listing
Modified Tue Oct 13 20:11:09 2009 UTC (9 years, 8 months ago) by Chema
Original Path: users/chema/TINE
Started with dynamic creation of enemies, but something is bugged as dying gives problems (when restarting or never "gameovering")

Revision 159 - Directory Listing
Modified Wed Oct 7 17:31:52 2009 UTC (9 years, 8 months ago) by Chema
Original Path: users/chema/TINE
Minor fixes. On Hold instead of In Ship and gets length, for instance.

Revision 158 - Directory Listing
Added Wed Oct 7 11:46:14 2009 UTC (9 years, 8 months ago) by Chema
Original Path: users/chema/TINE
Last updates after video on youtube. Missiles corrected. Initialization of player's ship corrected.

  ViewVC Help
Powered by ViewVC 1.1.26