Hi,

I translated physical object class in english. It was an heavy job
because the physical_obj.cpp is big (+700 lines) and a lot of other
classes depends on this one. So excuse me if some things are broken.

I think that new names are better (easier to understand !). I merged old
pos (int) ans pos_reel (double) into m_pos (double) member. During the
translation, I replace all Dessine*() functions by Draw*() ones (for ALL
classes).

I remove object state : insensitive because I thaught that an
insensitive object is not a physical object, but more a graphical
object. But after that (while fixing the million of compilation
errors :-)) I realised that characters become insensitive when then
drown themself ... So I just commented out this line because Oups, same
problem with air attack (the plane) -> I will fix this soon. (or someone
would like to do it ?).

I fixed collision test : now the characters can walk on the bottom of
closed map (was broken) and move 1 px to the bottom (collision test was
uncorrect, characters flyed 1 px over the map).

I also removed tampon, sauve_x, sauve_y and est_sauve (private) members
of Character class because they were unused.

To finish, I converted all files from Dos format to Unix format (\n\r to
\n).

---

Bonus : new map "Aubade" ;-) I had to cut it because was too big, but I
will do another one, bigger (I removed old version, I'm stupid :-/).

Bye, Haypo
-- 
Victor STINNER <[EMAIL PROTECTED]>


Répondre à