]> git.donarmstrong.com Git - lilypond.git/commitdiff
Remove hungarian postfix.
authorErlend Aasland <erlend.aasland@mac.com>
Thu, 29 Nov 2007 09:43:45 +0000 (10:43 +0100)
committerErlend Aasland <erlend.aasland@mac.com>
Thu, 29 Nov 2007 09:43:45 +0000 (10:43 +0100)
flower/offset.cc
lily/include/audio-item.hh
lily/include/audio-staff.hh
lily/include/lily-parser.hh
lily/include/midi-chunk.hh
lily/lookup.cc
lily/stem.cc
lily/vaticana-ligature-engraver.cc

index 294f69e6f8e5a3c2626497615c14038429df8ece..2d361d84076b7d5475b500104df99dfc513e9cd8 100644 (file)
@@ -20,7 +20,7 @@ Offset::to_string () const
 #endif
 
 bool
-isinf_b (Real r)
+is_inf (Real r)
 {
   return (fabs (r) > 1e20);
 }
@@ -33,7 +33,7 @@ Offset
 complex_multiply (Offset z1, Offset z2)
 {
   Offset z;
-  if (!isinf_b (z2[Y_AXIS]))
+  if (!is_inf (z2[Y_AXIS]))
     {
       z[X_AXIS] = z1[X_AXIS] * z2[X_AXIS] - z1[Y_AXIS] * z2[Y_AXIS];
       z[Y_AXIS] = z1[X_AXIS] * z2[Y_AXIS] + z1[Y_AXIS] * z2[X_AXIS];
index 81939867f3c6463b0df5b4ec45013ece28a67638..3230e5ce4839bac468aea840ccf05e02076ad5b9 100644 (file)
@@ -103,7 +103,7 @@ public:
 class Audio_tempo : public Audio_item
 {
 public:
-  Audio_tempo (int per_minute_4_i);
+  Audio_tempo (int per_minute_4);
 
   int per_minute_4_;
 };
index 6c3da3b1b9bef4ed63ebc50076df296150e116a4..cdce0298fe7122cca7e774e0ae38f47bc3966b4e 100644 (file)
@@ -14,7 +14,7 @@
 struct Audio_staff : public Audio_element
 {
   void add_audio_item (Audio_item *l);
-  void output (Midi_stream &midi_stream_r, int track_i);
+  void output (Midi_stream &midi_stream_r, int track);
 
   Audio_staff ();
   
index e9a42109e0bb7dae12ea1d5bfa548de29b9b6789..ed4673de78e6a3be16ac8f1a1a2f82aabc0c6af2 100644 (file)
@@ -30,7 +30,7 @@ class Lily_parser
   Simultaneous_music *get_chord (Pitch tonic,
                                 vector<Pitch> *adds, vector<Pitch> *subs,
                                 Pitch *inversion, Pitch *bass, Duration d);
-  void set_chord_tremolo (int type_i);
+  void set_chord_tremolo (int type);
   void set_last_duration (Duration const *);
   void set_last_pitch (Pitch const *);
 
index fc41a541f0acd8519855d23d82842fcf6b1e34e7..64071d913ceaa059b756565045745cddd06ddebb 100644 (file)
@@ -53,7 +53,7 @@ class Midi_header : public Midi_chunk
 public:
   DECLARE_CLASSNAME(Midi_header);
 
-  Midi_header (int format_i, int tracks_i, int clocks_per_4_i);
+  Midi_header (int format, int tracks, int clocks_per_4);
 };
 
 class Midi_track : public Midi_chunk
index fc6a2e896bca4afc494bd608076c6c05221078cc..0050002223848461c7adfed53f0f1ac5bf07cc6a 100644 (file)
@@ -256,8 +256,8 @@ Lookup::round_filled_polygon (vector<Offset> const &points,
   /* remove consecutive duplicate points */
   for (vsize i = 0; i < points.size (); i++)
     {
-      int next_i = (i + 1) % points.size ();
-      Real d = (points[i] - points[next_i]).length ();
+      int next = (i + 1) % points.size ();
+      Real d = (points[i] - points[next]).length ();
       if (d < epsilon)
        programming_error ("Polygon should not have duplicate points");
     }
index 4ac91fa7f38ac3d650ca984affadd61000d2bf20..6016eebbb439b7b067201225a0f7adcdd84d85b0 100644 (file)
@@ -290,8 +290,8 @@ Stem::calc_stem_end_position (SCM smob)
   Real stem_end = dir ? hp[dir] + dir * length : 0;
 
   /* TODO: change name  to extend-stems to staff/center/'()  */
-  bool no_extend_b = to_boolean (me->get_property ("no-stem-extend"));
-  if (!no_extend_b && dir * stem_end < 0)
+  bool no_extend = to_boolean (me->get_property ("no-stem-extend"));
+  if (!no_extend && dir * stem_end < 0)
     stem_end = 0.0;
 
   return scm_from_double (stem_end);
@@ -931,9 +931,9 @@ Stem::calc_stem_info (SCM smob)
   Obviously not for grace beams.
 
   Also, not for knees.  Seems to be a good thing. */
-  bool no_extend_b = to_boolean (me->get_property ("no-stem-extend"));
+  bool no_extend = to_boolean (me->get_property ("no-stem-extend"));
   bool is_knee = to_boolean (beam->get_property ("knee"));
-  if (!no_extend_b && !is_knee)
+  if (!no_extend && !is_knee)
     {
       /* Highest beam of (UP) beam must never be lower than middle
         staffline */
index 45a30edf6c8faeaa8608870deba0c37fc0afffad..b0f09c236ef004069114a790be1c09c3499d64c5 100644 (file)
@@ -106,41 +106,41 @@ bool
 Vaticana_ligature_engraver::is_stacked_head (int prefix_set,
                                             int context_info)
 {
-  bool is_stacked_b;
+  bool is_stacked;
 
   // upper head of pes is stacked upon lower head of pes ...
-  is_stacked_b = context_info & PES_UPPER;
+  is_stacked = context_info & PES_UPPER;
 
   // ... unless this note starts a flexa
   if (context_info & FLEXA_LEFT)
-    is_stacked_b = false;
+    is_stacked = false;
 
   // ... or another pes
   if (context_info & PES_LOWER)
-    is_stacked_b = false;
+    is_stacked = false;
 
   // ... or the previous note is a semivocalis or inclinatum
   if (context_info & AFTER_DEMINUTUM)
-    is_stacked_b = false;
+    is_stacked = false;
 
   // auctum head is never stacked upon preceding note
   if (prefix_set & AUCTUM)
-    is_stacked_b = false;
+    is_stacked = false;
 
   // virga is never stacked upon preceding note
   if (prefix_set & VIRGA)
-    is_stacked_b = false;
+    is_stacked = false;
 
   // oriscus is never stacked upon preceding note
   if (prefix_set & ORISCUS)
-    is_stacked_b = false;
+    is_stacked = false;
 
   if ((prefix_set & DEMINUTUM)
       && ! (prefix_set & INCLINATUM)
       && (context_info & FLEXA_RIGHT))
-    is_stacked_b = true; // semivocalis head of deminutus form
+    is_stacked = true; // semivocalis head of deminutus form
 
-  return is_stacked_b;
+  return is_stacked;
 }
 
 /*