Code afférent au projet Kouglof 2 de l'E2L
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 3 Wochen
123456789101112131415161718192021222324252627282930313233343536
  1. /*******************************************************************
  2. Copyright (C) 2011-2024 Patrick H. E. Foubet - S.E.R.I.A.N.E.
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or any
  6. later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. See the GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>
  13. *******************************************************************/
  14. /* gestion niveau de trace */
  15. /* ### les niveaux de trace */
  16. #define TMIN 0
  17. #define TMAX 3
  18. #define T1 getTrace() > 0
  19. #define T2 getTrace() > 1
  20. #define T3 getTrace() > 2
  21. extern int DebugOn;
  22. extern void setTrace(int v);
  23. extern int incrTrace(int v);
  24. extern int getTrace(void);
  25. extern void prTrace(void);
  26. extern void trace(int N, const char * format, ...);
  27. extern void Tdebug(const char * format, ...);