Skip to content
Extraits de code Groupes Projets
Valider 0bd0d94f rédigé par Etienne BRATEAU's avatar Etienne BRATEAU
Parcourir les fichiers

wire: avoir forward declaration of two functions

parent dff0db0d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #1480 réussi
...@@ -10,8 +10,43 @@ ...@@ -10,8 +10,43 @@
#include "log.h" #include "log.h"
#include "screen.h" #include "screen.h"
void fryhwire(log_hwrec *hw); void fryhwire(log_hwrec *hw)
void fryvwire(log_vwrec *vw); {
long t0;
remcursor();
clipon();
t0 = sysclock();
while (labs(sysclock() - t0) < frytime)
{
m_color((long)gg.color.conflict);
hline(hw->x1, hw->x2, hw->y);
m_color((long)gg.color.backgr);
hline(hw->x1, hw->x2, hw->y);
}
clipoff();
refreshsoon();
}
void fryvwire(log_vwrec *vw)
{
long t0;
remcursor();
clipon();
t0 = sysclock();
while (labs(sysclock() - t0) < frytime)
{
m_color((long)gg.color.conflict);
vline(vw->x, vw->y1, vw->y2);
m_color((long)gg.color.backgr);
vline(vw->x, vw->y1, vw->y2);
}
clipoff();
refreshsoon();
}
/* Local variables for wantsolder: */ /* Local variables for wantsolder: */
struct LOC_wantsolder struct LOC_wantsolder
...@@ -939,40 +974,3 @@ void addvwire2(short x, short y1, short y2) ...@@ -939,40 +974,3 @@ void addvwire2(short x, short y1, short y2)
addvwire(x, y1, y2, log_wcol_normal); addvwire(x, y1, y2, log_wcol_normal);
} }
void fryhwire(log_hwrec *hw)
{
long t0;
remcursor();
clipon();
t0 = sysclock();
while (labs(sysclock() - t0) < frytime)
{
m_color((long)gg.color.conflict);
hline(hw->x1, hw->x2, hw->y);
m_color((long)gg.color.backgr);
hline(hw->x1, hw->x2, hw->y);
}
clipoff();
refreshsoon();
}
void fryvwire(log_vwrec *vw)
{
long t0;
remcursor();
clipon();
t0 = sysclock();
while (labs(sysclock() - t0) < frytime)
{
m_color((long)gg.color.conflict);
vline(vw->x, vw->y1, vw->y2);
m_color((long)gg.color.backgr);
vline(vw->x, vw->y1, vw->y2);
}
clipoff();
refreshsoon();
}
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter