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

Diff of /users/chema/TINE/universe.s

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 265 by Chema, Fri Feb 5 22:05:50 2010 UTC revision 266 by Chema, Mon Feb 8 22:12:53 2010 UTC
# Line 79  norot Line 79  norot
79            
80          ; Update number of fixed objects: radar+player+planet ids 0,1 and 2          ; Update number of fixed objects: radar+player+planet ids 0,1 and 2
81          lda #2          lda #2
82          sta fixed_objects+1          sta fixed_objects
83    
84      ; Now create some moons (between 0 and 3)            ; Now create some moons (between 0 and 3)      
85      lda _cpl_system+SEED+1      lda _cpl_system+SEED+1
# Line 89  norot Line 89  norot
89    
90          ; Add number of moons to fixed objects          ; Add number of moons to fixed objects
91          clc          clc
92          adc fixed_objects+1          adc fixed_objects
93          sta fixed_objects+1          sta fixed_objects
94            
95      lda _PosX+1      lda _PosX+1
96      sta savpX+1      sta savpX+1
# Line 325  random_encounter Line 325  random_encounter
325                  ; If already too many objects, return                  ; If already too many objects, return
326                  lda NUMOBJS                  lda NUMOBJS
327                  sec                  sec
328                  sbc fixed_objects+1                  sbc fixed_objects
329                  cmp #5                  cmp #5
330                  bcc cont1                  bcc cont1
331                  rts                  rts

Legend:
Removed from v.265  
changed lines
  Added in v.266

  ViewVC Help
Powered by ViewVC 1.1.26