/[projet1]/users/chema
Defence Force logotype

Log of /users/chema

View Directory Listing Directory Listing


Sticky Revision:

Revision 170 - Directory Listing
Modified Tue Nov 24 19:00:38 2009 UTC (10 years, 4 months ago) by Chema
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 (10 years, 4 months ago) by Chema
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 (10 years, 4 months ago) by Chema
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 (10 years, 5 months ago) by Chema
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 (10 years, 5 months ago) by Chema
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 (10 years, 5 months ago) by Chema
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 (10 years, 5 months ago) by Chema
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 (10 years, 5 months ago) by Chema
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 (10 years, 5 months ago) by Chema
Still adding random encounters. Police, thargons (with thargoids) and cougars added.

Revision 160 - Directory Listing
Modified Tue Oct 13 20:11:09 2009 UTC (10 years, 5 months ago) by Chema
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 (10 years, 5 months ago) by Chema
Minor fixes. On Hold instead of In Ship and gets length, for instance.

Revision 158 - Directory Listing
Modified Wed Oct 7 11:46:14 2009 UTC (10 years, 6 months ago) by Chema
Last updates after video on youtube. Missiles corrected. Initialization of player's ship corrected.

Revision 157 - Directory Listing
Modified Wed Oct 7 11:43:18 2009 UTC (10 years, 6 months ago) by Chema
Wrong update


Revision 156 - Directory Listing
Modified Mon Oct 5 14:42:47 2009 UTC (10 years, 6 months ago) by Chema


Revision 155 - Directory Listing
Modified Mon Oct 5 14:41:11 2009 UTC (10 years, 6 months ago) by Chema
TINE project. Main working version with disk support.

Revision 154 - Directory Listing
Modified Mon Sep 7 20:38:27 2009 UTC (10 years, 6 months ago) by Chema
Last changes just before activating overlay ram

Revision 152 - Directory Listing
Modified Fri Sep 4 16:26:46 2009 UTC (10 years, 7 months ago) by Chema


Revision 151 - Directory Listing
Modified Mon Aug 31 19:04:23 2009 UTC (10 years, 7 months ago) by Chema
Equipment working (not very satisfactory).
Also working on a way to implement rear-views (now pressing H). Still bugged.

Revision 150 - Directory Listing
Modified Wed Aug 26 17:50:14 2009 UTC (10 years, 7 months ago) by Chema
Working in buying equipment but not satisfactory yet. Problems when upgrading lasers. Maybe not let the player downgrade is a better idea. Also several cases missing, items that you cannot fit appearing...

And it is already a big routine!!

Revision 149 - Directory Listing
Modified Mon Aug 24 18:03:53 2009 UTC (10 years, 7 months ago) by Chema
Work made during august

Revision 141 - Directory Listing
Modified Wed Aug 5 21:42:12 2009 UTC (10 years, 8 months ago) by Chema
Kill values added

Revision 140 - Directory Listing
Modified Tue Aug 4 22:12:23 2009 UTC (10 years, 8 months ago) by Chema
Inflight messages (first alpha) working. Missiles now have to lock, and can be launched by enemies. Enemies can dock into planets.

Added build directory to the project.

Revision 139 - Directory Listing
Modified Sun Aug 2 15:03:31 2009 UTC (10 years, 8 months ago) by Chema
Docking ready. Ships are located differently when hyperspacing and when leaving a planet. Checked several systems and galaxies to see that everything seemed to work.

Market and Equip ship are not accessible if not docked. However a message should be displayed?

Also when creating I tried to make the ship rotate a while as a nice effect. Does not seem to work very good, though.

Revision 138 - Directory Listing
Modified Fri Jul 31 21:54:30 2009 UTC (10 years, 8 months ago) by Chema
Made planets and moons smaller. Also made moon distance smaller.
Tweaked a few things, but not many

Revision 137 - Directory Listing
Modified Fri Jul 31 11:58:22 2009 UTC (10 years, 8 months ago) by Chema
First approach to compass done. Tweaked initial position to avoid errors with planet locations (Teen). Seems it needs to be below $6000 approximately...

Need to tweak moon positions... they are too far.

Revision 136 - Directory Listing
Modified Thu Jul 30 20:56:05 2009 UTC (10 years, 8 months ago) by Chema
Solved (partially) problems with planets... Done some of the things on the todo list (such as the draw4lines routine, adding the frame, check for not drawing circles if they are outside the clipping region, and ohers).

Added a first version of the compass (though just plotting a pixel now).

Revision 135 - Directory Listing
Modified Wed Jul 29 17:39:02 2009 UTC (10 years, 8 months ago) by Chema
Many small changes. Frame is drawn. Moons created and drawn. Solved a bug in obj3d for planets and moons when calculating visibility for very far objects (some bcc)

Many other minor things and bugs solved.

Revision 134 - Directory Listing
Modified Mon Jul 27 18:26:55 2009 UTC (10 years, 8 months ago) by Chema
Search planet implemented.
Other minor changes to equipment and other small details.

Revision 133 - Directory Listing
Modified Mon Jul 27 17:40:56 2009 UTC (10 years, 8 months ago) by Chema


Revision 132 - Directory Listing
Modified Mon Jul 27 17:40:27 2009 UTC (10 years, 8 months ago) by Chema


Revision 131 - Directory Listing
Modified Mon Jul 27 17:39:38 2009 UTC (10 years, 8 months ago) by Chema


Revision 130 - Directory Listing
Modified Mon Jul 27 17:34:49 2009 UTC (10 years, 8 months ago) by Chema
Last attempt to upload a merged version...

Revision 129 - Directory Listing
Modified Mon Jul 27 17:33:16 2009 UTC (10 years, 8 months ago) by Chema
Shipdata updated

Revision 128 - Directory Listing
Modified Mon Jul 27 17:32:07 2009 UTC (10 years, 8 months ago) by Chema
Last attempt to have a merge folder


Revision 127 - Directory Listing
Modified Mon Jul 27 17:31:18 2009 UTC (10 years, 8 months ago) by Chema


Revision 125 - Directory Listing
Modified Tue Jul 7 19:03:16 2009 UTC (10 years, 9 months ago) by Chema


Revision 124 - Directory Listing
Modified Tue Jul 7 19:02:21 2009 UTC (10 years, 9 months ago) by Chema
Merged version


Revision 123 - Directory Listing
Modified Tue Jul 7 19:02:01 2009 UTC (10 years, 9 months ago) by Chema


Revision 122 - Directory Listing
Modified Fri Jul 3 12:00:57 2009 UTC (10 years, 9 months ago) by Chema


Revision 121 - Directory Listing
Modified Fri Jul 3 11:56:43 2009 UTC (10 years, 9 months ago) by Chema
Merged files

Revision 120 - Directory Listing
Modified Fri Jul 3 11:52:41 2009 UTC (10 years, 9 months ago) by Chema
Merged version at last! Zillions of bugs, but a good start.
Removed unused models and used the double-buffer space to store the controls to save some bytes.

Also added the variable double_buff and a switch_double_buff routine and other minor changes (pixel_address_real and _GenerateTables) to handle switching double-buffering on and off. Just initial tests to see if they worked.

Revision 119 - Directory Listing
Modified Fri Jul 3 11:51:59 2009 UTC (10 years, 9 months ago) by Chema
Merged version at last! Zillions of bugs, but a good start.
Removed unused models and used the double-buffer space to store the controls to save some bytes.

Also added the variable double_buff and a switch_double_buff routine and other minor changes (pixel_address_real and _GenerateTables) to handle switching double-buffering on and off. Just initial tests to see if they worked.

Revision 118 - Directory Listing
Modified Tue Jun 30 14:14:35 2009 UTC (10 years, 9 months ago) by Chema
More work on equipment. Now the lists show correctly, taking techlevel into account. Still need to workout how to buy equipment. Removed the 'Z' option in elitegal.c to avoid the scanf and saved nearly 1k of code!

Revision 117 - Directory Listing
Modified Sun Jun 28 21:35:29 2009 UTC (10 years, 9 months ago) by Chema
General info screen works including equipment as a two byte set of flags. First attempt (uncompleted) to include an "equip ship" screen. Still in work... just shows the list of items, being it incorrect (fuel and missiles are not treated appart) and not selectable. Also techlevel is not taken into account, but the general skeleton is done.

Also changed jump() to be in asm and included de #define SCR_EQUIP.

Revision 116 - Directory Listing
Modified Wed Jun 24 17:51:28 2009 UTC (10 years, 9 months ago) by Chema
Ok. Buy and sell is complete, including checking the cash. Had to add routines to handle long (4-byte) numbers.

Touched the sources so itoa is not called anymore, instead, there is an itoa2 function, which calls ltoa and works for unsigned numbers.

Revision 115 - Directory Listing
Modified Wed Jun 24 15:39:13 2009 UTC (10 years, 9 months ago) by Chema
First attempt to make market work. It is working ok, but for the cash, which is not processed :(

Need a long_to_ascii routine and other companions to deal with 4-byte player's cash.

Revision 114 - Directory Listing
Modified Wed Jun 24 09:59:39 2009 UTC (10 years, 9 months ago) by Chema
Tried to put all functs that should already exist in tine in a single file


Revision 113 - Directory Listing
Modified Tue Jun 23 17:38:04 2009 UTC (10 years, 9 months ago) by Chema
Added galactic hyperspace.

Revision 112 - Directory Listing
Modified Tue Jun 23 16:00:08 2009 UTC (10 years, 9 months ago) by Chema
It seems that (at last) long and short charts work properly and are completed. I also included two arrows in the charset for the scrolling.

Many little changes and bug-hunting here and there.

Revision 111 - Directory Listing
Modified Mon Jun 22 16:59:07 2009 UTC (10 years, 9 months ago) by Chema
Charts nearly work. Long chart has scroll. Frames and titles are drawn. The only problem is keeping the hyperspace system between charts, which is not working properly.



Revision 105 - Directory Listing
Modified Fri Jun 19 11:55:37 2009 UTC (10 years, 9 months ago) by Chema
Trying to make the long_chart scroll, but still buggy (cursor is not updated correctly).

Revision 104 - Directory Listing
Modified Thu Jun 18 18:11:20 2009 UTC (10 years, 9 months ago) by Chema
short-range chart is working (quasi). Selection of planets with the cursor also works, snapping to the correct planet.

Needs some modifications to work on galactic charts and also NOT using the itoa function, which works only for signed integers.

Revision 102 - Directory Listing
Modified Wed Jun 17 09:09:38 2009 UTC (10 years, 9 months ago) by Chema
Added first attempts for short and long range charts

Revision 99 - Directory Listing
Modified Mon Jun 15 18:56:41 2009 UTC (10 years, 9 months ago) by Chema
Changed the collision code handle_collisions (in tactics.s) so that damage is now energy/2. Also the ship gets angry at us.

Revision 98 - Directory Listing
Modified Fri Jun 12 17:22:11 2009 UTC (10 years, 9 months ago) by Chema
A couple of small modifications in params.h and main.c (defines check)

Revision 97 - Directory Listing
Modified Thu Jun 11 10:38:38 2009 UTC (10 years, 9 months ago) by Chema
Touched the AI, also shrinked down memory usage in oobj3d.

Lasers are drawn, even if may be incorrect when vertices are not projected.

Revision 96 - Directory Listing
Modified Thu Jun 4 18:37:51 2009 UTC (10 years, 10 months ago) by Chema
Tweaked a couple of bugs, where debris and platelets after explosion did not move. Fixed several LaunchShipFromOther where the fact that the ship could not be created (reg X=0) was not checked.

Reduced the maximum of ships to save space.

Revision 95 - Directory Listing
Modified Thu Jun 4 16:01:19 2009 UTC (10 years, 10 months ago) by Chema
First private combat (no lasers drawn, though). Many changes in tactics.s and tinefuncs.s

In tactics.s there is a routine called AIMain where all the AI is implemented (equivalently to tactics in tactics.c in AGB sources). This is called just for objects with the IS_AICONTROLLED flag set in ai_state flags. The approach_tactics function in AGB is here called fly_to_ship. Splitted fly_to_vector in get_attack_angle and fly_to_vector_final and touched others to conform this.

The second ship (ID3) goes towards the first one (ID2) and shoots, that makes the first get angry and they engage in combat.

Revision 94 - Directory Listing
Modified Wed Jun 3 10:10:33 2009 UTC (10 years, 10 months ago) by Chema
Tested the normalization process and the dot product. Works OK.
Patched the _norm_big function (tinefuncs.s) to deal with vector lengths of zero (seems useless, but...)
Changed rotz with roty in fly_to_vector (tinefuncs.s) and AI works perfectly... now missiles are LETHAL.
Seems that radar stops workig properly once the objective is destroyed... need to check if it is related with MAXSHIPS or what.

Revision 93 - Directory Listing
Modified Tue Jun 2 11:21:47 2009 UTC (10 years, 10 months ago) by Chema
Playing with fly_to_pos... trying to get a better AI

Revision 92 - Directory Listing
Modified Mon Jun 1 19:08:39 2009 UTC (10 years, 10 months ago) by Chema
Missile hit added

Revision 80 - Directory Listing
Modified Wed May 27 11:16:04 2009 UTC (10 years, 10 months ago) by Chema


Revision 79 - Directory Listing
Modified Wed May 27 11:15:06 2009 UTC (10 years, 10 months ago) by Chema
Universe generator (testing)


Revision 78 - Directory Listing
Modified Wed May 27 11:14:00 2009 UTC (10 years, 10 months ago) by Chema


Revision 77 - Directory Listing
Modified Wed May 27 11:12:14 2009 UTC (10 years, 10 months ago) by Chema
Developlent of a 3D space game, Elite-like

Revision 2 - Directory Listing
Added Tue Feb 17 18:49:20 2009 UTC (11 years, 1 month ago) by (unknown author)
Added some folders to get a little bit of structure.

  ViewVC Help
Powered by ViewVC 1.1.26