Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/fps/src/libraries/tools/fps/JarDebug.cpp @ 6819

Last change on this file since 6819 was 6819, checked in by landauf, 14 years ago

copy paste of all BZN bsp renderer files

  • Property svn:eol-style set to native
File size: 46.3 KB
Line 
1// JarDebug.cpp: implementation of the CJarDebug class.
2//
3//////////////////////////////////////////////////////////////////////
4
5//#include "stdafx.h"
6#include "JarDebug.h"
7
8#ifdef _DEBUG
9#undef THIS_FILE
10static char THIS_FILE[]=__FILE__;
11#define new DEBUG_NEW
12#endif
13
14
15#pragma warning( disable : 4996 ) // stop bitching about unsafe string functions
16#pragma warning( disable : 4267 ) // stop bitching about conversion of size_t to int
17
18
19//////////////////////////////////////////////////////////////////////
20// Construction/Destruction
21//////////////////////////////////////////////////////////////////////
22
23CJarDebug::CJarDebug()
24{
25        m_chCR[0]=0x0D ;
26        m_chCR[1]=0x0A ;
27        m_chCR[2]='\0' ;
28        //AfxMessageBox("JarDebug active") ;
29}
30
31CJarDebug::~CJarDebug()
32{
33
34}
35
36//void CJarDebug::StartTiming(void) { m_Time=timeGetTime() ; }
37//int CJarDebug::GetTiming(void) { return timeGetTime()-m_Time ; }
38
39
40void CJarDebug::LogInit(void)
41{
42        m_chLog[0]='\0' ;
43}
44
45void CJarDebug::LogAdd(char LETTERS[])
46{
47        strcat(m_chLog, LETTERS) ;
48}
49
50void CJarDebug::LogAdd(char LETTERS[], bool bCR)
51{
52        strcat(m_chLog, LETTERS) ;
53        if(bCR) strcat(m_chLog, m_chCR) ; 
54}
55
56void CJarDebug::LogAddCR(char LETTERS[])
57{
58        strcat(m_chLog, LETTERS) ;
59        strcat(m_chLog, m_chCR) ; 
60}
61
62void CJarDebug::LogCR(void)
63{
64        strcat(m_chLog, m_chCR) ;
65}
66
67void CJarDebug::LogSave(char FILENAME[])
68{
69        int fh=0 ;
70        LogCR() ;
71        LogAddCR("END LOG.") ;
72        if( (fh = _open( FILENAME, _O_RDWR | _O_BINARY | _O_CREAT | _O_TRUNC, 
73                               _S_IREAD | _S_IWRITE )) != -1 )
74        {
75                _write( fh, m_chLog, sizeof(m_chLog )) ;
76                _close( fh );
77        }
78}
79
80
81void CJarDebug::PrintInfo(char LETTERS[], int nXPos, int nYPos)
82{
83        HDC hdc=GetDC(GetActiveWindow()) ;
84        TextOut(hdc, nXPos, nYPos, (LPCWSTR)LETTERS, strlen(LETTERS)) ;
85        ReleaseDC(GetActiveWindow(), hdc) ;
86
87}
88
89void CJarDebug::Pixel(int nPosX, int nPosY, COLORREF clrCol)
90{
91        HDC hdc=GetDC(GetActiveWindow()) ;
92        SetPixelV(hdc, nPosX, nPosY, clrCol) ;
93        ReleaseDC(GetActiveWindow(), hdc) ;
94}
95void CJarDebug::Pixel(int nPosX, int nPosY, int nCol)
96{
97        HDC hdc=GetDC(GetActiveWindow()) ;
98        int nRed=(nCol&63488)/256 ;
99        int nGreen=(nCol&2016)/8 ;
100        int nBlue=(nCol&31)*8 ;
101        SetPixelV(hdc, nPosX, nPosY, RGB(nRed, nGreen, nBlue)) ;
102        ReleaseDC(GetActiveWindow(), hdc) ;
103}
104
105void CJarDebug::BlankArea(int nStartX, int nStartY, int nEndX, int nEndY)
106{
107        HDC hdc=GetDC(GetActiveWindow()) ;
108        RECT rect ;
109
110        rect.left=nStartX ;
111        rect.right=nEndX ;
112        rect.top=nStartY ;
113        rect.bottom=nEndY ;
114
115        FillRect(hdc, &rect, (HBRUSH) ( GetStockObject(BLACK_BRUSH) ));
116}
117
118
119/////////////////////////////////////////////
120//
121// no number
122//
123/////////////////////////////////////////////
124
125void CJarDebug::Info(char LETTERS[])
126{
127        HDC hdc=GetDC(GetActiveWindow()) ;
128       
129        TextOut(hdc, 0, 0, (LPCWSTR)LETTERS, strlen(LETTERS)) ;
130        ReleaseDC(GetActiveWindow(), hdc) ;
131}
132
133void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[])
134{
135        HDC hdc=GetDC(GetActiveWindow()) ;
136
137       
138        TextOut(hdc, Xpos, Ypos,  (LPCWSTR)LETTERS, strlen(LETTERS)) ;
139        ReleaseDC(GetActiveWindow(), hdc) ;
140}
141
142/////////////////////////////////////////////
143//
144// 1 number
145//
146/////////////////////////////////////////////
147
148void CJarDebug::Info(char LETTERS[], int Int0)
149{
150        HDC hdc=GetDC(GetActiveWindow()) ;
151
152        sprintf(m_chMessage, LETTERS, Int0) ;
153       
154        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
155        ReleaseDC(GetActiveWindow(), hdc) ;
156}
157
158void CJarDebug::Info(char LETTERS[], float Float0)
159{
160        HDC hdc=GetDC(GetActiveWindow()) ;
161
162        sprintf(m_chMessage, LETTERS, Float0) ;
163       
164        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
165        ReleaseDC(GetActiveWindow(), hdc) ;
166}
167
168/////////////////////////////////////////////
169//
170// 2 numbers
171//
172/////////////////////////////////////////////
173
174void CJarDebug::Info(char LETTERS[], int Int0, int Int1)
175{
176        HDC hdc=GetDC(GetActiveWindow()) ;
177
178        sprintf(m_chMessage, LETTERS, Int0, Int1) ;
179       
180        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
181        ReleaseDC(GetActiveWindow(), hdc) ;
182}
183
184void CJarDebug::Info(char LETTERS[], float Float0, int Int1)
185{
186        HDC hdc=GetDC(GetActiveWindow()) ;
187
188        sprintf(m_chMessage, LETTERS, Float0, Int1) ;
189       
190        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
191        ReleaseDC(GetActiveWindow(), hdc) ;
192}
193
194void CJarDebug::Info(char LETTERS[], int Int0, float Float1)
195{
196        HDC hdc=GetDC(GetActiveWindow()) ;
197
198        sprintf(m_chMessage, LETTERS, Int0, Float1) ;
199       
200        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
201        ReleaseDC(GetActiveWindow(), hdc) ;
202}
203
204void CJarDebug::Info(char LETTERS[], float Float0, float Float1)
205{
206        HDC hdc=GetDC(GetActiveWindow()) ;
207
208        sprintf(m_chMessage, LETTERS, Float0, Float1) ;
209       
210        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
211        ReleaseDC(GetActiveWindow(), hdc) ;
212}
213
214/////////////////////////////////////////////
215//
216// 3 numbers
217//
218/////////////////////////////////////////////
219
220void CJarDebug::Info(char LETTERS[], int Int0, int Int1, int Int2)
221{
222        HDC hdc=GetDC(GetActiveWindow()) ;
223
224        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2) ;
225       
226        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
227        ReleaseDC(GetActiveWindow(), hdc) ;
228}
229
230void CJarDebug::Info(char LETTERS[], float Float0, int Int1, int Int2)
231{
232        HDC hdc=GetDC(GetActiveWindow()) ;
233
234        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2) ;
235       
236        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
237        ReleaseDC(GetActiveWindow(), hdc) ;
238}
239
240void CJarDebug::Info(char LETTERS[], int Int0, float Float1, int Int2)
241{
242        HDC hdc=GetDC(GetActiveWindow()) ;
243
244        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2) ;
245       
246        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
247        ReleaseDC(GetActiveWindow(), hdc) ;
248}
249
250void CJarDebug::Info(char LETTERS[], float Float0, float Float1, int Int2)
251{
252        HDC hdc=GetDC(GetActiveWindow()) ;
253
254        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2) ;
255       
256        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
257        ReleaseDC(GetActiveWindow(), hdc) ;
258}
259
260void CJarDebug::Info(char LETTERS[], int Int0, int Int1, float Float2)
261{
262        HDC hdc=GetDC(GetActiveWindow()) ;
263
264        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2) ;
265       
266        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
267        ReleaseDC(GetActiveWindow(), hdc) ;
268}
269
270void CJarDebug::Info(char LETTERS[], float Float0, int Int1, float Float2)
271{
272        HDC hdc=GetDC(GetActiveWindow()) ;
273
274        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2) ;
275       
276        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
277        ReleaseDC(GetActiveWindow(), hdc) ;
278}
279
280void CJarDebug::Info(char LETTERS[], int Int0, float Float1, float Float2)
281{
282        HDC hdc=GetDC(GetActiveWindow()) ;
283
284        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2) ;
285       
286        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
287        ReleaseDC(GetActiveWindow(), hdc) ;
288}
289
290void CJarDebug::Info(char LETTERS[], float Float0, float Float1, float Float2)
291{
292        HDC hdc=GetDC(GetActiveWindow()) ;
293
294        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2) ;
295       
296        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
297        ReleaseDC(GetActiveWindow(), hdc) ;
298}
299
300/////////////////////////////////////////////
301//
302// 4 numbers
303//
304/////////////////////////////////////////////
305
306void CJarDebug::Info(char LETTERS[], int Int0, int Int1, int Int2, int Int3)
307{
308        HDC hdc=GetDC(GetActiveWindow()) ;
309
310        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Int3) ;
311       
312        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
313        ReleaseDC(GetActiveWindow(), hdc) ;
314}
315
316void CJarDebug::Info(char LETTERS[], float Float0, int Int1, int Int2, int Int3)
317{
318        HDC hdc=GetDC(GetActiveWindow()) ;
319
320        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Int3) ;
321       
322        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
323        ReleaseDC(GetActiveWindow(), hdc) ;
324}
325
326void CJarDebug::Info(char LETTERS[], int Int0, float Float1, int Int2, int Int3)
327{
328        HDC hdc=GetDC(GetActiveWindow()) ;
329
330        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Int3) ;
331       
332        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
333        ReleaseDC(GetActiveWindow(), hdc) ;
334}
335
336void CJarDebug::Info(char LETTERS[], float Float0, float Float1, int Int2, int Int3)
337{
338        HDC hdc=GetDC(GetActiveWindow()) ;
339
340        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Int3) ;
341       
342        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
343        ReleaseDC(GetActiveWindow(), hdc) ;
344}
345
346void CJarDebug::Info(char LETTERS[], int Int0, int Int1, float Float2, int Int3)
347{
348        HDC hdc=GetDC(GetActiveWindow()) ;
349
350        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Int3) ;
351       
352        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
353        ReleaseDC(GetActiveWindow(), hdc) ;
354}
355
356void CJarDebug::Info(char LETTERS[], float Float0, int Int1, float Float2, int Int3)
357{
358        HDC hdc=GetDC(GetActiveWindow()) ;
359
360        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Int3) ;
361       
362        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
363        ReleaseDC(GetActiveWindow(), hdc) ;
364}
365
366void CJarDebug::Info(char LETTERS[], int Int0, float Float1, float Float2, int Int3)
367{
368        HDC hdc=GetDC(GetActiveWindow()) ;
369
370        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Int3) ;
371       
372        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
373        ReleaseDC(GetActiveWindow(), hdc) ;
374}
375
376void CJarDebug::Info(char LETTERS[], float Float0, float Float1, float Float2, int Int3)
377{
378        HDC hdc=GetDC(GetActiveWindow()) ;
379
380        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Int3) ;
381       
382        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
383        ReleaseDC(GetActiveWindow(), hdc) ;
384}
385
386void CJarDebug::Info(char LETTERS[], int Int0, int Int1, int Int2, float Float3)
387{
388        HDC hdc=GetDC(GetActiveWindow()) ;
389
390        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Float3) ;
391       
392        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
393        ReleaseDC(GetActiveWindow(), hdc) ;
394}
395
396void CJarDebug::Info(char LETTERS[], float Float0, int Int1, int Int2, float Float3)
397{
398        HDC hdc=GetDC(GetActiveWindow()) ;
399
400        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Float3) ;
401       
402        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
403        ReleaseDC(GetActiveWindow(), hdc) ;
404}
405
406void CJarDebug::Info(char LETTERS[], int Int0, float Float1, int Int2, float Float3)
407{
408        HDC hdc=GetDC(GetActiveWindow()) ;
409
410        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Float3) ;
411       
412        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
413        ReleaseDC(GetActiveWindow(), hdc) ;
414}
415
416void CJarDebug::Info(char LETTERS[], float Float0, float Float1, int Int2, float Float3)
417{
418        HDC hdc=GetDC(GetActiveWindow()) ;
419
420        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Float3) ;
421       
422        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
423        ReleaseDC(GetActiveWindow(), hdc) ;
424}
425
426void CJarDebug::Info(char LETTERS[], int Int0, int Int1, float Float2, float Float3)
427{
428        HDC hdc=GetDC(GetActiveWindow()) ;
429
430        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Float3) ;
431       
432        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
433        ReleaseDC(GetActiveWindow(), hdc) ;
434}
435
436void CJarDebug::Info(char LETTERS[], float Float0, int Int1, float Float2, float Float3)
437{
438        HDC hdc=GetDC(GetActiveWindow()) ;
439
440        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Float3) ;
441       
442        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
443        ReleaseDC(GetActiveWindow(), hdc) ;
444}
445
446void CJarDebug::Info(char LETTERS[], int Int0, float Float1, float Float2, float Float3)
447{
448        HDC hdc=GetDC(GetActiveWindow()) ;
449
450        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Float3) ;
451       
452        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
453        ReleaseDC(GetActiveWindow(), hdc) ;
454}
455
456void CJarDebug::Info(char LETTERS[], float Float0, float Float1, float Float2, float Float3)
457{
458        HDC hdc=GetDC(GetActiveWindow()) ;
459
460        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Float3) ;
461       
462        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
463        ReleaseDC(GetActiveWindow(), hdc) ;
464}
465
466/////////////////////////////////////////////
467//
468// 5 numbers
469//
470/////////////////////////////////////////////
471
472void CJarDebug::Info(char LETTERS[], int Int0, int Int1, int Int2, int Int3, int Int4)
473{
474        HDC hdc=GetDC(GetActiveWindow()) ;
475
476        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Int3, Int4) ;
477       
478        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
479        ReleaseDC(GetActiveWindow(), hdc) ;
480}
481
482void CJarDebug::Info(char LETTERS[], float Float0, int Int1, int Int2, int Int3, int Int4)
483{
484        HDC hdc=GetDC(GetActiveWindow()) ;
485
486        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Int3, Int4) ;
487       
488        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
489        ReleaseDC(GetActiveWindow(), hdc) ;
490}
491
492void CJarDebug::Info(char LETTERS[], int Int0, float Float1, int Int2, int Int3, int Int4)
493{
494        HDC hdc=GetDC(GetActiveWindow()) ;
495
496        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Int3, Int4) ;
497       
498        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
499        ReleaseDC(GetActiveWindow(), hdc) ;
500}
501
502void CJarDebug::Info(char LETTERS[], float Float0, float Float1, int Int2, int Int3, int Int4)
503{
504        HDC hdc=GetDC(GetActiveWindow()) ;
505
506        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Int3, Int4) ;
507       
508        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
509        ReleaseDC(GetActiveWindow(), hdc) ;
510}
511
512void CJarDebug::Info(char LETTERS[], int Int0, int Int1, float Float2, int Int3, int Int4)
513{
514        HDC hdc=GetDC(GetActiveWindow()) ;
515
516        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Int3, Int4) ;
517       
518        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
519        ReleaseDC(GetActiveWindow(), hdc) ;
520}
521
522void CJarDebug::Info(char LETTERS[], float Float0, int Int1, float Float2, int Int3, int Int4)
523{
524        HDC hdc=GetDC(GetActiveWindow()) ;
525
526        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Int3, Int4) ;
527       
528        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
529        ReleaseDC(GetActiveWindow(), hdc) ;
530}
531
532void CJarDebug::Info(char LETTERS[], int Int0, float Float1, float Float2, int Int3, int Int4)
533{
534        HDC hdc=GetDC(GetActiveWindow()) ;
535
536        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Int3, Int4) ;
537       
538        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
539        ReleaseDC(GetActiveWindow(), hdc) ;
540}
541
542void CJarDebug::Info(char LETTERS[], float Float0, float Float1, float Float2, int Int3, int Int4)
543{
544        HDC hdc=GetDC(GetActiveWindow()) ;
545
546        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Int3, Int4) ;
547       
548        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
549        ReleaseDC(GetActiveWindow(), hdc) ;
550}
551
552void CJarDebug::Info(char LETTERS[], int Int0, int Int1, int Int2, float Float3, int Int4)
553{
554        HDC hdc=GetDC(GetActiveWindow()) ;
555
556        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Float3, Int4) ;
557       
558        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
559        ReleaseDC(GetActiveWindow(), hdc) ;
560}
561
562void CJarDebug::Info(char LETTERS[], float Float0, int Int1, int Int2, float Float3, int Int4)
563{
564        HDC hdc=GetDC(GetActiveWindow()) ;
565
566        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Float3, Int4) ;
567       
568        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
569        ReleaseDC(GetActiveWindow(), hdc) ;
570}
571
572void CJarDebug::Info(char LETTERS[], int Int0, float Float1, int Int2, float Float3, int Int4)
573{
574        HDC hdc=GetDC(GetActiveWindow()) ;
575
576        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Float3, Int4) ;
577       
578        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
579        ReleaseDC(GetActiveWindow(), hdc) ;
580}
581
582void CJarDebug::Info(char LETTERS[], float Float0, float Float1, int Int2, float Float3, int Int4)
583{
584        HDC hdc=GetDC(GetActiveWindow()) ;
585
586        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Float3, Int4) ;
587       
588        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
589        ReleaseDC(GetActiveWindow(), hdc) ;
590}
591
592void CJarDebug::Info(char LETTERS[], int Int0, int Int1, float Float2, float Float3, int Int4)
593{
594        HDC hdc=GetDC(GetActiveWindow()) ;
595
596        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Float3, Int4) ;
597       
598        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
599        ReleaseDC(GetActiveWindow(), hdc) ;
600}
601
602void CJarDebug::Info(char LETTERS[], float Float0, int Int1, float Float2, float Float3, int Int4)
603{
604        HDC hdc=GetDC(GetActiveWindow()) ;
605
606        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Float3, Int4) ;
607       
608        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
609        ReleaseDC(GetActiveWindow(), hdc) ;
610}
611
612void CJarDebug::Info(char LETTERS[], int Int0, float Float1, float Float2, float Float3, int Int4)
613{
614        HDC hdc=GetDC(GetActiveWindow()) ;
615
616        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Float3, Int4) ;
617       
618        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
619        ReleaseDC(GetActiveWindow(), hdc) ;
620}
621
622void CJarDebug::Info(char LETTERS[], float Float0, float Float1, float Float2, float Float3, int Int4)
623{
624        HDC hdc=GetDC(GetActiveWindow()) ;
625
626        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Float3, Int4) ;
627       
628        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
629        ReleaseDC(GetActiveWindow(), hdc) ;
630}
631
632void CJarDebug::Info(char LETTERS[], int Int0, int Int1, int Int2, int Int3, float Float4)
633{
634        HDC hdc=GetDC(GetActiveWindow()) ;
635
636        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Int3, Float4) ;
637       
638        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
639        ReleaseDC(GetActiveWindow(), hdc) ;
640}
641
642void CJarDebug::Info(char LETTERS[], float Float0, int Int1, int Int2, int Int3, float Float4)
643{
644        HDC hdc=GetDC(GetActiveWindow()) ;
645
646        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Int3, Float4) ;
647       
648        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
649        ReleaseDC(GetActiveWindow(), hdc) ;
650}
651
652void CJarDebug::Info(char LETTERS[], int Int0, float Float1, int Int2, int Int3, float Float4)
653{
654        HDC hdc=GetDC(GetActiveWindow()) ;
655
656        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Int3, Float4) ;
657       
658        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
659        ReleaseDC(GetActiveWindow(), hdc) ;
660}
661
662void CJarDebug::Info(char LETTERS[], float Float0, float Float1, int Int2, int Int3, float Float4)
663{
664        HDC hdc=GetDC(GetActiveWindow()) ;
665
666        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Int3, Float4) ;
667       
668        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
669        ReleaseDC(GetActiveWindow(), hdc) ;
670}
671
672void CJarDebug::Info(char LETTERS[], int Int0, int Int1, float Float2, int Int3, float Float4)
673{
674        HDC hdc=GetDC(GetActiveWindow()) ;
675
676        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Int3, Float4) ;
677       
678        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
679        ReleaseDC(GetActiveWindow(), hdc) ;
680}
681
682void CJarDebug::Info(char LETTERS[], float Float0, int Int1, float Float2, int Int3, float Float4)
683{
684        HDC hdc=GetDC(GetActiveWindow()) ;
685
686        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Int3, Float4) ;
687       
688        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
689        ReleaseDC(GetActiveWindow(), hdc) ;
690}
691
692void CJarDebug::Info(char LETTERS[], int Int0, float Float1, float Float2, int Int3, float Float4)
693{
694        HDC hdc=GetDC(GetActiveWindow()) ;
695
696        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Int3, Float4) ;
697       
698        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
699        ReleaseDC(GetActiveWindow(), hdc) ;
700}
701
702void CJarDebug::Info(char LETTERS[], float Float0, float Float1, float Float2, int Int3, float Float4)
703{
704        HDC hdc=GetDC(GetActiveWindow()) ;
705
706        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Int3, Float4) ;
707       
708        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
709        ReleaseDC(GetActiveWindow(), hdc) ;
710}
711
712void CJarDebug::Info(char LETTERS[], int Int0, int Int1, int Int2, float Float3, float Float4)
713{
714        HDC hdc=GetDC(GetActiveWindow()) ;
715
716        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Float3, Float4) ;
717       
718        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
719        ReleaseDC(GetActiveWindow(), hdc) ;
720}
721
722void CJarDebug::Info(char LETTERS[], float Float0, int Int1, int Int2, float Float3, float Float4)
723{
724        HDC hdc=GetDC(GetActiveWindow()) ;
725
726        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Float3, Float4) ;
727       
728        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
729        ReleaseDC(GetActiveWindow(), hdc) ;
730}
731
732void CJarDebug::Info(char LETTERS[], int Int0, float Float1, int Int2, float Float3, float Float4)
733{
734        HDC hdc=GetDC(GetActiveWindow()) ;
735
736        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Float3, Float4) ;
737       
738        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
739        ReleaseDC(GetActiveWindow(), hdc) ;
740}
741
742void CJarDebug::Info(char LETTERS[], float Float0, float Float1, int Int2, float Float3, float Float4)
743{
744        HDC hdc=GetDC(GetActiveWindow()) ;
745
746        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Float3, Float4) ;
747       
748        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
749        ReleaseDC(GetActiveWindow(), hdc) ;
750}
751
752void CJarDebug::Info(char LETTERS[], int Int0, int Int1, float Float2, float Float3, float Float4)
753{
754        HDC hdc=GetDC(GetActiveWindow()) ;
755
756        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Float3, Float4) ;
757       
758        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
759        ReleaseDC(GetActiveWindow(), hdc) ;
760}
761
762void CJarDebug::Info(char LETTERS[], float Float0, int Int1, float Float2, float Float3, float Float4)
763{
764        HDC hdc=GetDC(GetActiveWindow()) ;
765
766        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Float3, Float4) ;
767       
768        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
769        ReleaseDC(GetActiveWindow(), hdc) ;
770}
771
772void CJarDebug::Info(char LETTERS[], int Int0, float Float1, float Float2, float Float3, float Float4)
773{
774        HDC hdc=GetDC(GetActiveWindow()) ;
775
776        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Float3, Float4) ;
777       
778        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
779        ReleaseDC(GetActiveWindow(), hdc) ;
780}
781
782void CJarDebug::Info(char LETTERS[], float Float0, float Float1, float Float2, float Float3, float Float4)
783{
784        HDC hdc=GetDC(GetActiveWindow()) ;
785
786        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Float3, Float4) ;
787       
788        TextOut(hdc, 0, 0, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
789        ReleaseDC(GetActiveWindow(), hdc) ;
790}
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831/////////////////////////////////////////////
832//
833// 1 number
834//
835/////////////////////////////////////////////
836
837void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0)
838{
839        HDC hdc=GetDC(GetActiveWindow()) ;
840
841        sprintf(m_chMessage, LETTERS, Int0) ;
842       
843        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
844        ReleaseDC(GetActiveWindow(), hdc) ;
845}
846
847void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0)
848{
849        HDC hdc=GetDC(GetActiveWindow()) ;
850
851        sprintf(m_chMessage, LETTERS, Float0) ;
852       
853        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
854        ReleaseDC(GetActiveWindow(), hdc) ;
855}
856
857/////////////////////////////////////////////
858//
859// 2 numbers
860//
861/////////////////////////////////////////////
862
863void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1)
864{
865        HDC hdc=GetDC(GetActiveWindow()) ;
866
867        sprintf(m_chMessage, LETTERS, Int0, Int1) ;
868       
869        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
870        ReleaseDC(GetActiveWindow(), hdc) ;
871}
872
873void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1)
874{
875        HDC hdc=GetDC(GetActiveWindow()) ;
876
877        sprintf(m_chMessage, LETTERS, Float0, Int1) ;
878       
879        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
880        ReleaseDC(GetActiveWindow(), hdc) ;
881}
882
883void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1)
884{
885        HDC hdc=GetDC(GetActiveWindow()) ;
886
887        sprintf(m_chMessage, LETTERS, Int0, Float1) ;
888       
889        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
890        ReleaseDC(GetActiveWindow(), hdc) ;
891}
892
893void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1)
894{
895        HDC hdc=GetDC(GetActiveWindow()) ;
896
897        sprintf(m_chMessage, LETTERS, Float0, Float1) ;
898       
899        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
900        ReleaseDC(GetActiveWindow(), hdc) ;
901}
902
903/////////////////////////////////////////////
904//
905// 3 numbers
906//
907/////////////////////////////////////////////
908
909void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, int Int2)
910{
911        HDC hdc=GetDC(GetActiveWindow()) ;
912
913        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2) ;
914       
915        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
916        ReleaseDC(GetActiveWindow(), hdc) ;
917}
918
919void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, int Int2)
920{
921        HDC hdc=GetDC(GetActiveWindow()) ;
922
923        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2) ;
924       
925        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
926        ReleaseDC(GetActiveWindow(), hdc) ;
927}
928
929void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, int Int2)
930{
931        HDC hdc=GetDC(GetActiveWindow()) ;
932
933        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2) ;
934       
935        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
936        ReleaseDC(GetActiveWindow(), hdc) ;
937}
938
939void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, int Int2)
940{
941        HDC hdc=GetDC(GetActiveWindow()) ;
942
943        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2) ;
944       
945        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
946        ReleaseDC(GetActiveWindow(), hdc) ;
947}
948
949void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, float Float2)
950{
951        HDC hdc=GetDC(GetActiveWindow()) ;
952
953        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2) ;
954       
955        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
956        ReleaseDC(GetActiveWindow(), hdc) ;
957}
958
959void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, float Float2)
960{
961        HDC hdc=GetDC(GetActiveWindow()) ;
962
963        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2) ;
964       
965        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
966        ReleaseDC(GetActiveWindow(), hdc) ;
967}
968
969void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, float Float2)
970{
971        HDC hdc=GetDC(GetActiveWindow()) ;
972
973        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2) ;
974       
975        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
976        ReleaseDC(GetActiveWindow(), hdc) ;
977}
978
979void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, float Float2)
980{
981        HDC hdc=GetDC(GetActiveWindow()) ;
982
983        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2) ;
984       
985        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
986        ReleaseDC(GetActiveWindow(), hdc) ;
987}
988
989/////////////////////////////////////////////
990//
991// 4 numbers
992//
993/////////////////////////////////////////////
994
995void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, int Int2, int Int3)
996{
997        HDC hdc=GetDC(GetActiveWindow()) ;
998
999        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Int3) ;
1000       
1001        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1002        ReleaseDC(GetActiveWindow(), hdc) ;
1003}
1004
1005void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, int Int2, int Int3)
1006{
1007        HDC hdc=GetDC(GetActiveWindow()) ;
1008
1009        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Int3) ;
1010       
1011        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1012        ReleaseDC(GetActiveWindow(), hdc) ;
1013}
1014
1015void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, int Int2, int Int3)
1016{
1017        HDC hdc=GetDC(GetActiveWindow()) ;
1018
1019        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Int3) ;
1020       
1021        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1022        ReleaseDC(GetActiveWindow(), hdc) ;
1023}
1024
1025void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, int Int2, int Int3)
1026{
1027        HDC hdc=GetDC(GetActiveWindow()) ;
1028
1029        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Int3) ;
1030       
1031        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1032        ReleaseDC(GetActiveWindow(), hdc) ;
1033}
1034
1035void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, float Float2, int Int3)
1036{
1037        HDC hdc=GetDC(GetActiveWindow()) ;
1038
1039        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Int3) ;
1040       
1041        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1042        ReleaseDC(GetActiveWindow(), hdc) ;
1043}
1044
1045void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, float Float2, int Int3)
1046{
1047        HDC hdc=GetDC(GetActiveWindow()) ;
1048
1049        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Int3) ;
1050       
1051        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1052        ReleaseDC(GetActiveWindow(), hdc) ;
1053}
1054
1055void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, float Float2, int Int3)
1056{
1057        HDC hdc=GetDC(GetActiveWindow()) ;
1058
1059        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Int3) ;
1060       
1061        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1062        ReleaseDC(GetActiveWindow(), hdc) ;
1063}
1064
1065void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, float Float2, int Int3)
1066{
1067        HDC hdc=GetDC(GetActiveWindow()) ;
1068
1069        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Int3) ;
1070       
1071        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1072        ReleaseDC(GetActiveWindow(), hdc) ;
1073}
1074
1075void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, int Int2, float Float3)
1076{
1077        HDC hdc=GetDC(GetActiveWindow()) ;
1078
1079        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Float3) ;
1080       
1081        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1082        ReleaseDC(GetActiveWindow(), hdc) ;
1083}
1084
1085void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, int Int2, float Float3)
1086{
1087        HDC hdc=GetDC(GetActiveWindow()) ;
1088
1089        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Float3) ;
1090       
1091        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1092        ReleaseDC(GetActiveWindow(), hdc) ;
1093}
1094
1095void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, int Int2, float Float3)
1096{
1097        HDC hdc=GetDC(GetActiveWindow()) ;
1098
1099        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Float3) ;
1100       
1101        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1102        ReleaseDC(GetActiveWindow(), hdc) ;
1103}
1104
1105void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, int Int2, float Float3)
1106{
1107        HDC hdc=GetDC(GetActiveWindow()) ;
1108
1109        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Float3) ;
1110       
1111        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1112        ReleaseDC(GetActiveWindow(), hdc) ;
1113}
1114
1115void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, float Float2, float Float3)
1116{
1117        HDC hdc=GetDC(GetActiveWindow()) ;
1118
1119        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Float3) ;
1120       
1121        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1122        ReleaseDC(GetActiveWindow(), hdc) ;
1123}
1124
1125void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, float Float2, float Float3)
1126{
1127        HDC hdc=GetDC(GetActiveWindow()) ;
1128
1129        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Float3) ;
1130       
1131        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1132        ReleaseDC(GetActiveWindow(), hdc) ;
1133}
1134
1135void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, float Float2, float Float3)
1136{
1137        HDC hdc=GetDC(GetActiveWindow()) ;
1138
1139        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Float3) ;
1140       
1141        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1142        ReleaseDC(GetActiveWindow(), hdc) ;
1143}
1144
1145void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, float Float2, float Float3)
1146{
1147        HDC hdc=GetDC(GetActiveWindow()) ;
1148
1149        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Float3) ;
1150       
1151        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1152        ReleaseDC(GetActiveWindow(), hdc) ;
1153}
1154
1155/////////////////////////////////////////////
1156//
1157// 5 numbers
1158//
1159/////////////////////////////////////////////
1160
1161void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, int Int2, int Int3, int Int4)
1162{
1163        HDC hdc=GetDC(GetActiveWindow()) ;
1164
1165        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Int3, Int4) ;
1166       
1167        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1168        ReleaseDC(GetActiveWindow(), hdc) ;
1169}
1170
1171void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, int Int2, int Int3, int Int4)
1172{
1173        HDC hdc=GetDC(GetActiveWindow()) ;
1174
1175        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Int3, Int4) ;
1176       
1177        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1178        ReleaseDC(GetActiveWindow(), hdc) ;
1179}
1180
1181void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, int Int2, int Int3, int Int4)
1182{
1183        HDC hdc=GetDC(GetActiveWindow()) ;
1184
1185        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Int3, Int4) ;
1186       
1187        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1188        ReleaseDC(GetActiveWindow(), hdc) ;
1189}
1190
1191void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, int Int2, int Int3, int Int4)
1192{
1193        HDC hdc=GetDC(GetActiveWindow()) ;
1194
1195        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Int3, Int4) ;
1196       
1197        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1198        ReleaseDC(GetActiveWindow(), hdc) ;
1199}
1200
1201void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, float Float2, int Int3, int Int4)
1202{
1203        HDC hdc=GetDC(GetActiveWindow()) ;
1204
1205        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Int3, Int4) ;
1206       
1207        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1208        ReleaseDC(GetActiveWindow(), hdc) ;
1209}
1210
1211void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, float Float2, int Int3, int Int4)
1212{
1213        HDC hdc=GetDC(GetActiveWindow()) ;
1214
1215        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Int3, Int4) ;
1216       
1217        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1218        ReleaseDC(GetActiveWindow(), hdc) ;
1219}
1220
1221void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, float Float2, int Int3, int Int4)
1222{
1223        HDC hdc=GetDC(GetActiveWindow()) ;
1224
1225        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Int3, Int4) ;
1226       
1227        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1228        ReleaseDC(GetActiveWindow(), hdc) ;
1229}
1230
1231void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, float Float2, int Int3, int Int4)
1232{
1233        HDC hdc=GetDC(GetActiveWindow()) ;
1234
1235        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Int3, Int4) ;
1236       
1237        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1238        ReleaseDC(GetActiveWindow(), hdc) ;
1239}
1240
1241void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, int Int2, float Float3, int Int4)
1242{
1243        HDC hdc=GetDC(GetActiveWindow()) ;
1244
1245        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Float3, Int4) ;
1246       
1247        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1248        ReleaseDC(GetActiveWindow(), hdc) ;
1249}
1250
1251void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, int Int2, float Float3, int Int4)
1252{
1253        HDC hdc=GetDC(GetActiveWindow()) ;
1254
1255        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Float3, Int4) ;
1256       
1257        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1258        ReleaseDC(GetActiveWindow(), hdc) ;
1259}
1260
1261void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, int Int2, float Float3, int Int4)
1262{
1263        HDC hdc=GetDC(GetActiveWindow()) ;
1264
1265        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Float3, Int4) ;
1266       
1267        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1268        ReleaseDC(GetActiveWindow(), hdc) ;
1269}
1270
1271void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, int Int2, float Float3, int Int4)
1272{
1273        HDC hdc=GetDC(GetActiveWindow()) ;
1274
1275        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Float3, Int4) ;
1276       
1277        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1278        ReleaseDC(GetActiveWindow(), hdc) ;
1279}
1280
1281void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, float Float2, float Float3, int Int4)
1282{
1283        HDC hdc=GetDC(GetActiveWindow()) ;
1284
1285        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Float3, Int4) ;
1286       
1287        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1288        ReleaseDC(GetActiveWindow(), hdc) ;
1289}
1290
1291void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, float Float2, float Float3, int Int4)
1292{
1293        HDC hdc=GetDC(GetActiveWindow()) ;
1294
1295        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Float3, Int4) ;
1296       
1297        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1298        ReleaseDC(GetActiveWindow(), hdc) ;
1299}
1300
1301void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, float Float2, float Float3, int Int4)
1302{
1303        HDC hdc=GetDC(GetActiveWindow()) ;
1304
1305        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Float3, Int4) ;
1306       
1307        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1308        ReleaseDC(GetActiveWindow(), hdc) ;
1309}
1310
1311void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, float Float2, float Float3, int Int4)
1312{
1313        HDC hdc=GetDC(GetActiveWindow()) ;
1314
1315        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Float3, Int4) ;
1316       
1317        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1318        ReleaseDC(GetActiveWindow(), hdc) ;
1319}
1320
1321void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, int Int2, int Int3, float Float4)
1322{
1323        HDC hdc=GetDC(GetActiveWindow()) ;
1324
1325        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Int3, Float4) ;
1326       
1327        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1328        ReleaseDC(GetActiveWindow(), hdc) ;
1329}
1330
1331void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, int Int2, int Int3, float Float4)
1332{
1333        HDC hdc=GetDC(GetActiveWindow()) ;
1334
1335        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Int3, Float4) ;
1336       
1337        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1338        ReleaseDC(GetActiveWindow(), hdc) ;
1339}
1340
1341void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, int Int2, int Int3, float Float4)
1342{
1343        HDC hdc=GetDC(GetActiveWindow()) ;
1344
1345        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Int3, Float4) ;
1346       
1347        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1348        ReleaseDC(GetActiveWindow(), hdc) ;
1349}
1350
1351void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, int Int2, int Int3, float Float4)
1352{
1353        HDC hdc=GetDC(GetActiveWindow()) ;
1354
1355        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Int3, Float4) ;
1356       
1357        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1358        ReleaseDC(GetActiveWindow(), hdc) ;
1359}
1360
1361void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, float Float2, int Int3, float Float4)
1362{
1363        HDC hdc=GetDC(GetActiveWindow()) ;
1364
1365        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Int3, Float4) ;
1366       
1367        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1368        ReleaseDC(GetActiveWindow(), hdc) ;
1369}
1370
1371void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, float Float2, int Int3, float Float4)
1372{
1373        HDC hdc=GetDC(GetActiveWindow()) ;
1374
1375        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Int3, Float4) ;
1376       
1377        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1378        ReleaseDC(GetActiveWindow(), hdc) ;
1379}
1380
1381void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, float Float2, int Int3, float Float4)
1382{
1383        HDC hdc=GetDC(GetActiveWindow()) ;
1384
1385        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Int3, Float4) ;
1386       
1387        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1388        ReleaseDC(GetActiveWindow(), hdc) ;
1389}
1390
1391void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, float Float2, int Int3, float Float4)
1392{
1393        HDC hdc=GetDC(GetActiveWindow()) ;
1394
1395        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Int3, Float4) ;
1396       
1397        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1398        ReleaseDC(GetActiveWindow(), hdc) ;
1399}
1400
1401void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, int Int2, float Float3, float Float4)
1402{
1403        HDC hdc=GetDC(GetActiveWindow()) ;
1404
1405        sprintf(m_chMessage, LETTERS, Int0, Int1, Int2, Float3, Float4) ;
1406       
1407        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1408        ReleaseDC(GetActiveWindow(), hdc) ;
1409}
1410
1411void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, int Int2, float Float3, float Float4)
1412{
1413        HDC hdc=GetDC(GetActiveWindow()) ;
1414
1415        sprintf(m_chMessage, LETTERS, Float0, Int1, Int2, Float3, Float4) ;
1416       
1417        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1418        ReleaseDC(GetActiveWindow(), hdc) ;
1419}
1420
1421void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, int Int2, float Float3, float Float4)
1422{
1423        HDC hdc=GetDC(GetActiveWindow()) ;
1424
1425        sprintf(m_chMessage, LETTERS, Int0, Float1, Int2, Float3, Float4) ;
1426       
1427        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1428        ReleaseDC(GetActiveWindow(), hdc) ;
1429}
1430
1431void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, int Int2, float Float3, float Float4)
1432{
1433        HDC hdc=GetDC(GetActiveWindow()) ;
1434
1435        sprintf(m_chMessage, LETTERS, Float0, Float1, Int2, Float3, Float4) ;
1436       
1437        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1438        ReleaseDC(GetActiveWindow(), hdc) ;
1439}
1440
1441void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, int Int1, float Float2, float Float3, float Float4)
1442{
1443        HDC hdc=GetDC(GetActiveWindow()) ;
1444
1445        sprintf(m_chMessage, LETTERS, Int0, Int1, Float2, Float3, Float4) ;
1446       
1447        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1448        ReleaseDC(GetActiveWindow(), hdc) ;
1449}
1450
1451void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, int Int1, float Float2, float Float3, float Float4)
1452{
1453        HDC hdc=GetDC(GetActiveWindow()) ;
1454
1455        sprintf(m_chMessage, LETTERS, Float0, Int1, Float2, Float3, Float4) ;
1456       
1457        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1458        ReleaseDC(GetActiveWindow(), hdc) ;
1459}
1460
1461void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], int Int0, float Float1, float Float2, float Float3, float Float4)
1462{
1463        HDC hdc=GetDC(GetActiveWindow()) ;
1464
1465        sprintf(m_chMessage, LETTERS, Int0, Float1, Float2, Float3, Float4) ;
1466       
1467        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1468        ReleaseDC(GetActiveWindow(), hdc) ;
1469}
1470
1471void CJarDebug::Info(int Xpos, int Ypos, char LETTERS[], float Float0, float Float1, float Float2, float Float3, float Float4)
1472{
1473        HDC hdc=GetDC(GetActiveWindow()) ;
1474
1475        sprintf(m_chMessage, LETTERS, Float0, Float1, Float2, Float3, Float4) ;
1476       
1477        TextOut(hdc, Xpos, Ypos, (LPCWSTR)m_chMessage, strlen(m_chMessage)) ;
1478        ReleaseDC(GetActiveWindow(), hdc) ;
1479}
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505// 1 int
1506void CJarDebug::MessageInt(int NUM0)
1507{
1508        char chMessage[256] ;
1509        sprintf(chMessage, "%d", NUM0) ;
1510        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1511}
1512// 2 int
1513void CJarDebug::MessageInt(int NUM0, int NUM1)
1514{
1515        char chMessage[256] ;
1516        sprintf(chMessage, "%d  %d", NUM0, NUM1) ;
1517        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1518}
1519// 3 int
1520void CJarDebug::MessageInt(int NUM0, int NUM1, int NUM2)
1521{
1522        char chMessage[256] ;
1523        sprintf(chMessage, "%d  %d  %d", NUM0, NUM1, NUM2) ;
1524        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1525}
1526// 4 int
1527void CJarDebug::MessageInt(int NUM0, int NUM1, int NUM2, int NUM3)
1528{
1529        char chMessage[256] ;
1530        sprintf(chMessage, "%d  %d  %d  %d", NUM0, NUM1, NUM2, NUM3) ;
1531        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1532}
1533// 5 int
1534void CJarDebug::MessageInt(int NUM0, int NUM1, int NUM2, int NUM3, int NUM4)
1535{
1536        char chMessage[256] ;
1537        sprintf(chMessage, "%d  %d  %d  %d  %d", NUM0, NUM1, NUM2, NUM3, NUM4) ;
1538        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1539}
1540// 6 int
1541void CJarDebug::MessageInt(int NUM0, int NUM1, int NUM2, int NUM3, int NUM4, int NUM5)
1542{
1543        char chMessage[256] ;
1544        sprintf(chMessage, "%d  %d  %d  %d  %d  %d", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5) ;
1545        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1546}
1547// 7 int
1548void CJarDebug::MessageInt(int NUM0, int NUM1, int NUM2, int NUM3, int NUM4, int NUM5, int NUM6)
1549{
1550        char chMessage[256] ;
1551        sprintf(chMessage, "%d  %d  %d  %d  %d  %d  %d", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5, NUM6) ;
1552        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1553}
1554// 1 float
1555void CJarDebug::MessageFloat(float NUM0)
1556{
1557        char chMessage[256] ;
1558        sprintf(chMessage, "%f", NUM0) ;
1559        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1560}
1561// 2 float
1562void CJarDebug::MessageFloat(float NUM0, float NUM1)
1563{
1564        char chMessage[256] ;
1565        sprintf(chMessage, "%f  %f", NUM0, NUM1) ;
1566        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1567}
1568// 3 float
1569void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2)
1570{
1571        char chMessage[256] ;
1572        sprintf(chMessage, "%f  %f  %f", NUM0, NUM1, NUM2) ;
1573        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1574}
1575// 4 float
1576void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3)
1577{
1578        char chMessage[256] ;
1579        sprintf(chMessage, "%f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3) ;
1580        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1581}
1582// 5 float
1583void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3, float NUM4)
1584{
1585        char chMessage[256] ;
1586        sprintf(chMessage, "%f  %f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3, NUM4) ;
1587        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1588}
1589// 6 float
1590void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3, float NUM4, float NUM5)
1591{
1592        char chMessage[256] ;
1593        sprintf(chMessage, "%f  %f  %f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5) ;
1594        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1595}
1596// 7 float
1597void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3, float NUM4, float NUM5, float NUM6)
1598{
1599        char chMessage[256] ;
1600        sprintf(chMessage, "%f  %f  %f  %f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5, NUM6) ;
1601        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1602}
1603
1604// 8 float
1605void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3, float NUM4, float NUM5, float NUM6, float NUM7)
1606{
1607        char chMessage[256] ;
1608        sprintf(chMessage, "%f  %f  %f  %f  %f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5, NUM6, NUM7) ;
1609        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1610}
1611
1612// 9 float
1613void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3, float NUM4, float NUM5, float NUM6, float NUM7, float NUM8)
1614{
1615        char chMessage[256] ;
1616        sprintf(chMessage, "%f  %f  %f  %f  %f  %f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5, NUM6, NUM7, NUM8) ;
1617        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1618}
1619
1620// 10 float
1621void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3, float NUM4, float NUM5, float NUM6, float NUM7, float NUM8, float NUM9)
1622{
1623        char chMessage[256] ;
1624        sprintf(chMessage, "%f  %f  %f  %f  %f  %f  %f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5, NUM6, NUM7, NUM8, NUM9) ;
1625        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1626}
1627
1628// 11 float
1629void CJarDebug::MessageFloat(float NUM0, float NUM1, float NUM2, float NUM3, float NUM4, float NUM5, float NUM6, float NUM7, float NUM8, float NUM9, float NUM10)
1630{
1631        char chMessage[256] ;
1632        sprintf(chMessage, "%f  %f  %f  %f  %f  %f  %f  %f  %f  %f  %f", NUM0, NUM1, NUM2, NUM3, NUM4, NUM5, NUM6, NUM7, NUM8, NUM9, NUM10) ;
1633        MessageBoxA(GetActiveWindow(),chMessage,"FATAL ERROR",MB_ICONSTOP|MB_OK);
1634}
1635
1636#pragma warning( default : 4996 )
1637#pragma warning( default : 4267 )
Note: See TracBrowser for help on using the repository browser.