/[projet1]/users
Defence Force logotype

Log of /users

View Directory Listing Directory Listing


Sticky Revision:

Revision 316 - Directory Listing
Modified Wed Apr 28 11:31:35 2010 UTC (9 years, 6 months ago) by Chema
minor changes to keyboard routine


Revision 312 - Directory Listing
Modified Tue Apr 27 10:48:18 2010 UTC (9 years, 6 months ago) by Chema
Keyboard routine corrected (?) but still with some delay which can be removed (?)

Revision 311 - Directory Listing
Modified Thu Apr 22 18:53:27 2010 UTC (9 years, 6 months ago) by Chema
Here goes the latest build of 1337 as well as the manuals.

Be careful, it is still a work in progress.

Revision 310 - Directory Listing
Modified Thu Apr 22 18:51:42 2010 UTC (9 years, 6 months ago) by Chema
Here goes the latest build of the game and manuals.

Revision 309 - Directory Listing
Modified Thu Apr 22 18:18:41 2010 UTC (9 years, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 8 months ago) by Chema
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, 8 months ago) by Chema
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, 8 months ago) by Chema
More tweaks in the mission system. 

Revision 304 - Directory Listing
Modified Mon Mar 8 20:03:53 2010 UTC (9 years, 8 months ago) by Chema
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, 8 months ago) by Chema
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, 8 months ago) by Chema
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, 8 months ago) by Chema
More things on missions done.

Revision 300 - Directory Listing
Modified Sun Feb 28 21:37:12 2010 UTC (9 years, 8 months ago) by Chema
first version of missions at last!

Revision 299 - Directory Listing
Modified Wed Feb 24 12:25:29 2010 UTC (9 years, 8 months ago) by Chema
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, 8 months ago) by Chema
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, 8 months ago) by Chema
more tweaks... Removed launching worms...

Revision 296 - Directory Listing
Modified Sun Feb 21 23:10:06 2010 UTC (9 years, 8 months ago) by Chema
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, 8 months ago) by Chema
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, 8 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
Added target change for compass...

Revision 290 - Directory Listing
Modified Tue Feb 16 17:04:22 2010 UTC (9 years, 9 months ago) by Chema
minor updates

Revision 289 - Directory Listing
Modified Mon Feb 15 14:22:16 2010 UTC (9 years, 9 months ago) by Chema
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, 9 months ago) by Chema
New line routine. Corrected the laser vertex for ships

Revision 286 - Directory Listing
Modified Sun Feb 14 21:16:58 2010 UTC (9 years, 9 months ago) by Chema
buggy clipping??

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

Revision 284 - Directory Listing
Modified Sun Feb 14 20:02:19 2010 UTC (9 years, 9 months ago) by Chema
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 282 - Directory Listing
Modified Sun Feb 14 17:46:26 2010 UTC (9 years, 9 months ago) by dbug
Updated the profiler with some more information about what happens.

Revision 276 - Directory Listing
Modified Fri Feb 12 23:42:59 2010 UTC (9 years, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
New line routine (thanks thust26!)

Revision 250 - Directory Listing
Modified Fri Feb 5 22:05:50 2010 UTC (9 years, 9 months ago) by Chema
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, 9 months ago) by Chema
Added new circle version from Dbug...

Revision 245 - Directory Listing
Modified Thu Feb 4 22:41:54 2010 UTC (9 years, 9 months ago) by Chema
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, 9 months ago) by Chema
after problems with svn

Revision 240 - Directory Listing
Modified Wed Feb 3 21:35:27 2010 UTC (9 years, 9 months ago) by Chema


Revision 239 - Directory Listing
Modified Wed Feb 3 21:32:24 2010 UTC (9 years, 9 months ago) by Chema


Revision 238 - Directory Listing
Modified Wed Feb 3 21:25:16 2010 UTC (9 years, 9 months ago) by Chema
remove this


Revision 235 - Directory Listing
Modified Wed Feb 3 17:06:27 2010 UTC (9 years, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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 222 - Directory Listing
Modified Mon Feb 1 21:47:27 2010 UTC (9 years, 9 months ago) by dbug
Fixed (hopefully) the raster bug, moved up to 649

Revision 221 - Directory Listing
Modified Mon Feb 1 16:14:32 2010 UTC (9 years, 9 months ago) by Chema
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 220 - Directory Listing
Modified Sun Jan 31 20:43:50 2010 UTC (9 years, 9 months ago) by dbug
Down to 644 now

Revision 219 - Directory Listing
Modified Sun Jan 31 19:32:43 2010 UTC (9 years, 9 months ago) by dbug
Added a third routine to the benchmark, the Mike 8 which is a 8 bit version of the old routine.
Performance wise, the test is done on the three routines with the same lines:
- BASIC:  2276
- Mike 16: 796
- Mike 8:  676
Guess it can be optimized again, the gain is not that impressive :(

Revision 218 - Directory Listing
Modified Sat Jan 30 23:14:12 2010 UTC (9 years, 9 months ago) by dbug
8 bit line routine

Revision 217 - Directory Listing
Modified Sat Jan 30 19:32:51 2010 UTC (9 years, 9 months ago) by dbug
Added first support for assembler code in the profiler.
The final listing can now also handle actual names :)

Revision 216 - Directory Listing
Modified Thu Jan 28 12:32:15 2010 UTC (9 years, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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 213 - Directory Listing
Modified Tue Jan 26 20:46:30 2010 UTC (9 years, 9 months ago) by dbug
Updated the profiler with a more reasonable example

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

Revision 211 - Directory Listing
Modified Mon Jan 25 19:59:07 2010 UTC (9 years, 9 months ago) by dbug
Added a first rough version of the profiler - not optimized at all, still very much work in progress, does work only with C, please be patient.

Revision 210 - Directory Listing
Modified Mon Jan 25 17:49:04 2010 UTC (9 years, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 9 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
?

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


Revision 189 - Directory Listing
Modified Sun Jan 10 20:53:00 2010 UTC (9 years, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 10 months ago) by Chema
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, 11 months ago) by Chema
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, 11 months ago) by Chema
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 173 - Directory Listing
Modified Sun Dec 6 00:36:50 2009 UTC (9 years, 11 months ago) by mmu_man
Add the Alchimie 2k9 invitro sources, hopefully all required to build.


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

Revision 170 - Directory Listing
Modified Tue Nov 24 19:00:38 2009 UTC (9 years, 11 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 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 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 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 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 165 - Directory Listing
Modified Sun Oct 25 12:48:20 2009 UTC (10 years ago) by waskol


Revision 164 - Directory Listing
Modified Thu Oct 22 19:07:29 2009 UTC (10 years 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 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 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 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, 1 month 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, 1 month 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, 1 month 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, 1 month ago) by Chema
Wrong update


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


Revision 155 - Directory Listing
Modified Mon Oct 5 14:41:11 2009 UTC (10 years, 1 month 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, 2 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, 2 months ago) by Chema


Revision 151 - Directory Listing
Modified Mon Aug 31 19:04:23 2009 UTC (10 years, 2 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, 2 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, 2 months ago) by Chema
Work made during august

Revision 143 - Directory Listing
Modified Sat Aug 8 15:16:11 2009 UTC (10 years, 3 months ago) by Twilighte
Latest version of wurlde added to svn

Revision 142 - Directory Listing
Modified Sat Aug 8 14:43:46 2009 UTC (10 years, 3 months ago) by Twilighte
Swiv is the working title of Otype. A shootemup for the Oric. This is the first published version

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

Revision 140 - Directory Listing
Modified Tue Aug 4 22:12:23 2009 UTC (10 years, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 months ago) by Chema


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


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


Revision 130 - Directory Listing
Modified Mon Jul 27 17:34:49 2009 UTC (10 years, 3 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, 3 months ago) by Chema
Shipdata updated

Revision 128 - Directory Listing
Modified Mon Jul 27 17:32:07 2009 UTC (10 years, 3 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, 3 months ago) by Chema


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


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


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


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


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

Revision 120 - Directory Listing
Modified Fri Jul 3 11:52:41 2009 UTC (10 years, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 months ago) by Chema
Added galactic hyperspace.

Revision 112 - Directory Listing
Modified Tue Jun 23 16:00:08 2009 UTC (10 years, 4 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, 4 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 110 - Directory Listing
Modified Sat Jun 20 15:46:26 2009 UTC (10 years, 5 months ago) by waskol


Revision 109 - Directory Listing
Modified Sat Jun 20 14:20:18 2009 UTC (10 years, 5 months ago) by waskol


Revision 108 - Directory Listing
Modified Sat Jun 20 14:18:57 2009 UTC (10 years, 5 months ago) by waskol


Revision 105 - Directory Listing
Modified Fri Jun 19 11:55:37 2009 UTC (10 years, 5 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, 5 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 103 - Directory Listing
Modified Wed Jun 17 17:44:55 2009 UTC (10 years, 5 months ago) by dbug
Added Miri and Waskol to the list of users, each with a own folder

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

Revision 101 - Directory Listing
Modified Tue Jun 16 17:55:03 2009 UTC (10 years, 5 months ago) by miri


Revision 100 - Directory Listing
Modified Tue Jun 16 16:46:54 2009 UTC (10 years, 5 months ago) by miri
First version of Hello World - MiriSDL

Revision 99 - Directory Listing
Modified Mon Jun 15 18:56:41 2009 UTC (10 years, 5 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, 5 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, 5 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, 5 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, 5 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, 5 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, 5 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, 5 months ago) by Chema
Missile hit added

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


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


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


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

Revision 52 - Directory Listing
Modified Thu Apr 16 18:30:22 2009 UTC (10 years, 7 months ago) by dbug
Added the source code for the bitmap tunnel effect.

Revision 51 - Directory Listing
Modified Sun Mar 29 11:19:38 2009 UTC (10 years, 7 months ago) by dbug
Added the 'double buffered sinus' demo

Revision 49 - Directory Listing
Modified Sun Mar 29 10:49:58 2009 UTC (10 years, 7 months ago) by dbug
Added Cyclotron, a 4k arcade game based on Light Cycles

Revision 47 - Directory Listing
Modified Sun Mar 29 10:11:59 2009 UTC (10 years, 7 months ago) by dbug
Added 4k kong to the repository.


Revision 46 - Directory Listing
Modified Wed Mar 25 21:32:32 2009 UTC (10 years, 7 months ago) by dbug
Added PolyBench and LineBench

Revision 45 - Directory Listing
Modified Thu Mar 12 19:35:47 2009 UTC (10 years, 8 months ago) by mmu_man
Fix png name


Revision 44 - Directory Listing
Modified Thu Mar 12 19:34:41 2009 UTC (10 years, 8 months ago) by mmu_man
- remove debug stuff
- fix default charset
- better output file naming


Revision 43 - Directory Listing
Modified Thu Mar 12 18:47:39 2009 UTC (10 years, 8 months ago) by mmu_man
Shell script that generates ORIC usable font data from a TTF file. Work in progress.


Revision 23 - Directory Listing
Modified Fri Feb 27 00:44:50 2009 UTC (10 years, 8 months ago) by mmu_man
SEDORIC disassembly kit. This requires tap2bin,  CC65 disassembler and sed to generate XA sources. The indent is to get a clean labeled source to work from and add Jasmin support.


Revision 17 - Directory Listing
Modified Sun Feb 22 19:54:35 2009 UTC (10 years, 8 months ago) by dbug
Added a 256 bytes demo (never released)

Revision 10 - Directory Listing
Modified Thu Feb 19 19:58:34 2009 UTC (10 years, 8 months ago) by dbug


Revision 6 - Directory Listing
Modified Wed Feb 18 21:05:54 2009 UTC (10 years, 9 months ago) by mmu_man
Add TODO


Revision 3 - Directory Listing
Modified Tue Feb 17 20:27:38 2009 UTC (10 years, 9 months ago) by (unknown author)
Add myself...


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

  ViewVC Help
Powered by ViewVC 1.1.26