/[projet1]/users/chema/skooldaze/script.s
Defence Force logotype

Log of /users/chema/skooldaze/script.s

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 651 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 20:37:56 2011 UTC (8 years, 7 months ago) by Chema
File length: 89204 byte(s)
Diff to previous 650
minor change


Revision 650 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 20:14:40 2011 UTC (8 years, 7 months ago) by Chema
File length: 89203 byte(s)
Diff to previous 649
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 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 19:13:39 2011 UTC (8 years, 7 months ago) by Chema
File length: 89150 byte(s)
Diff to previous 648
Testing a end of game tune, but takes up nearly all the empty space

Revision 648 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 14:18:58 2011 UTC (8 years, 7 months ago) by Chema
File length: 89144 byte(s)
Diff to previous 646
Added bonus when hitting all shields or opening safe. Tested game finishing.

Revision 646 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 10:08:57 2011 UTC (8 years, 7 months ago) by Chema
File length: 89010 byte(s)
Diff to previous 645
At last! The game can be finished now :))))


Revision 645 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 10:42:54 2011 UTC (8 years, 7 months ago) by Chema
File length: 88480 byte(s)
Diff to previous 643
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 643 - (view) (annotate) - [select for diffs]
Modified Tue Sep 27 19:04:20 2011 UTC (8 years, 8 months ago) by Chema
File length: 88394 byte(s)
Diff to previous 642
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 - (view) (annotate) - [select for diffs]
Modified Mon Sep 26 19:18:08 2011 UTC (8 years, 8 months ago) by Chema
File length: 88239 byte(s)
Diff to previous 634
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 634 - (view) (annotate) - [select for diffs]
Modified Fri Sep 23 18:57:53 2011 UTC (8 years, 8 months ago) by Chema
File length: 88067 byte(s)
Diff to previous 633
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 - (view) (annotate) - [select for diffs]
Modified Fri Sep 23 15:21:01 2011 UTC (8 years, 8 months ago) by Chema
File length: 87507 byte(s)
Diff to previous 631
More sfx added.

Revision 631 - (view) (annotate) - [select for diffs]
Modified Wed Sep 21 21:20:27 2011 UTC (8 years, 8 months ago) by Chema
File length: 87450 byte(s)
Diff to previous 627
Testing sounds by ISRs... Still glitches...

Revision 627 - (view) (annotate) - [select for diffs]
Modified Tue Sep 20 18:25:51 2011 UTC (8 years, 8 months ago) by Chema
File length: 87431 byte(s)
Diff to previous 623
Song added. Still fat code, but works.

Revision 623 - (view) (annotate) - [select for diffs]
Modified Tue Sep 20 07:38:39 2011 UTC (8 years, 8 months ago) by Chema
File length: 87370 byte(s)
Diff to previous 622
Added Go up a year message, and some TODO comments

Revision 622 - (view) (annotate) - [select for diffs]
Modified Fri Sep 16 15:05:58 2011 UTC (8 years, 8 months ago) by Chema
File length: 87325 byte(s)
Diff to previous 620
Colored roof. Working with opening the safe.

Revision 620 - (view) (annotate) - [select for diffs]
Modified Thu Sep 15 20:49:08 2011 UTC (8 years, 8 months ago) by Chema
File length: 86687 byte(s)
Diff to previous 619
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 - (view) (annotate) - [select for diffs]
Modified Wed Sep 14 21:09:53 2011 UTC (8 years, 8 months ago) by Chema
File length: 85420 byte(s)
Diff to previous 618
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 - (view) (annotate) - [select for diffs]
Modified Wed Sep 14 10:43:28 2011 UTC (8 years, 8 months ago) by Chema
File length: 85327 byte(s)
Diff to previous 617
Trying to adjust collision of pellets with teachers

Revision 617 - (view) (annotate) - [select for diffs]
Modified Wed Sep 14 09:22:30 2011 UTC (8 years, 8 months ago) by Chema
File length: 85145 byte(s)
Diff to previous 616
Can hit shields jumping too. (Added a ping for testing)

Revision 616 - (view) (annotate) - [select for diffs]
Modified Tue Sep 13 23:22:03 2011 UTC (8 years, 8 months ago) by Chema
File length: 84791 byte(s)
Diff to previous 610
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 610 - (view) (annotate) - [select for diffs]
Modified Sat Sep 10 23:40:26 2011 UTC (8 years, 8 months ago) by Chema
File length: 83522 byte(s)
Diff to previous 609
More bug hunting (Symoon's) and some of the ideas from Dbug included.

Revision 609 - (view) (annotate) - [select for diffs]
Modified Fri Sep 9 23:01:44 2011 UTC (8 years, 8 months ago) by Chema
File length: 83760 byte(s)
Diff to previous 607
More bugs solved

Revision 607 - (view) (annotate) - [select for diffs]
Modified Wed Sep 7 11:52:24 2011 UTC (8 years, 8 months ago) by Chema
File length: 83800 byte(s)
Diff to previous 602
The bug on which_way solved.

Revision 602 - (view) (annotate) - [select for diffs]
Modified Fri Sep 2 18:53:59 2011 UTC (8 years, 8 months ago) by Chema
File length: 83776 byte(s)
Diff to previous 597
Solved a couple of bugs and added scrolling to first screen render.

Revision 597 - (view) (annotate) - [select for diffs]
Modified Thu Sep 1 17:31:48 2011 UTC (8 years, 8 months ago) by Chema
File length: 83772 byte(s)
Diff to previous 593
Colorized shields by hand (tedious). Fairly good result, but not automatic.

Revision 593 - (view) (annotate) - [select for diffs]
Modified Wed Aug 31 19:37:47 2011 UTC (8 years, 8 months ago) by Chema
File length: 83728 byte(s)
Diff to previous 586
Dinner time bug solved (check_Eric_loc corrupted tmp0). Score and hi-score increasing in demo mode also solved.

Revision 586 - (view) (annotate) - [select for diffs]
Modified Tue Aug 30 10:47:25 2011 UTC (8 years, 8 months ago) by Chema
File length: 83723 byte(s)
Diff to previous 585
Just before trying to deal with the first two columns not showing

Revision 585 - (view) (annotate) - [select for diffs]
Modified Mon Aug 29 21:11:10 2011 UTC (8 years, 8 months ago) by Chema
File length: 83713 byte(s)
Diff to previous 583
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 583 - (view) (annotate) - [select for diffs]
Modified Sat Aug 27 22:59:24 2011 UTC (8 years, 9 months ago) by Chema
File length: 80599 byte(s)
Diff to previous 580
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 - (view) (annotate) - [select for diffs]
Modified Thu Aug 25 16:44:54 2011 UTC (8 years, 9 months ago) by Chema
File length: 79321 byte(s)
Diff to previous 561
Many many changes and updates from my vacation period :)

Revision 561 - (view) (annotate) - [select for diffs]
Modified Fri Jul 1 12:15:24 2011 UTC (8 years, 10 months ago) by Chema
File length: 59794 byte(s)
Diff to previous 559
minor tests

Revision 559 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 18:22:07 2011 UTC (8 years, 11 months ago) by Chema
File length: 59756 byte(s)
Diff to previous 558
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 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 16:53:40 2011 UTC (8 years, 11 months ago) by Chema
File length: 59668 byte(s)
Diff to previous 557
Teachers wipe and write on the blackboard!

Revision 557 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 12:21:54 2011 UTC (8 years, 11 months ago) by Chema
File length: 59014 byte(s)
Diff to previous 556
Trying to make teachers wipe the blackboards... still not working...

Revision 556 - (view) (annotate) - [select for diffs]
Modified Wed Jun 22 18:55:05 2011 UTC (8 years, 11 months ago) by Chema
File length: 55196 byte(s)
Diff to previous 554
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 554 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 18:24:39 2011 UTC (8 years, 11 months ago) by Chema
File length: 53620 byte(s)
Diff to previous 539
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 - (view) (annotate) - [select for diffs]
Modified Wed Jun 15 20:59:38 2011 UTC (8 years, 11 months ago) by Chema
File length: 52950 byte(s)
Diff to previous 537
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 537 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 19:36:43 2011 UTC (8 years, 11 months ago) by Chema
File length: 51564 byte(s)
Diff to previous 536
Corrected yet another bug I introduced in the reprimand receiver.
Added computation of lines and score.

Revision 536 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 18:42:06 2011 UTC (8 years, 11 months ago) by Chema
File length: 51471 byte(s)
Diff to previous 534
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 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 20:46:31 2011 UTC (8 years, 11 months ago) by Chema
File length: 51412 byte(s)
Diff to previous 533
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 - (view) (annotate) - [select for diffs]
Modified Sun Jun 12 20:06:23 2011 UTC (8 years, 11 months ago) by Chema
File length: 51416 byte(s)
Diff to previous 531
minor changes... an uncolor box routine and moved some tables to data.s

Revision 531 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 21:19:30 2011 UTC (8 years, 11 months ago) by Chema
File length: 51505 byte(s)
Diff to previous 530
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 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 09:23:18 2011 UTC (8 years, 11 months ago) by Chema
File length: 51509 byte(s)
Diff to previous 529
Added demo mode at last!

Revision 529 - (view) (annotate) - [select for diffs]
Modified Wed Jun 8 19:54:26 2011 UTC (8 years, 11 months ago) by Chema
File length: 51346 byte(s)
Diff to previous 528
Pellets are now fast (a problem in the initial flags)

Revision 528 - (view) (annotate) - [select for diffs]
Modified Wed Jun 8 19:31:08 2011 UTC (8 years, 11 months ago) by Chema
File length: 51526 byte(s)
Diff to previous 524
Solved one bug (corruption of the speech bubble) and found the reason for another (two boys shearing a chair).

Revision 524 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 18:23:43 2011 UTC (8 years, 11 months ago) by Chema
File length: 51635 byte(s)
Diff to previous 523
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 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 10:38:20 2011 UTC (8 years, 11 months ago) by Chema
File length: 48408 byte(s)
Diff to previous 522
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 - (view) (annotate) - [select for diffs]
Modified Mon Jun 6 19:00:58 2011 UTC (8 years, 11 months ago) by Chema
File length: 46421 byte(s)
Diff to previous 520
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 520 - (view) (annotate) - [select for diffs]
Modified Thu Jun 2 19:31:46 2011 UTC (8 years, 11 months ago) by Chema
File length: 44940 byte(s)
Diff to previous 519
Now you can also hit people :)

Revision 519 - (view) (annotate) - [select for diffs]
Modified Wed Jun 1 20:38:22 2011 UTC (8 years, 11 months ago) by Chema
File length: 45095 byte(s)
Diff to previous 518
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 - (view) (annotate) - [select for diffs]
Modified Wed Jun 1 16:39:31 2011 UTC (8 years, 11 months ago) by Chema
File length: 43261 byte(s)
Diff to previous 517
Angelface now gives punches (but noone receives them yet). Fixed a problem with continuous subcommands when installed from script.

Revision 517 - (view) (annotate) - [select for diffs]
Modified Fri May 27 20:38:01 2011 UTC (9 years ago) by Chema
File length: 38394 byte(s)
Diff to previous 516
Reorganized some routines into the files.

Revision 516 - (view) (annotate) - [select for diffs]
Modified Fri May 27 19:04:57 2011 UTC (9 years ago) by Chema
File length: 38179 byte(s)
Diff to previous 515
Just relocated some tables... still a lot of work to do in this field...

Revision 515 - (view) (annotate) - [select for diffs]
Modified Fri May 27 09:49:11 2011 UTC (9 years ago) by Chema
File length: 38691 byte(s)
Diff to previous 514
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 - (view) (annotate) - [select for diffs]
Modified Thu May 26 18:50:08 2011 UTC (9 years ago) by Chema
File length: 36376 byte(s)
Diff to previous 511
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 - (view) (annotate) - [select for diffs]
Modified Wed May 25 21:04:48 2011 UTC (9 years ago) by Chema
File length: 35645 byte(s)
Diff to previous 510
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 - (view) (annotate) - [select for diffs]
Modified Tue May 24 20:45:44 2011 UTC (9 years ago) by Chema
File length: 29016 byte(s)
Diff to previous 502
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 502 - (view) (annotate) - [select for diffs]
Added Mon May 23 19:02:32 2011 UTC (9 years ago) by Chema
File length: 25653 byte(s)


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

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26