/[projet1]/users/chema/TINE/tineloop.s
Defence Force logotype

Log of /users/chema/TINE/tineloop.s

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 494)

Revision 192 - (view) (annotate) - [select for diffs]
Modified Sun Jan 10 22:31:20 2010 UTC (10 years, 2 months ago) by Chema
File length: 25642 byte(s)
Diff to previous 189
More modifications in the alternate scan thing. Also put back tables for player control of the ship.

Revision 189 - (view) (annotate) - [select for diffs]
Modified Sun Jan 10 20:53:00 2010 UTC (10 years, 2 months ago) by Chema
File length: 25594 byte(s)
Diff to previous 188
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 - (view) (annotate) - [select for diffs]
Modified Sat Jan 9 23:51:23 2010 UTC (10 years, 3 months ago) by Chema
File length: 24882 byte(s)
Diff to previous 187
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 - (view) (annotate) - [select for diffs]
Modified Fri Jan 8 23:16:38 2010 UTC (10 years, 3 months ago) by Chema
File length: 24097 byte(s)
Diff to previous 186
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 - (view) (annotate) - [select for diffs]
Modified Fri Jan 8 22:29:55 2010 UTC (10 years, 3 months ago) by Chema
File length: 24095 byte(s)
Diff to previous 185
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 - (view) (annotate) - [select for diffs]
Modified Thu Jan 7 23:35:24 2010 UTC (10 years, 3 months ago) by Chema
File length: 24095 byte(s)
Diff to previous 184
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 - (view) (annotate) - [select for diffs]
Modified Sat Jan 2 22:55:21 2010 UTC (10 years, 3 months ago) by Chema
File length: 23867 byte(s)
Diff to previous 183
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 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 20:54:12 2010 UTC (10 years, 3 months ago) by Chema
File length: 23539 byte(s)
Diff to previous 180
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 180 - (view) (annotate) - [select for diffs]
Modified Fri Dec 25 20:35:22 2009 UTC (10 years, 3 months ago) by Chema
File length: 23021 byte(s)
Diff to previous 179
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 - (view) (annotate) - [select for diffs]
Modified Thu Dec 24 16:36:15 2009 UTC (10 years, 3 months ago) by Chema
File length: 22486 byte(s)
Diff to previous 178
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 - (view) (annotate) - [select for diffs]
Modified Wed Dec 23 20:58:34 2009 UTC (10 years, 3 months ago) by Chema
File length: 22434 byte(s)
Diff to previous 177
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 - (view) (annotate) - [select for diffs]
Modified Tue Dec 22 19:21:26 2009 UTC (10 years, 3 months ago) by Chema
File length: 22304 byte(s)
Diff to previous 176
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 - (view) (annotate) - [select for diffs]
Modified Sun Dec 20 21:03:48 2009 UTC (10 years, 3 months ago) by Chema
File length: 22058 byte(s)
Diff to previous 174
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 174 - (view) (annotate) - [select for diffs]
Modified Mon Dec 14 12:29:24 2009 UTC (10 years, 3 months ago) by Chema
File length: 21121 byte(s)
Diff to previous 170
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 170 - (view) (annotate) - [select for diffs]
Modified Tue Nov 24 19:00:38 2009 UTC (10 years, 4 months ago) by Chema
File length: 20124 byte(s)
Diff to previous 169
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 - (view) (annotate) - [select for diffs]
Modified Tue Nov 17 21:29:27 2009 UTC (10 years, 4 months ago) by Chema
File length: 20054 byte(s)
Diff to previous 168
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 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 22:01:59 2009 UTC (10 years, 5 months ago) by Chema
File length: 19648 byte(s)
Diff to previous 167
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 - (view) (annotate) - [select for diffs]
Modified Thu Oct 29 19:50:24 2009 UTC (10 years, 5 months ago) by Chema
File length: 18771 byte(s)
Diff to previous 166
Fixed problem with scanner, which was not drawn if at center and comming from other screen.

Revision 166 - (view) (annotate) - [select for diffs]
Modified Wed Oct 28 21:12:07 2009 UTC (10 years, 5 months ago) by Chema
File length: 18593 byte(s)
Diff to previous 163
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 163 - (view) (annotate) - [select for diffs]
Modified Thu Oct 22 10:51:37 2009 UTC (10 years, 5 months ago) by Chema
File length: 18431 byte(s)
Diff to previous 161
Generating shuttles and transports. Tweaked some randomizing.
Police is working (attacking a shuttle makes them angry).

Revision 161 - (view) (annotate) - [select for diffs]
Modified Tue Oct 20 21:24:14 2009 UTC (10 years, 5 months ago) by Chema
File length: 18510 byte(s)
Diff to previous 160
Still adding random encounters. Police, thargons (with thargoids) and cougars added.

Revision 160 - (view) (annotate) - [select for diffs]
Modified Tue Oct 13 20:11:09 2009 UTC (10 years, 5 months ago) by Chema
File length: 18488 byte(s)
Diff to previous 158
Started with dynamic creation of enemies, but something is bugged as dying gives problems (when restarting or never "gameovering")

Revision 158 - (view) (annotate) - [select for diffs]
Added Wed Oct 7 11:46:14 2009 UTC (10 years, 6 months ago) by Chema
File length: 18327 byte(s)
Last updates after video on youtube. Missiles corrected. Initialization of player's ship corrected.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26