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

Log of /users/chema/TINE/oobj3d/obj3d.s

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 354 - (view) (annotate) - [select for diffs]
Modified Sun Jun 27 19:32:47 2010 UTC (9 years, 9 months ago) by Chema
File length: 37899 byte(s)
Diff to previous 306
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 306 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 12:27:23 2010 UTC (10 years ago) by Chema
File length: 37606 byte(s)
Diff to previous 297
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 297 - (view) (annotate) - [select for diffs]
Modified Mon Feb 22 11:03:31 2010 UTC (10 years, 1 month ago) by Chema
File length: 37488 byte(s)
Diff to previous 296
more tweaks... Removed launching worms...

Revision 296 - (view) (annotate) - [select for diffs]
Modified Sun Feb 21 23:10:06 2010 UTC (10 years, 1 month ago) by Chema
File length: 37252 byte(s)
Diff to previous 286
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 286 - (view) (annotate) - [select for diffs]
Modified Sun Feb 14 21:16:58 2010 UTC (10 years, 1 month ago) by Chema
File length: 38392 byte(s)
Diff to previous 274
buggy clipping??

Revision 274 - (view) (annotate) - [select for diffs]
Modified Fri Feb 12 17:53:00 2010 UTC (10 years, 1 month ago) by Chema
File length: 38388 byte(s)
Diff to previous 271
Cleaned up some part of the code. Tried another method to generate laser vertices...

Revision 271 - (view) (annotate) - [select for diffs]
Modified Wed Feb 10 19:53:33 2010 UTC (10 years, 1 month ago) by Chema
File length: 38523 byte(s)
Diff to previous 266
Minor changes. Optimized prepare_normals with SMULT. Changed some jsr/rts to two jmps in obj3d.s

Revision 266 - (view) (annotate) - [select for diffs]
Modified Mon Feb 8 22:12:53 2010 UTC (10 years, 2 months ago) by Chema
File length: 35393 byte(s)
Diff to previous 250
many small changes and bug huntings. Newest line routine, removed clearing the laser vertices from the main loop...

Revision 250 - (view) (annotate) - [select for diffs]
Modified Fri Feb 5 22:05:50 2010 UTC (10 years, 2 months ago) by Chema
File length: 35292 byte(s)
Diff to previous 240
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 240 - (view) (annotate) - [select for diffs]
Modified Wed Feb 3 21:35:27 2010 UTC (10 years, 2 months ago) by Chema
File length: 36135 byte(s)
Diff to previous 216


Revision 216 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 12:32:15 2010 UTC (10 years, 2 months ago) by Chema
File length: 36135 byte(s)
Diff to previous 215
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 - (view) (annotate) - [select for diffs]
Modified Wed Jan 27 22:17:03 2010 UTC (10 years, 2 months ago) by Chema
File length: 35035 byte(s)
Diff to previous 199
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 199 - (view) (annotate) - [select for diffs]
Modified Tue Jan 19 22:13:21 2010 UTC (10 years, 2 months ago) by Chema
File length: 35450 byte(s)
Diff to previous 198
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 - (view) (annotate) - [select for diffs]
Modified Mon Jan 18 17:21:16 2010 UTC (10 years, 2 months ago) by Chema
File length: 35021 byte(s)
Diff to previous 185
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 185 - (view) (annotate) - [select for diffs]
Modified Thu Jan 7 23:35:24 2010 UTC (10 years, 3 months ago) by Chema
File length: 35019 byte(s)
Diff to previous 183
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 183 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 20:54:12 2010 UTC (10 years, 3 months ago) by Chema
File length: 33228 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: 33248 byte(s)
Diff to previous 178
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 178 - (view) (annotate) - [select for diffs]
Modified Wed Dec 23 20:58:34 2009 UTC (10 years, 3 months ago) by Chema
File length: 33248 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: 33241 byte(s)
Diff to previous 167
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 167 - (view) (annotate) - [select for diffs]
Modified Thu Oct 29 19:50:24 2009 UTC (10 years, 5 months ago) by Chema
File length: 33241 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: 33237 byte(s)
Diff to previous 160
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 160 - (view) (annotate) - [select for diffs]
Modified Tue Oct 13 20:11:09 2009 UTC (10 years, 5 months ago) by Chema
File length: 33236 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: 33234 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