/[projet1]/users/chema
Defence Force logotype

Log of /users/chema

View Directory Listing Directory Listing


Sticky Revision:

Revision 830 - Directory Listing
Modified Mon May 28 08:03:11 2012 UTC (7 years, 6 months ago) by Chema
These work on my win64 box with latest OSDK

Revision 827 - Directory Listing
Modified Thu Apr 5 17:06:11 2012 UTC (7 years, 8 months ago) by Chema
loading instructions


Revision 826 - Directory Listing
Modified Thu Apr 5 16:46:26 2012 UTC (7 years, 8 months ago) by Chema
Minor change in the readme

Revision 825 - Directory Listing
Modified Thu Apr 5 16:30:41 2012 UTC (7 years, 8 months ago) by Chema
Added a readme file


Revision 824 - Directory Listing
Modified Tue Apr 3 21:17:22 2012 UTC (7 years, 8 months ago) by Chema
Issue when setting own names in specific cases (too long and deleting extra chars, left one byte different from zero, confusing the search_string routine).

Revision 823 - Directory Listing
Modified Tue Apr 3 19:09:08 2012 UTC (7 years, 8 months ago) by Chema
Adjusted limits when in Dinner.

Revision 822 - Directory Listing
Modified Sun Apr 1 19:54:18 2012 UTC (7 years, 8 months ago) by Chema
Adjusted locations for dinner time (were outside the dinner table)

Revision 821 - Directory Listing
Modified Fri Mar 30 18:52:51 2012 UTC (7 years, 8 months ago) by Chema
Added a check in set_hires to avoid switching to hires if already in this mode (to allow 100Hz users to do: HIRES:CLOAD"")

Revision 820 - Directory Listing
Modified Thu Mar 29 18:49:37 2012 UTC (7 years, 8 months ago) by Chema
Minor changes to tune volumes, small reorganization and new bell sound.

Revision 732 - Directory Listing
Modified Mon Nov 14 21:47:24 2011 UTC (8 years, 1 month ago) by Chema
Corrected Mr Rockitt anim_states (0-2)

Revision 725 - Directory Listing
Modified Tue Nov 8 21:13:18 2011 UTC (8 years, 1 month ago) by Chema
No lines when in demo mode.

Revision 724 - Directory Listing
Modified Tue Nov 8 00:07:31 2011 UTC (8 years, 1 month ago) by Chema
Spotted a bug in demo mode. Added to the todo.txt list

Revision 723 - Directory Listing
Modified Mon Nov 7 22:06:55 2011 UTC (8 years, 1 month ago) by Chema
Changed Personal timetable for Eric (same as little boy 11), to avoid him run the stampede script (which made him fall again and again when stampede playtime in demo mode)

Revision 722 - Directory Listing
Modified Mon Nov 7 14:04:59 2011 UTC (8 years, 1 month ago) by Chema
made an stupid mistake in the last moment in init.s at change_lesson


Revision 721 - Directory Listing
Modified Sat Nov 5 22:26:36 2011 UTC (8 years, 1 month ago) by Chema
Added Dbug's init screen :)
Solved the bug with the lesson (current_lesson_index went beyond 63)
Cleared the lesson box, so it does not keep saying "Demo - press..." when game starts.

Revision 720 - Directory Listing
Modified Sat Nov 5 15:23:35 2011 UTC (8 years, 1 month ago) by dbug
Added pictures with the new title and inlay graphics.

Revision 711 - Directory Listing
Modified Wed Nov 2 19:23:15 2011 UTC (8 years, 1 month ago) by Chema
Tweaking some timers


Revision 706 - Directory Listing
Modified Mon Oct 31 19:54:46 2011 UTC (8 years, 1 month ago) by Chema
More tweaks

Revision 703 - Directory Listing
Modified Fri Oct 28 10:49:26 2011 UTC (8 years, 1 month ago) by Chema
Adjusted timings (now just a little longer than the speccy version).
Removed remnants of code to make Eric walk fast with Shitf (which made him walk slow, as fast is the default), as I think it is unnecessary and gives me some bytes left.

Tested that the clearing blackboard bug was removed (at last!)

Revision 702 - Directory Listing
Modified Thu Oct 27 21:39:39 2011 UTC (8 years, 1 month ago) by Chema
Trying to solve the bug clearing the blackboard after Eric running... again :/

Revision 701 - Directory Listing
Modified Thu Oct 27 20:37:07 2011 UTC (8 years, 1 month ago) by Chema
Trying to fix the bug of little boy 10 getting the wrong anim sate when sat and start looking for Eric

Revision 700 - Directory Listing
Modified Wed Oct 26 18:37:07 2011 UTC (8 years, 1 month ago) by Chema
Minor changes. Used a good version of au claire as tune b, some code reorganizing to gain some bytes extra.

Revision 699 - Directory Listing
Modified Tue Oct 25 18:08:48 2011 UTC (8 years, 1 month ago) by Chema
Modified staircases to please Dbug :) Also solved the bug when sitting on the stairs and other minor changes. No mem left :(

Revision 698 - Directory Listing
Modified Tue Oct 25 16:50:03 2011 UTC (8 years, 1 month ago) by Chema
Solved a bug in the lesson 227 (MR ROCKITT - EXAM ROOM) (SkoolKid). Added sfx for A and C (too much memory for only that?) and SndStep when writting on blackboards (hardly noticeable)

Corrected a bug when audio is off.

Revision 697 - Directory Listing
Modified Mon Oct 24 21:22:26 2011 UTC (8 years, 1 month ago) by Chema
This is greater. I located the tiles with the stairs, just in case. And also added two cool options: C to change the color scheme and A to activate/deactivate audio.

Revision 693 - Directory Listing
Modified Sun Oct 23 20:56:52 2011 UTC (8 years, 1 month ago) by Chema
Nothing. Added CR/LF to the end of sound.h... dunno why.

Revision 692 - Directory Listing
Modified Sun Oct 23 19:27:05 2011 UTC (8 years, 1 month ago) by Chema
Solved a bug with the lines_delay counter, which was making teachers wait a lot before giving lines incorrectly. Adjusted this value. Also adjusted duration of classes. Still too long?
Changed the duration of the knock sound too.

Revision 691 - Directory Listing
Modified Sat Oct 22 22:12:49 2011 UTC (8 years, 1 month ago) by Chema
Testing variations on sfx.
Removed usage of the VIA timer to time frame... somehow it was not quite constant and seemed not the best option.

Revision 690 - Directory Listing
Modified Sat Oct 22 16:42:54 2011 UTC (8 years, 1 month ago) by Chema
Solved bug Dbug's spotted... It was related with speech_bubble_on not being initialized.

Testing a much shorter sfx for steps and reading VIA timer 2 for timing frames

Revision 689 - Directory Listing
Modified Thu Oct 20 19:05:21 2011 UTC (8 years, 1 month ago) by Chema
Solved the bug of twice erasing the blackboard. At last!

Revision 669 - Directory Listing
Modified Tue Oct 18 08:16:19 2011 UTC (8 years, 1 month ago) by Chema
Added EINSTEIN_LIES define to avoid him lying. Also updated todo.txt

Revision 668 - Directory Listing
Modified Mon Oct 17 11:12:47 2011 UTC (8 years, 2 months ago) by Chema
Solved a couple of bugs (I think). One is the dinner walkabouts being too lefty (need check). Updated todo.txt

Revision 665 - Directory Listing
Modified Sun Oct 16 21:12:26 2011 UTC (8 years, 2 months ago) by Chema
minor changes. The SndHit sounded when not hitting anybody in some occasions (related with interruptible subcommands).

Moved 7 characters per frame, which is multiple of 21, as 3. 6 wasn't).

Revision 664 - Directory Listing
Modified Sat Oct 15 20:56:24 2011 UTC (8 years, 2 months ago) by Chema
Added sounds when other chars hit people (there is a define OTHERS_DOSND) in params.h

Revision 663 - Directory Listing
Modified Sat Oct 15 17:08:58 2011 UTC (8 years, 2 months ago) by Chema
Solved a bug which prevented Mr Creak to recognize his year of birth from the blackboard.

Revision 662 - Directory Listing
Modified Sat Oct 15 15:31:02 2011 UTC (8 years, 2 months ago) by Chema
New init screen with df logo.

Revision 661 - Directory Listing
Modified Thu Oct 13 20:47:33 2011 UTC (8 years, 2 months ago) by Chema
More small touches (new colors on scorepanel, removed the b7w picture data between ifdefs, removed the define AVOID_ORICUTRON_BUG and touched some sfx)

Revision 660 - Directory Listing
Modified Thu Oct 13 18:48:13 2011 UTC (8 years, 2 months ago) by Chema
toying with color in scorepanel


Revision 659 - Directory Listing
Modified Thu Oct 13 17:05:15 2011 UTC (8 years, 2 months ago) by Chema
Several small changes with tunes, clock position, timing, capability of hitting shields from stairs, etc...

Revision 658 - Directory Listing
Modified Wed Oct 12 21:05:20 2011 UTC (8 years, 2 months ago) by Chema
Think I solved the bug in blackboard with the missing first chars

Hyrogen is now Hydrogen

Revision 657 - Directory Listing
Modified Tue Oct 11 21:46:19 2011 UTC (8 years, 2 months ago) by Chema
Added the trick to use brk and save over 140 bytes!

Revision 656 - Directory Listing
Modified Tue Oct 11 18:53:52 2011 UTC (8 years, 2 months ago) by Chema
Modified clock graphic. Still ugly anyway.

Revision 655 - Directory Listing
Modified Tue Oct 11 09:51:27 2011 UTC (8 years, 2 months ago) by Chema
Added clock and changed white room with clock room

Revision 654 - Directory Listing
Modified Mon Oct 10 20:03:18 2011 UTC (8 years, 2 months ago) by Chema
Corrected bug on initial class.

Revision 653 - Directory Listing
Modified Thu Oct 6 18:03:42 2011 UTC (8 years, 2 months ago) by Chema
Fixed a couple of bugs when jumping over other children. Increased the time they are laid down and correctly change the direction Eric is facing with left/right keys.

Revision 652 - Directory Listing
Modified Wed Oct 5 18:00:40 2011 UTC (8 years, 2 months ago) by Chema
Found a bug when entering own names (reusing tmp7, added a new zp variable for that)

Revision 651 - Directory Listing
Modified Tue Oct 4 20:37:56 2011 UTC (8 years, 2 months ago) by Chema
minor change


Revision 650 - Directory Listing
Modified Tue Oct 4 20:14:40 2011 UTC (8 years, 2 months ago) by Chema
Added a sound.h file with all the definitions, including one to put in or remove the 3rd tune (which is used when the player wins the game). Free space is reduced to 2 bytes :/

Revision 649 - Directory Listing
Modified Tue Oct 4 19:13:39 2011 UTC (8 years, 2 months ago) by Chema
Testing a end of game tune, but takes up nearly all the empty space

Revision 648 - Directory Listing
Modified Tue Oct 4 14:18:58 2011 UTC (8 years, 2 months ago) by Chema
Added bonus when hitting all shields or opening safe. Tested game finishing.

Revision 647 - Directory Listing
Modified Tue Oct 4 11:14:16 2011 UTC (8 years, 2 months ago) by Chema
Ugly solving of the bug where Eric was not put back to front after taking the stairs.

Revision 646 - Directory Listing
Modified Tue Oct 4 10:08:57 2011 UTC (8 years, 2 months ago) by Chema
At last! The game can be finished now :))))


Revision 645 - Directory Listing
Modified Thu Sep 29 10:42:54 2011 UTC (8 years, 2 months ago) by Chema
More bugs solved. Now points given when hitting a shield depend on the floor it is on. Eric is no more flagged as inside the exam room when he is near the door.

Inlined set/unset demo mode and commented the code on drawing order.

Revision 644 - Directory Listing
Modified Tue Sep 27 21:21:16 2011 UTC (8 years, 2 months ago) by Chema
Added filling with zeros the three lines of text in tail.s

Revision 643 - Directory Listing
Modified Tue Sep 27 19:04:20 2011 UTC (8 years, 2 months ago) by Chema
Attempt 1 to render characters correctly. There is one case in which Eric is not set back to front after going up/down stairs, due to using left/right instead of up/down

Revision 642 - Directory Listing
Modified Mon Sep 26 19:18:08 2011 UTC (8 years, 2 months ago) by Chema
Fixed the music issue. Fixed some bugs. Decreased the max speed of frame, increased the speed of speeches. Added control over firing and longer walkabouts...

Nice :)

Revision 641 - Directory Listing
Modified Sun Sep 25 22:08:42 2011 UTC (8 years, 2 months ago) by Chema
minor bugs found and some corrected.

Revision 636 - Directory Listing
Modified Fri Sep 23 20:37:09 2011 UTC (8 years, 2 months ago) by Chema
updated todo.txt


Revision 635 - Directory Listing
Modified Fri Sep 23 20:31:04 2011 UTC (8 years, 2 months ago) by Chema
Solved a bug when pressing an arrow when entering a new name.

Revision 634 - Directory Listing
Modified Fri Sep 23 18:57:53 2011 UTC (8 years, 2 months ago) by Chema
Added more sound and a way to finish the game (though tampering with the game mode as the shield cannot yet be opened)

Revision 633 - Directory Listing
Modified Fri Sep 23 15:21:01 2011 UTC (8 years, 2 months ago) by Chema
More sfx added.

Revision 632 - Directory Listing
Modified Thu Sep 22 17:21:27 2011 UTC (8 years, 2 months ago) by Chema
More tests...

Revision 631 - Directory Listing
Modified Wed Sep 21 21:20:27 2011 UTC (8 years, 2 months ago) by Chema
Testing sounds by ISRs... Still glitches...

Revision 630 - Directory Listing
Modified Wed Sep 21 10:00:52 2011 UTC (8 years, 2 months ago) by Chema
Testing sfx...

Revision 629 - Directory Listing
Modified Tue Sep 20 20:44:15 2011 UTC (8 years, 2 months ago) by Chema
Added a small part of Au Clair de Lune.

Revision 628 - Directory Listing
Modified Tue Sep 20 19:53:58 2011 UTC (8 years, 2 months ago) by Chema
sound.s file added (I forgot it)

Revision 627 - Directory Listing
Modified Tue Sep 20 18:25:51 2011 UTC (8 years, 2 months ago) by Chema
Song added. Still fat code, but works.

Revision 626 - Directory Listing
Modified Tue Sep 20 13:09:11 2011 UTC (8 years, 2 months ago) by Chema
Tidying things...

Revision 625 - Directory Listing
Modified Tue Sep 20 12:47:35 2011 UTC (8 years, 2 months ago) by Chema
Added textcomp.exe to the repository

Revision 624 - Directory Listing
Modified Tue Sep 20 12:46:53 2011 UTC (8 years, 2 months ago) by Chema
Attempt to use compressed text. Seems to work.

Revision 623 - Directory Listing
Modified Tue Sep 20 07:38:39 2011 UTC (8 years, 2 months ago) by Chema
Added Go up a year message, and some TODO comments

Revision 622 - Directory Listing
Modified Fri Sep 16 15:05:58 2011 UTC (8 years, 3 months ago) by Chema
Colored roof. Working with opening the safe.

Revision 621 - Directory Listing
Modified Fri Sep 16 10:43:40 2011 UTC (8 years, 3 months ago) by Chema
Nothing advanced here... toying with the gym

Revision 620 - Directory Listing
Modified Thu Sep 15 20:49:08 2011 UTC (8 years, 3 months ago) by Chema
Added code to make Mr Creak reveal his safe combination letter. Solved a couple of issues (one noted down in todo.txt) and tested you can hit all the shields and get on with the game.

Noted down that need to generate an ordered safe combination (MR Wacker first)

Revision 619 - Directory Listing
Modified Wed Sep 14 21:09:53 2011 UTC (8 years, 3 months ago) by Chema
Solved pellet collision issues with teachers. Also solved a nasty bug when looking for absent Eric which could be the origin of more strange bugs. Solved other minor issues.

Revision 618 - Directory Listing
Modified Wed Sep 14 10:43:28 2011 UTC (8 years, 3 months ago) by Chema
Trying to adjust collision of pellets with teachers

Revision 617 - Directory Listing
Modified Wed Sep 14 09:22:30 2011 UTC (8 years, 3 months ago) by Chema
Can hit shields jumping too. (Added a ping for testing)

Revision 616 - Directory Listing
Modified Tue Sep 13 23:22:03 2011 UTC (8 years, 3 months ago) by Chema
Now you can hit shields with the catapult and they are put upside-down.

Need to do something with the pellets and the fact that they are not centered...

Revision 615 - Directory Listing
Modified Tue Sep 13 11:10:27 2011 UTC (8 years, 3 months ago) by Chema
Each shield has now its independent tile

Revision 614 - Directory Listing
Modified Mon Sep 12 21:33:44 2011 UTC (8 years, 3 months ago) by Chema
Added a small "randomization" of the timetable in _init, but even if it is the one used by the speccy version, it is not very random...

Revision 613 - Directory Listing
Modified Mon Sep 12 21:04:23 2011 UTC (8 years, 3 months ago) by Chema
Back playtime at start of timetable. Need to randomize this a bit..

Revision 612 - Directory Listing
Modified Mon Sep 12 10:07:59 2011 UTC (8 years, 3 months ago) by Chema
More reordering and cleaning.

Revision 611 - Directory Listing
Modified Mon Sep 12 09:45:20 2011 UTC (8 years, 3 months ago) by Chema
some reorganization to gain over 200 bytes :)

Revision 610 - Directory Listing
Modified Sat Sep 10 23:40:26 2011 UTC (8 years, 3 months ago) by Chema
More bug hunting (Symoon's) and some of the ideas from Dbug included.

Revision 609 - Directory Listing
Modified Fri Sep 9 23:01:44 2011 UTC (8 years, 3 months ago) by Chema
More bugs solved

Revision 608 - Directory Listing
Modified Thu Sep 8 21:53:22 2011 UTC (8 years, 3 months ago) by Chema
More bugs spotted.

Revision 607 - Directory Listing
Modified Wed Sep 7 11:52:24 2011 UTC (8 years, 3 months ago) by Chema
The bug on which_way solved.

Revision 606 - Directory Listing
Modified Wed Sep 7 09:26:26 2011 UTC (8 years, 3 months ago) by Chema
more touches :)


Revision 605 - Directory Listing
Modified Wed Sep 7 08:21:49 2011 UTC (8 years, 3 months ago) by Chema
retouched graphics, coloured map.

Revision 604 - Directory Listing
Modified Tue Sep 6 21:23:50 2011 UTC (8 years, 3 months ago) by Chema
removed bug where initially the paper was CYAN/GREEN instead of CYAN/YELLOW

Revision 603 - Directory Listing
Modified Tue Sep 6 17:50:09 2011 UTC (8 years, 3 months ago) by Chema
HUGE work to include some color. Spotted another bug.

Revision 602 - Directory Listing
Modified Fri Sep 2 18:53:59 2011 UTC (8 years, 3 months ago) by Chema
Solved a couple of bugs and added scrolling to first screen render.

Revision 601 - Directory Listing
Modified Fri Sep 2 17:19:46 2011 UTC (8 years, 3 months ago) by Chema
Now you can enter your own names.

Revision 600 - Directory Listing
Modified Fri Sep 2 12:48:33 2011 UTC (8 years, 3 months ago) by Chema
First version of the catwalk. Still does not ask to change names, but the characters make their presentation :)

Revision 599 - Directory Listing
Modified Thu Sep 1 21:21:36 2011 UTC (8 years, 3 months ago) by Chema
Preliminary attempt for a squared speech bubble. #defined out, as it did not look very good. Spotted a bug with pellets not being removed at the left end of the school. Noted in todo.txt

Revision 598 - Directory Listing
Modified Thu Sep 1 17:47:01 2011 UTC (8 years, 3 months ago) by Chema
Minor changes

Revision 597 - Directory Listing
Modified Thu Sep 1 17:31:48 2011 UTC (8 years, 3 months ago) by Chema
Colorized shields by hand (tedious). Fairly good result, but not automatic.

Revision 596 - Directory Listing
Modified Thu Sep 1 15:46:18 2011 UTC (8 years, 3 months ago) by Chema
Tests for compression of text. Not worth it yet. Disabled

Revision 595 - Directory Listing
Modified Thu Sep 1 09:47:44 2011 UTC (8 years, 3 months ago) by Chema
Testing alternate coloring

Revision 594 - Directory Listing
Modified Wed Aug 31 21:42:08 2011 UTC (8 years, 3 months ago) by Chema
White bubbles (with a define)! Text looks a bit strange, though.
Also removed the fat x8 table and have now >1K free.

Revision 593 - Directory Listing
Modified Wed Aug 31 19:37:47 2011 UTC (8 years, 3 months ago) by Chema
Dinner time bug solved (check_Eric_loc corrupted tmp0). Score and hi-score increasing in demo mode also solved.

Revision 592 - Directory Listing
Modified Wed Aug 31 19:26:19 2011 UTC (8 years, 3 months ago) by Chema
Checking bug from office

Revision 589 - Directory Listing
Modified Wed Aug 31 08:51:29 2011 UTC (8 years, 3 months ago) by Chema
Solved two nasty bugs. Removed the flashing in the border at the beginning of the game

Revision 588 - Directory Listing
Modified Tue Aug 30 15:57:12 2011 UTC (8 years, 3 months ago) by Chema
Revealing safe letters implemented. Tidy some of the related code. Reorganizing files, now over 500 bytes free.

Revision 587 - Directory Listing
Modified Tue Aug 30 12:46:48 2011 UTC (8 years, 3 months ago) by Chema
Scrolling two columns in a row. It is much faster, but no more scrolling 9 columns, but 8 (4x2). Seems valid, though.

Tried with 3 (the scroll blazed), but seemed rough and had problems with the final column not being shown.

Revision 586 - Directory Listing
Modified Tue Aug 30 10:47:25 2011 UTC (8 years, 3 months ago) by Chema
Just before trying to deal with the first two columns not showing

Revision 585 - Directory Listing
Modified Mon Aug 29 21:11:10 2011 UTC (8 years, 3 months ago) by Chema
Stampedes implemented. Also small optimization in the routines to deliver messages to Eric.

Spotted a bug: the first two scan columns are not displayed (they are protected due to attributes)

Revision 584 - Directory Listing
Modified Sun Aug 28 21:15:08 2011 UTC (8 years, 3 months ago) by Chema
Symoon's graphic added :), experimenting with border flashing.

Revision 583 - Directory Listing
Modified Sat Aug 27 22:59:24 2011 UTC (8 years, 3 months ago) by Chema
more advances... corrected a bug in the event system and the mumps duty now works. It is possible to do some border effects by setting the inverse bit on the attributes... not coded yet, but the next thing to do.

Revision 580 - Directory Listing
Modified Thu Aug 25 16:44:54 2011 UTC (8 years, 3 months ago) by Chema
Many many changes and updates from my vacation period :)

Revision 563 - Directory Listing
Modified Mon Jul 11 17:09:16 2011 UTC (8 years, 5 months ago) by Chema
Solved 2 minor bugs... the 13 Library, instead of REVISION LIBRARY and the bad initialization after restarting (causing Eric to fall).

Revision 562 - Directory Listing
Modified Thu Jul 7 16:36:50 2011 UTC (8 years, 5 months ago) by Chema
minor change


Revision 561 - Directory Listing
Modified Fri Jul 1 12:15:24 2011 UTC (8 years, 5 months ago) by Chema
minor tests

Revision 560 - Directory Listing
Modified Wed Jun 29 21:29:52 2011 UTC (8 years, 5 months ago) by Chema
Solved the bug with the attribute corruption (the X became negative after subtracting the first column and the comparison failed). Also changed a bit the point at which the scroll is done, but the result is not as expected. Put two more calls to must_move, which seems to speedup the game...

Revision 559 - Directory Listing
Modified Thu Jun 23 18:22:07 2011 UTC (8 years, 5 months ago) by Chema
Minor bug where teachers sometimes asked for writing an essay without having written on the blackboard. 
Spotted another bug where attributes are overwritten (probably update_SRB is the cause).

Revision 558 - Directory Listing
Modified Thu Jun 23 16:53:40 2011 UTC (8 years, 5 months ago) by Chema
Teachers wipe and write on the blackboard!

Revision 557 - Directory Listing
Modified Thu Jun 23 12:21:54 2011 UTC (8 years, 5 months ago) by Chema
Trying to make teachers wipe the blackboards... still not working...

Revision 556 - Directory Listing
Modified Wed Jun 22 18:55:05 2011 UTC (8 years, 5 months ago) by Chema
Now Boy Wander writes on blackboards! Should be easy to make teachers write too. The strings have been added, again putting the code size above 36K :(

Found a bug with the location of the bubble lip (see todo.txt)

Revision 555 - Directory Listing
Modified Tue Jun 21 18:21:19 2011 UTC (8 years, 5 months ago) by Chema
First dirty version to write things on blackboards...

Revision 554 - Directory Listing
Modified Mon Jun 20 18:24:39 2011 UTC (8 years, 5 months ago) by Chema
Added the new 6-bit tile background.

Corrected an error in getting a return adress from the stack and setting into the current command for teachers while they wait for Einstein to finish answering questions.

Revision 539 - Directory Listing
Modified Wed Jun 15 20:59:38 2011 UTC (8 years, 6 months ago) by Chema
Now Einstein grass on Eric's absence during class (though this has no effect yet). A lot of work and debugging here...

Re-organized some memory, but my attempt to put the HiresAddress tables on 200 and 400 did not work (!).

Revision 538 - Directory Listing
Modified Tue Jun 14 22:00:35 2011 UTC (8 years, 6 months ago) by Chema
Solved a bug in the visibility range
Also added code to make corrections on the bubble location when used for reprimand boxes (previous kludge was not working)

Revision 537 - Directory Listing
Modified Tue Jun 14 19:36:43 2011 UTC (8 years, 6 months ago) by Chema
Corrected yet another bug I introduced in the reprimand receiver.
Added computation of lines and score.

Revision 536 - Directory Listing
Modified Tue Jun 14 18:42:06 2011 UTC (8 years, 6 months ago) by Chema
Solved a bug I introduced, where the speak turn was not respected (causing trouble with bubbles and text). Also avoid Angelface hitting seated people.

Tried an asl after randgen to see if carry is more random.

Moved the reprimand box down when the teacher is on the floor

Revision 534 - Directory Listing
Modified Mon Jun 13 20:46:31 2011 UTC (8 years, 6 months ago) by Chema
reprimands to the closest kid by a knocked down teacher added. Some other minor things corrected.

Also Eric can sit on the floor and on the stairs.

Revision 533 - Directory Listing
Modified Sun Jun 12 20:06:23 2011 UTC (8 years, 6 months ago) by Chema
minor changes... an uncolor box routine and moved some tables to data.s

Revision 532 - Directory Listing
Modified Sun Jun 12 15:57:45 2011 UTC (8 years, 6 months ago) by Chema
First attempt to include reprimands. for now only an inversed block (no picture). Working for Eric hitting or firing, but the system should work for the rest of the cases. All the strings are in.

Still needs tweaking and I need to re-order and optimize things to reduce size, which is now >36K

Revision 531 - Directory Listing
Modified Thu Jun 9 21:19:30 2011 UTC (8 years, 6 months ago) by Chema
First step towards adding reprimands. Angelface and Boy Wander do not hit or fire if a teacher can see them. Eric is punished if seen hitting or firing (though no messages are being issued yet)

Seems like I broke something and Angelface hits nobody :/

Revision 530 - Directory Listing
Modified Thu Jun 9 09:23:18 2011 UTC (8 years, 6 months ago) by Chema
Added demo mode at last!

Revision 529 - Directory Listing
Modified Wed Jun 8 19:54:26 2011 UTC (8 years, 6 months ago) by Chema
Pellets are now fast (a problem in the initial flags)

Revision 528 - Directory Listing
Modified Wed Jun 8 19:31:08 2011 UTC (8 years, 6 months ago) by Chema
Solved one bug (corruption of the speech bubble) and found the reason for another (two boys shearing a chair).

Revision 525 - Directory Listing
Modified Wed Jun 8 09:56:54 2011 UTC (8 years, 6 months ago) by Chema
Added a todo list, now with just some bugs to correct

Revision 524 - Directory Listing
Modified Tue Jun 7 18:23:43 2011 UTC (8 years, 6 months ago) by Chema
Now also Boy Wander fires pellets...
Tidied some code up too.
There are tables (related with keyboard reading mostly - process_user_input and keyboard.s) which should be moved to data.s

Revision 523 - Directory Listing
Modified Tue Jun 7 10:38:20 2011 UTC (8 years, 6 months ago) by Chema
Well, Eric can now fire the catapult and the pellet knocks kids and teachers... and it bounces up!

there are issues with walls and bounces in teacher's heads (the pellet seems displaced from the head of the teacher when fired at his back).

Revision 522 - Directory Listing
Modified Mon Jun 6 19:00:58 2011 UTC (8 years, 6 months ago) by Chema
Now Eric can fire pellets, though they only travel horizontally and do not hit anybody. Also need to tweak the collision with walls, which is not symmetric...

Included the initial animatory states and the initial scrolling.

Revision 521 - Directory Listing
Modified Fri Jun 3 15:58:56 2011 UTC (8 years, 6 months ago) by Chema
First attempt to make Eric fire a pellet. The pellet is not fired, but the animation is done. I also tidy up some code. Some should be reused to make Boy Wander fire his catapult too!

Need to work out the control of the pellet's flight.

Also need to add code to initialize the character's initial position and anim states.

Revision 520 - Directory Listing
Modified Thu Jun 2 19:31:46 2011 UTC (8 years, 6 months ago) by Chema
Now you can also hit people :)

Revision 519 - Directory Listing
Modified Wed Jun 1 20:38:22 2011 UTC (8 years, 6 months ago) by Chema
Now angelface's punches really hit people down... though I have not been able to see if he also can hit Eric. Maybe the distance for throwing a punch or hitting (4 and 3) must be tweaked?

Revision 518 - Directory Listing
Modified Wed Jun 1 16:39:31 2011 UTC (8 years, 6 months ago) by Chema
Angelface now gives punches (but noone receives them yet). Fixed a problem with continuous subcommands when installed from script.

Revision 517 - Directory Listing
Modified Fri May 27 20:38:01 2011 UTC (8 years, 6 months ago) by Chema
Reorganized some routines into the files.

Revision 516 - Directory Listing
Modified Fri May 27 19:04:57 2011 UTC (8 years, 6 months ago) by Chema
Just relocated some tables... still a lot of work to do in this field...

Revision 515 - Directory Listing
Modified Fri May 27 09:49:11 2011 UTC (8 years, 6 months ago) by Chema
Okay, now the questions and answers seem correct and working. Need to check, though, because I think I saw an incorrect answer in one multiplication (it's 2).

The code is getting big, but there are some tables which could be relocated. Still some test code (namely a bcs/bcc to make q&a mandatory).

Revision 514 - Directory Listing
Modified Thu May 26 18:50:08 2011 UTC (8 years, 6 months ago) by Chema
Made a few changes this time. Completed the math-type question (what is X x Y? Please... it's Z), though it is the only kind of question which is working right now. Also corrected the position of the speech_bubble for Einstein.

Had to add a few routines to deal with number-crunching.

Revision 511 - Directory Listing
Modified Wed May 25 21:04:48 2011 UTC (8 years, 6 months ago) by Chema
Many small changes (including the addition of lesson_status and lesson_signals flagbytes). Also a first attempt for question/answer sessions is done, though with many testing inside (just dummy messages by now and a bcs/bcc to minimize the number of "start reading"). But the strings are there and the whole system seems to work.

Revision 510 - Directory Listing
Modified Tue May 24 20:45:44 2011 UTC (8 years, 6 months ago) by Chema
Solved a couple of issues, added quite a lot of work towards the logic of the class duty. Now only messages when NOT teaching Eric (and not dynamic yet) are issued, but the layout is there...

Revision 509 - Directory Listing
Modified Tue May 24 17:05:48 2011 UTC (8 years, 6 months ago) by Chema
minor changes, including one in engine.s (move_chars) where the IS_SLOW_WALK flag was never reset when compiling with AVOID_ORICUTRON_BUG

Revision 508 - Directory Listing
Modified Mon May 23 19:16:42 2011 UTC (8 years, 6 months ago) by Chema
Preliminary test version...

Revision 507 - Directory Listing
Modified Mon May 23 19:06:49 2011 UTC (8 years, 6 months ago) by Chema


Revision 506 - Directory Listing
Modified Mon May 23 19:04:13 2011 UTC (8 years, 6 months ago) by Chema


Revision 505 - Directory Listing
Modified Mon May 23 19:03:43 2011 UTC (8 years, 6 months ago) by Chema


Revision 504 - Directory Listing
Modified Mon May 23 19:03:12 2011 UTC (8 years, 6 months ago) by Chema


Revision 503 - Directory Listing
Modified Mon May 23 19:02:59 2011 UTC (8 years, 6 months ago) by Chema


Revision 502 - Directory Listing
Modified Mon May 23 19:02:32 2011 UTC (8 years, 6 months ago) by Chema


Revision 501 - Directory Listing
Modified Mon May 23 19:00:55 2011 UTC (8 years, 6 months ago) by Chema


Revision 500 - Directory Listing
Modified Mon May 23 18:58:50 2011 UTC (8 years, 6 months ago) by Chema
New project... experimenting with a skool-daze clone

Revision 499 - Directory Listing
Modified Mon May 23 18:58:10 2011 UTC (8 years, 6 months ago) by Chema


Revision 498 - Directory Listing
Modified Mon May 23 18:57:40 2011 UTC (8 years, 6 months ago) by Chema
Distribution


Revision 497 - Directory Listing
Modified Mon May 23 18:57:16 2011 UTC (8 years, 6 months ago) by Chema


Revision 496 - Directory Listing
Modified Mon May 23 18:53:23 2011 UTC (8 years, 6 months ago) by Chema
New location

Revision 495 - Directory Listing
Modified Mon May 23 18:53:05 2011 UTC (8 years, 6 months ago) by Chema
Moving to new location


Revision 494 - Directory Listing
Modified Mon May 23 18:52:38 2011 UTC (8 years, 6 months ago) by Chema
New main folder


Revision 493 - Directory Listing
Modified Mon May 23 18:52:12 2011 UTC (8 years, 6 months ago) by Chema
Old version

Revision 492 - Directory Listing
Modified Mon May 23 18:50:36 2011 UTC (8 years, 6 months ago) by Chema
Old version... unused

Revision 418 - Directory Listing
Modified Fri Oct 29 10:34:49 2010 UTC (9 years, 1 month ago) by Chema
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 (9 years, 1 month ago) by Chema
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 416 - Directory Listing
Modified Thu Oct 21 18:21:49 2010 UTC (9 years, 1 month ago) by Chema
First attempt with .dsb directive to allingh fdc register addresses... :(

Revision 415 - Directory Listing
Modified Sun Oct 10 18:50:18 2010 UTC (9 years, 2 months ago) by Chema
"Message Ends" typo corrected (was "Mesage Ends"). Internal version 1.13

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

Revision 413 - Directory Listing
Modified Sat Oct 9 16:05:37 2010 UTC (9 years, 2 months ago) by Chema
More attempts to make the telestrat work. Now it loads, but very slowly... disabling interrupts in LoadOverlay...

Revision 412 - Directory Listing
Modified Thu Oct 7 20:50:23 2010 UTC (9 years, 2 months ago) by dbug
Added Stormlord

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

Revision 410 - Directory Listing
Modified Sat Oct 2 10:20:01 2010 UTC (9 years, 2 months ago) by Chema
Changed the code in reboot oric related which was selecting drive D, and failing on a Telestrat.

Revision 409 - Directory Listing
Modified Wed Sep 29 20:36:40 2010 UTC (9 years, 2 months ago) by Chema
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 408 - Directory Listing
Modified Wed Sep 29 20:35:35 2010 UTC (9 years, 2 months ago) by Chema
support for telestrat. Changed incompatibilities when switching overlay and accessing the via in the random routine. Still not rebooting correctly even when I changed the jmp to ($fffc).

Revision 407 - Directory Listing
Modified Mon Sep 27 19:34:44 2010 UTC (9 years, 2 months ago) by Chema
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 (9 years, 2 months ago) by Chema
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 (9 years, 2 months ago) by Chema
bug in saving with no slot selected has been corrected.

Revision 403 - Directory Listing
Modified Sat Sep 18 22:01:16 2010 UTC (9 years, 2 months ago) by Chema
Attempt to correct the bug with cargo space increasing "randomly"

Revision 402 - Directory Listing
Modified Fri Sep 17 09:38:36 2010 UTC (9 years, 3 months ago) by Chema
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 (9 years, 3 months ago) by Chema
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 (9 years, 3 months ago) by Chema
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 (9 years, 3 months ago) by Chema
serious bug found by shaun in buy equip code (?)

Revision 398 - Directory Listing
Modified Thu Sep 9 20:39:59 2010 UTC (9 years, 3 months ago) by Chema
Added v1.00 to inist

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

Revision 396 - Directory Listing
Modified Tue Sep 7 11:30:59 2010 UTC (9 years, 3 months ago) by Chema
Latest intro

Revision 395 - Directory Listing
Modified Tue Sep 7 11:30:42 2010 UTC (9 years, 3 months ago) by Chema
Intro text changed, following Symoon's observations.

Revision 394 - Directory Listing
Modified Mon Sep 6 20:27:46 2010 UTC (9 years, 3 months ago) by Chema
Back to full speed music

Revision 393 - Directory Listing
Modified Mon Sep 6 19:09:18 2010 UTC (9 years, 3 months ago) by Chema
Tweaked the "encounter..." text so it keeps while scrolling starfield up

Revision 392 - Directory Listing
Modified Mon Sep 6 19:09:05 2010 UTC (9 years, 3 months ago) by Chema
Last version of INTRO.tap

Revision 391 - Directory Listing
Modified Mon Sep 6 17:30:06 2010 UTC (9 years, 3 months ago) by Chema
new intro

Revision 390 - Directory Listing
Modified Mon Sep 6 17:22:30 2010 UTC (9 years, 3 months ago) by Chema
More (final?) tweaks, changed the "An exclusive..", and put starfield back on 1337 logo and starwars crawl...

Revision 389 - Directory Listing
Modified Mon Sep 6 07:56:11 2010 UTC (9 years, 3 months ago) by Chema
More final tweaks.


Revision 388 - Directory Listing
Modified Sun Sep 5 20:39:08 2010 UTC (9 years, 3 months ago) by Chema
More changes. Better texture, merged Credits

Revision 387 - Directory Listing
Modified Sun Sep 5 16:39:43 2010 UTC (9 years, 3 months ago) by Chema
more tweaks... removed starfield in 1337 logo :( so it looks better for the scroller

Revision 386 - Directory Listing
Modified Sun Sep 5 15:55:41 2010 UTC (9 years, 3 months ago) by Chema
new text, timing adjusted (a bit)

Revision 385 - Directory Listing
Modified Sun Sep 5 11:54:43 2010 UTC (9 years, 3 months ago) by Chema
starwars scroller added, but not tweaked text nor timings...

Revision 384 - Directory Listing
Modified Thu Sep 2 08:56:43 2010 UTC (9 years, 3 months ago) by Chema
added balancing to the mamba

Revision 383 - Directory Listing
Modified Wed Sep 1 12:14:00 2010 UTC (9 years, 3 months ago) by Chema
Timings adjusted and other minor changes...

Revision 382 - Directory Listing
Modified Tue Aug 31 21:16:49 2010 UTC (9 years, 3 months ago) by Chema
Latest intro added

Revision 381 - Directory Listing
Modified Tue Aug 31 21:08:12 2010 UTC (9 years, 3 months ago) by Chema
Dbug's variation to the effect


Revision 380 - Directory Listing
Modified Tue Aug 31 20:30:52 2010 UTC (9 years, 3 months ago) by Chema
logo tweaked


Revision 379 - Directory Listing
Modified Tue Aug 31 10:21:36 2010 UTC (9 years, 3 months ago) by Chema
1337 rotating logo added.

Revision 378 - Directory Listing
Modified Mon Aug 30 20:46:03 2010 UTC (9 years, 3 months ago) by Chema
Trying to upload the intro sources into repository...


Revision 377 - Directory Listing
Modified Mon Aug 30 20:42:40 2010 UTC (9 years, 3 months ago) by Chema
intro sources for the game 1337


Revision 376 - Directory Listing
Modified Mon Aug 30 20:22:16 2010 UTC (9 years, 3 months ago) by Chema
Added final (easy) mission (mission11.s)


Revision 375 - Directory Listing
Modified Thu Aug 26 20:27:10 2010 UTC (9 years, 3 months ago) by Chema
Latest changes with intro included.


Revision 369 - Directory Listing
Modified Mon Jul 26 11:15:13 2010 UTC (9 years, 4 months ago) by Chema
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 (9 years, 4 months ago) by Chema
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 (9 years, 4 months ago) by Chema
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 (9 years, 4 months ago) by Chema
Added the new items as mission rewards.

Revision 364 - Directory Listing
Modified Mon Jul 12 22:22:06 2010 UTC (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
Found the bug with circles in 3rd ships' hypespace jump. :)

Revision 362 - Directory Listing
Modified Sun Jul 11 18:23:29 2010 UTC (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
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 (9 years, 5 months ago) by Chema
hermits added to game (tested too).

Revision 354 - Directory Listing
Modified Sun Jun 27 19:32:47 2010 UTC (9 years, 5 months ago) by Chema
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 350 - Directory Listing
Modified Tue Jun 22 12:05:53 2010 UTC (9 years, 5 months ago) by Chema
Old alpha version

Revision 349 - Directory Listing
Modified Tue Jun 22 12:05:02 2010 UTC (9 years, 5 months ago) by Chema
First Beta Release!

Revision 348 - Directory Listing
Modified Tue Jun 22 12:03:34 2010 UTC (9 years, 5 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
Mission5 added and tested. Should work out balance anyway...


Revision 335 - Directory Listing
Modified Fri Jun 4 19:03:24 2010 UTC (9 years, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 6 months ago) by Chema
Mission 1 (4) tested and fixed (both alternatives)

Revision 328 - Directory Listing
Modified Wed May 26 18:42:26 2010 UTC (9 years, 6 months ago) by Chema
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, 6 months ago) by Chema
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, 7 months ago) by Chema
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, 7 months ago) by Chema
Firs mission added

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


Revision 312 - Directory Listing
Modified Tue Apr 27 10:48:18 2010 UTC (9 years, 7 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, 7 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, 7 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, 7 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, 7 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 months ago) by Chema
More things on missions done.

Revision 300 - Directory Listing
Modified Sun Feb 28 21:37:12 2010 UTC (9 years, 9 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, 9 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, 9 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, 9 months ago) by Chema
more tweaks... Removed launching worms...

Revision 296 - Directory Listing
Modified Sun Feb 21 23:10:06 2010 UTC (9 years, 9 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, 9 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, 9 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, 10 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, 10 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, 10 months ago) by Chema
buggy clipping??

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

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

Revision 250 - Directory Listing
Modified Fri Feb 5 22:05:50 2010 UTC (9 years, 10 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, 10 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, 10 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, 10 months ago) by Chema
after problems with svn

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


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


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


Revision 235 - Directory Listing
Modified Wed Feb 3 17:06:27 2010 UTC (9 years, 10 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, 10 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, 10 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 221 - Directory Listing
Modified Mon Feb 1 16:14:32 2010 UTC (9 years, 10 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 216 - Directory Listing
Modified Thu Jan 28 12:32:15 2010 UTC (9 years, 10 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, 10 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, 10 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 212 - Directory Listing
Modified Mon Jan 25 21:34:06 2010 UTC (9 years, 10 months ago) by Chema
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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 months ago) by Chema
?

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


Revision 189 - Directory Listing
Modified Sun Jan 10 20:53:00 2010 UTC (9 years, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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 (10 years 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 171 - Directory Listing
Modified Tue Nov 24 19:14:45 2009 UTC (10 years ago) by Chema
Forgot to add the sound.s file!

Revision 170 - Directory Listing
Modified Tue Nov 24 19:00:38 2009 UTC (10 years 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 2 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, 2 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, 2 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, 2 months ago) by Chema
Wrong update


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


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


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

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

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


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


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


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

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


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


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


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


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


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

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

Revision 112 - Directory Listing
Modified Tue Jun 23 16:00:08 2009 UTC (10 years, 5 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, 5 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, 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 102 - Directory Listing
Modified Wed Jun 17 09:09:38 2009 UTC (10 years, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 months ago) by Chema
Missile hit added

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


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


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


Revision 77 - Directory Listing
Modified Wed May 27 11:12:14 2009 UTC (10 years, 6 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 (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