Changeset 4b464a4 for owl.c


Ignore:
Timestamp:
Aug 25, 2002, 11:35:03 AM (19 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
56330ff
Parents:
7131cf2
Message:
Messages now have a direciton (in, out or none).  Filters can
     this direction
Outbound messages are no longer type 'admin' but are of the
     appropriate message type (i.e. 'zephyr') and are direction
     'out'.
Smartnarrow now works on outgoing messages
'info' updated to show more information for admin and outgoing
     messages
Renamed pretty_sender to short_zuser and renamed long_sender to
     long_zuser
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r0236842 r4b464a4  
    3434  char **argvsave;
    3535  owl_filter *f;
     36  time_t nexttime;
     37  int nexttimediff;
    3638
    3739  argcsave=argc;
     
    217219  owl_context_set_interactive(owl_global_get_context(&g));
    218220
     221  nexttimediff=20;
     222  nexttime=time(NULL);
     223
    219224  /* main loop */
    220225  while (1) {
     
    230235
    231236    followlast=owl_global_should_followlast(&g);
     237
     238    /* little hack */
     239    if (0 && owl_global_get_runtime(&g)<300) {
     240      if (time(NULL)>nexttime) {
     241        if (nexttimediff==1) {
     242          nexttimediff=20;
     243        } else {
     244          nexttimediff=1;
     245        }
     246        nexttime+=nexttimediff;
     247        owl_hack_animate();
     248      }
     249    }
    232250
    233251    /* grab incoming zephyrs */
Note: See TracChangeset for help on using the changeset viewer.