DI-Guy SDK Documentation  13.8
diguyViewLabel.h
Go to the documentation of this file.
1 
2 /*********************************************************************
3  ** Copyright (c) 1992-2022 MAK Technologies, Inc.
4  ** All rights reserved.
5  *********************************************************************/
6 
7 /*********************************************************************/
13 #ifndef __diguyViewLabel_H
14 #define __diguyViewLabel_H
15 
16 #ifdef SWIG
17 %module diguyViewLabel
18 #else
19 #define CPLUSPLUS_ONLY
20 #endif
21 
22 #ifdef CPLUSPLUS_ONLY
23 class bdiGraphicsLabel;
24 
25 #include <stdio.h> // for NULL definition
26 #include <diguy_constants.h>
27 #include <diguy_typedefs.h>
28 class diguyViewLabel;
29 
30 
31 #endif
32 
33 
34 /****************************************************************************/
36 enum {
42 };
43 
44 #include <declspec_diguy.h>
45 
55 /****************************************************************************/
56 class BDI_DECLSPEC_diguy diguyViewLabel
57 {
58 
59 public:
60 
61 /*****************************************************************************/
71  /*l
72  *b Description:
73  **
74  ** Returns the name of the object. This pointer will
75  ** never be NULL.
76  **
77  *b Returns:
78  **
79  ** name of the object
80  */
81  const char* get_name();
82 
83 
84 /*****************************************************************************/
94  /*l
95  *b Description:
96  **
97  ** Sets the text on the label.
98  */
99  void set_text(const char* text);
100 
101  /*l
102  *b Description:
103  **
104  ** Returns the text on the label.
105  **
106  *b Returns:
107  **
108  ** pointer to NULL-terminated string
109  */
110  const char* get_text();
111 
112  /*l
113  *b Description:
114  **
115  ** Sets the font to use.
116  */
117  int set_font(const char* name);
118 
119  /*l
120  *b Description:
121  **
122  ** Returns the font set by set_font.
123  **
124  *b Returns:
125  **
126  ** NULL or pointer to NULL-terminated string
127  */
128  const char* get_font();
129 
130  /*l
131  *b Description:
132  **
133  ** Similar to set_background_color(), but sets the color
134  ** of the label text.
135  **
136  ** Default color is solid white (1, 1, 1, 1).
137  */
138  void set_text_color(float r, float g, float b, float a,
139  float interp_time = 0.0f);
140 
141  /*l
142  *b Description:
143  **
144  ** Similar to set_background_color(), but sets the shadow color
145  ** of the label text.
146  **
147  ** Default color is solid black (0, 0, 0, 1).
148  */
149  void set_text_shadow_color(float r, float g, float b, float a,
150  float interp_time = 0.0f);
151 
152  /*l
153  *b Description:
154  **
155  ** Enables or disables text shadow. Default is 0 (disabled).
156  **
157  *b Arguments:
158  **
159  *a text_shadow_enabled - pass 1 to enable shadow, 0 to disable
160  */
161  void set_text_shadow_enabled(int text_shadow_enabled);
162 
163  /*l
164  *b Description:
165  **
166  ** Sets how the label text is justified, possible values are:
167  **
168  ** - DIGUY_GRAPHICS_LABEL_JUSTIFIED_LEFT
169  ** - DIGUY_GRAPHICS_LABEL_JUSTIFIED_RIGHT
170  ** - DIGUY_GRAPHICS_LABEL_JUSTIFIED_CENTER
171  **
172  ** Depending on how the flag is set the text will either draw flowing
173  ** to the right of the current x. The left of the current x or
174  ** centered above x.
175  */
176  void set_text_justification(diguyViewLabelJustification just);
177 
178  /*l
179  *b Description:
180  **
181  ** Returns how the text on the label is being justified.
182  **
183  *b Returns:
184  **
185  ** One of the following values:
186  **
187  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_LEFT
188  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_RIGHT
189  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_CENTER
190  */
191  diguyViewLabelJustification get_text_justification();
192 
193  /*l
194  *b Description:
195  **
196  ** Adds an x offset to the text part of the label.
197  */
198  void set_text_offset_x(int offset);
199 
200  /*l
201  *b Returns:
202  **
203  ** returns the x offset of the text part of the label.
204  */
205  int get_text_offset_x();
206 
207  /*l
208  *b Description:
209  **
210  ** Adds a y offset to the text part of the label.
211  */
212  void set_text_offset_y(int offset);
213 
214  /*l
215  *b Returns:
216  **
217  ** returns the y offset of the text part of the label.
218  */
219  int get_text_offset_y();
220 
221 
222 /*****************************************************************************/
232  /*l
233  *b Description:
234  **
235  ** Sets the x location of the label. Positive numbers are
236  ** relative to the left side of the screen; negative numbers
237  ** are relative to the right side of the screen.
238  **
239  ** The optional interp_time argument will make the label
240  ** animate to its new location.
241  **
242  *b Arguments:
243  **
244  *a screen_x_offset - x offset in pixels
245  *a interp_time - amount of time in seconds used to
246  *a shift to new position
247  */
248  void set_x(float screen_x_offset,
249  float interp_time = 0.0f);
250 
251  /*l
252  *b Description:
253  **
254  ** Gets the x location of the label.
255  **
256  ** Note: this will return the current x value, not the desired one.
257  */
258  float get_x();
259 
260  /*l
261  *b Description:
262  **
263  ** Sets the y location of the label. Positive numbers are
264  ** relative to the bottom of the screen; negative numbers
265  ** are relative to the top of the screen.
266  **
267  ** The optional interp_time argument will make the label
268  ** animate to its new location.
269  **
270  *b Arguments:
271  **
272  *a screen_y_offset - y offset in pixels
273  *a interp_time - amount of time in seconds used to
274  *a shift to new position
275  */
276  void set_y(float screen_y_offset,
277  float interp_time = 0.0f);
278 
279  /*l
280  *b Description:
281  **
282  ** Gets the y location of the label.
283  **
284  ** Note: this will return the current y value, not the desired one.
285  */
286  float get_y();
287 
288  /*l
289  *b Description:
290  **
291  ** Sets the position of the label in world space.
292  **
293  *b Arguments:
294  **
295  *a x, y, z - coordinates in world space
296  */
297  void set_world_xyz(float x, float y, float z);
298 
299  /*l
300  *b Description:
301  **
302  ** Gets the position of the label in world space.
303  */
304  void get_world_xyz(float* x, float* y, float* z);
305 
306  /*l
307  *b Description:
308  **
309  ** Sets if having a negative value wraps to the other side of the
310  ** viewport. Defaults to 1.
311  **
312  *b Arguments:
313  **
314  *a wrap - 1 if x should wrap; 0 if not
315  */
316  void set_negative_wraps_x(int wrap);
317 
318  /*l
319  *b Returns:
320  **
321  ** 1 if x wraps its offset when negative
322  */
323  int get_negative_wraps_x();
324 
325  /*l
326  *b Description:
327  **
328  ** Sets if having a negative value wraps to the other side of the
329  ** viewport. Defaults to 1.
330  **
331  *b Arguments:
332  **
333  *a wrap - 1 if y should wrap; 0 if not
334  */
335  void set_negative_wraps_y(int wrap);
336 
337  /*l
338  *b Returns:
339  **
340  ** 1 if y wraps its offset when negative
341  */
342  int get_negative_wraps_y();
343 
344  /*l
345  *b Description:
346  **
347  ** Sets how the label is positioned relative to the window, possible
348  ** values are:
349  **
350  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_LEFT
351  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_RIGHT
352  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_CENTER
353  **
354  ** Depending on how the flag is set the x offset will be measured from
355  ** the right of the screen, the left or from the center of the window.
356  */
357  void set_window_justification_x(diguyViewLabelJustification just);
358 
359  /*l
360  *b Returns:
361  **
362  ** label's x positioning parameter described above
363  */
364  diguyViewLabelJustification get_window_justification_x();
365 
366  /*l
367  *b Description:
368  **
369  ** Sets how the label is positioned relative to the window. Possible
370  ** values are:
371  **
372  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_BOTTOM
373  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_TOP
374  *- - DIGUY_GRAPHICS_LABEL_JUSTIFIED_CENTER
375  **
376  ** Depending on how the flag is set the y offset will be measured from
377  ** the bottom of the screen, from the top or from the center of the
378  ** window.
379  */
380  void set_window_justification_y(diguyViewLabelJustification just);
381 
382  /*l
383  *b Returns:
384  **
385  ** label's y positioning parameter described above
386  */
387  diguyViewLabelJustification get_window_justification_y();
388 
389  /*l
390  *b Description:
391  **
392  ** Adds a screen-space x offset to the final position of the label.
393  */
394  void set_offset_x(int offset);
395 
396  /*l
397  *b Returns:
398  **
399  ** returns the x offset of the label.
400  */
401  int get_offset_x();
402 
403  /*l
404  *b Description:
405  **
406  ** Adds a screen-space y offset to the final position of the label.
407  */
408  void set_offset_y(int offset);
409 
410  /*l
411  *b Returns:
412  **
413  ** returns the y offset of the label.
414  */
415  int get_offset_y();
416 
417  /*l
418  *b Description:
419  **
420  ** Sets the minimum width of the label. The default is 0,
421  ** which will size the label width to fit the label text or bar
422  ** graph.
423  **
424  *b Arguments:
425  **
426  *a min_x - minimum width, in pixels
427  */
428  void set_minimum_width(int min_x);
429 
430  /*l
431  *b Returns:
432  **
433  ** minimum width of the label, as set by set_minimum_width()
434  */
435  int get_minimum_width();
436 
437  /*l
438  *b Description:
439  **
440  ** Similar to set_minimum_width(), but sets minimum label height.
441  */
442  void set_minimum_height(int min_y);
443 
444  /*l
445  *b Description:
446  **
447  ** Similar to set_minimum_height(), but returns minimum label height.
448  */
449  int get_minimum_height();
450 
451  /*l
452  *b Returns:
453  **
454  ** the current label width
455  */
456  int get_width();
457 
458  /*l
459  *b Returns:
460  **
461  ** the current label height
462  */
463  int get_height();
464 
465  /*l
466  *b Description:
467  **
468  ** Turns the label into a full-window overlay. This can be useful
469  ** for things like Heads-Up Displays (HUDs).
470  **
471  ** If there is a background image (see set_background_image()), the
472  ** image will be scaled to fit the entire screen.
473  **
474  ** Default is 0 (not full-window).
475  ** Note: turning a label into a full window will automatically make
476  ** it non-clickable.
477  **
478  *b Arguments:
479  **
480  *a full_window - pass 1 for full-window, 0 for not full-window
481  */
482  void set_full_window(int full_window);
483 
484  /*l
485  *b Returns:
486  **
487  ** whether label is full-window, as set by set_full_window()
488  */
489  int get_full_window();
490 
491  /*l
492  *b Description:
493  **
494  ** Resets the parameters of the label to the values from the
495  ** constructor.
496  */
497  void reset();
498 
499  /*l
500  *b Description:
501  **
502  ** Sets the visibility of a label. Default is 1 (visible).
503  **
504  *b Arguments:
505  **
506  *a visible - pass 1 to make label visible, 0 for invisible
507  */
508  void set_visible(int visible);
509 
510  /*l
511  *b Returns:
512  **
513  ** visibility of label, as set by set_visible()
514  */
515  int get_visible();
516 
517 
518 /*****************************************************************************/
528  /*l
529  *b Description:
530  **
531  ** Sets the color of the label background.
532  **
533  ** The optional interp_time argument will make the label gradually
534  ** shift to its new color.
535  **
536  *b Arguments:
537  **
538  *a r, g, b, a - RGBA values of new color, between 0.0 and 1.0
539  *a interp_time - amount of time in seconds used to shift to
540  *a new color
541  **
542  ** Default color is translucent blue (0, 0, 0.3, 0.7).
543  */
544  void set_background_color(float r, float g, float b, float a,
545  float interp_time = 0.0f);
546 
547  /*l
548  *b Description:
549  **
550  ** Sets the background image of the label. The file will
551  ** be looked for in $DIGUY/custom/geometry/rgb first,
552  ** then in $DIGUY/geometry/rgb.
553  **
554  ** The default is no background image.
555  */
556  void set_background_image(const char* filename);
557 
558  /*l
559  *b Description:
560  **
561  ** Enables or disables label background. Default is 1 (enabled).
562  **
563  *b Arguments:
564  **
565  *a background_enabled - pass 1 to enable shadow, 0 to disable
566  */
567  void set_background_enabled(int background_enabled);
568 
569 
570 /*****************************************************************************/
580  /*l
581  *b Description:
582  **
583  ** Similar to set_border_color(), but sets the border color of the
584  ** label background.
585  **
586  ** Default color is translucent white (1, 1, 1, 0.7).
587  *a r, g, b, a - RGBA values of new color, between 0.0 and 1.0
588  *a interp_time - amount of time in seconds used to shift to
589  *a new color
590  */
591  void set_border_color(float r, float g, float b, float a,
592  float interp_time = 0.0f);
593 
594  /*l
595  *b Description:
596  **
597  ** Sets the margin, of the label. Default is 6 pixels.
598  **
599  *b Arguments:
600  **
601  *a margin_size - margin size in pixels
602  */
603  void set_margin_size(int margin_size);
604 
605  /*l
606  *b Description:
607  **
608  ** Sets if the border should be visible. Default is 1 (enabled).
609  **
610  *b Arguments:
611  **
612  *a border_enabled - pass 1 to enable, 0 to disable
613  */
614  void set_border_enabled(int border_enabled);
615 
616 
617 /*****************************************************************************/
661  /*l
662  *b Description:
663  **
664  ** Enables bar graph functionality for this label. Note that this
665  ** doesn't automatically turn off text or background image.
666  **
667  ** Label position and minimum sizes should be set before this
668  ** is called.
669  **
670  *b Arguments:
671  **
672  *a num_lines - number of lines/bars that will be shown
673  *a lines_are_vertical - pass 1 for lines to go bottom to top,
674  *a 0 for lines to go left to right
675  *a line_thickness - line thickness, in pixels
676  *a space_between_lines - space between lines, in pixels
677  *a derive_minimum_label_size - derive and set the minimum label size,
678  *a as if set_minimum_width() and
679  *a set_minimum_height() were called to fit
680  *a this bar graph
681  */
682  void enable_bar_graph(int num_lines,
683  int lines_are_vertical = 1,
684  int line_thickness = 10,
685  int space_between_lines = 2,
686  int derive_minimum_label_size = 1);
687 
688  /*l
689  *b Description:
690  **
691  ** Disables bar graph functionality for this label. Bar graph lines
692  ** will no longer be visible.
693  */
694  void disable_bar_graph();
695 
696  /*l
697  *b Returns:
698  **
699  ** number of bars/lines in bar graph
700  */
701  int get_bar_graph_num_lines();
702 
703  /*l
704  *b Returns:
705  **
706  ** 1 if lines to go bottom to top, 0 if lines to go left to right
707  */
708  int get_bar_graph_lines_are_vertical();
709 
710  /*l
711  *b Description:
712  **
713  ** Sets the color of the specified line.
714  */
715  void set_bar_graph_line_color(int line_number,
716  float r, float g, float b, float a);
717 
718  /*l
719  *b Description:
720  **
721  ** Sets how much of the usable space (bottom to top for vertical
722  ** lines, left to right for horizontal lines) a line will take up
723  ** at its maximum length.
724  **
725  *b Arguments:
726  **
727  *a line_number - line to change
728  *a ratio - how much of the line to display, from 0 (none) to
729  *a 1 (all)
730  **
731  ** For example, if, based on the label height, the bar graph has at
732  ** most 20 pixels to show each line, passing 0.5 for ratio will
733  ** fill 10 pixels with the line color, while passing 1.0 for ratio
734  ** will fill all 20 pixels.
735  */
736  void set_bar_graph_line_magnitude_ratio(int line_number, float ratio);
737 
738  /*l
739  *b Description:
740  **
741  ** Similar to set_bar_graph_line_magnitude_ratio(), but sets the
742  ** length of the line based on absolute pixels.
743  **
744  ** Note that care should be taken to not overrun the current height
745  ** or width of the label when using this function.
746  **
747  *b Arguments:
748  **
749  *a line_number - line to change
750  *a pixels - line length in pixels
751  */
752  void set_bar_graph_line_magnitude_pixels(int line_number, int pixels);
753 
754 
755 /*****************************************************************************/
765  /*l
766  *b Description:
767  **
768  ** Sets if a label is temporary. Temporary labels are destroyed on
769  ** scenario reset, and will not re-appear unless they are recreated.
770  **
771  ** Pass 1 to make label temporary, 0 to make it permanent.
772  */
773  void set_is_temporary(int temporary);
774 
775  /*l
776  *b Returns:
777  **
778  ** 1 if a label is temporary, 0 if not; see set_is_temporary()
779  */
780  int get_is_temporary();
781 
782  /*l
783  *b Description:
784  **
785  ** Sets how far away the label will be drawn.
786  **
787  *b Arguments:
788  **
789  *a draw_limit - -1 to always draw, otherwise will draw till draw_limit
790  *a is reached
791  */
792  void set_draw_limit(float draw_limit);
793 
794  /*l
795  *b Description:
796  **
797  ** Gets how far away the label will be drawn.
798  ** Defaults to -1 which always draws.
799  */
800  float get_draw_limit();
801 
802  /*l
803  *b Description:
804  **
805  ** Sets if the label is clickable with the mouse.
806  **
807  ** For character labels this is the equivalent of clicking on the
808  ** character itself, and can trigger the CALLBACK_ID_IGUY_INTERACT
809  ** callback.
810  **
811  ** For screen labels it triggers CALLBACK_ID_USER_SELECTED on mouse
812  ** down, and CALLBACK_ID_USER_UNSELECTED on mouse up.
813  **
814  ** By default labels are clickable.
815  **
816  *b Arguments:
817  **
818  *a is_clickable - pass 1 to enable, 0 to disable
819  */
820  void set_is_clickable(int is_clickable);
821 
822  /*l
823  *b Returns:
824  **
825  ** 1 if label responds to mouse clicks, 0 if not; see
826  ** set_is_clickable()
827  */
828  int get_is_clickable();
829 
830  /*l
831  *b Resturs:
832  **
833  ** NULL-terminated string "label"
834  */
835  const char* get_type_name();
836 
837  /*l
838  *b Description:
839  **
840  ** This is an enumeration of the different callbacks that can be
841  ** registered with add_callback() and add_callback_script().
842  */
843  enum {
844  CALLBACK_ID_USER_SELECTED = 1,
845  CALLBACK_ID_USER_UNSELECTED,
846  CALLBACK_ID_IGUY_INTERACT,
847  CALLBACK_ID_MOUSE_DOWN,
848  CALLBACK_ID_MOUSE_UP,
849  CALLBACK_ID_LEFT_CLICK,
850  CALLBACK_ID_RIGHT_CLICK,
851  CALLBACK_ID_MIDDLE_CLICK,
852  CALLBACK_ID_DOUBLE_CLICK,
853  CALLBACK_ID_BEGIN_DRAG,
854  CALLBACK_ID_END_DRAG
855  };
856 
857  /*l
858  *b Description:
859  **
860  ** This function adds a user callback script. Callback scripts can
861  ** be removed with remove_callback_script().
862  **
863  *b Arguments:
864  **
865  *a callback_id - integer id of the callback
866  *a callback_script - script text of callback to be added
867  *a callback_script_type - the type of script contained in
868  *a callback_script
869  **
870  ** If NULL is passed for callback_script_type, a default script type
871  ** will be derived based on the default script interpreter of the
872  ** scenario.
873  **
874  *i lua specific:
875  **
876  ** When the script is called, the object for which it is being called
877  ** will be in the callback_object global.
878  **
879  ** To pass NULL when calling from a lua script, use nil.
880  **
881  *b Returns:
882  **
883  ** 0 on success, -1 on failure
884  **
885  *b lua Example:
886  **
887  *e ------------------------------------------------------------------------------
888  *e local on_clicked_callback = [[
889  *e
890  *e local la_name = callback_object:get_name();
891  *e bdi_log_print(BDI_LOG_WARN, "Calling on_click for label ".. la_name .. "'.\n");
892  *e
893  *e ]]
894  *e ------------------------------------------------------------------------------
895  *e
896  *e label:add_callback_script(diguyViewLabel_CALLBACK_ID_USER_UNSELECTED,
897  *e on_clicked_callback,
898  *e "lua");
899  */
900  int add_callback_script(int callback_id,
901  const char* callback_script,
902  const char* callback_script_type = NULL);
903 
904  /*l
905  *b Description:
906  **
907  ** This function removes a user callback script previously added with
908  ** add_callback_script().
909  **
910  *b Arguments:
911  **
912  *a callback_id - integer id of the callback
913  *a callback_script - script text of callback previously added
914  *a callback_script_type - the type of script contained in
915  *a callback_script
916  **
917  ** If NULL is passed for callback_script, all callback
918  ** scripts whose ids match callback_id and whose types match
919  ** callback_script_type will be removed.
920  **
921  ** If NULL is passed for callback_script_type, a default script type
922  ** will be derived based on the default script interpreter of the
923  ** scenario.
924  **
925  *i lua specific:
926  **
927  ** To pass NULL when calling from a lua script, use nil.
928  **
929  *b Returns:
930  **
931  ** 0 on success, -1 on failure
932  **
933  *b Lua Example:
934  **
935  *e --
936  *e -- Remove all callback scripts with id
937  *e -- diguyViewLabel_CALLBACK_ID_USER_UNSELECTED
938  *e --
939  *e label:remove_callback_script(diguyViewLabel_CALLBACK_ID_USER_UNSELECTED,
940  *e nil,
941  *e "lua");
942  */
943  int remove_callback_script(int callback_id,
944  const char* callback_script,
945  const char* callback_script_type = NULL);
946 
947 
948 #ifdef CPLUSPLUS_ONLY
949 
950  /*l
951  *b Description:
952  **
953  ** This function adds a user callback. Callbacks can be removed
954  ** with remove_callback() or remove_callback_with_user_data().
955  **
956  *b Arguments:
957  **
958  *a callback - pointer to function with prototype
959  *a diguyViewLabelCallback (typedefed above)
960  *a callback_id - integer id of when this callback is to be called
961  *a callback_params - not currently used; pass NULL
962  *a callback_user_data - pointer for user's own use; DI-Guy will
963  *a do nothing to the contents of this pointer
964  *a beyond passing it back when the callback is
965  *a invoked
966  **
967  *b Returns:
968  **
969  ** 0 on success, -1 on failure
970  **
971  *b Callable From:
972  **
973  *- - C++
974  */
975  int add_callback(int callback_id,
976  diguyViewLabelCallback* callback,
977  void* callback_params = NULL,
978  void* callback_user_data = NULL);
979 
980  /*l
981  *b Description:
982  **
983  ** This function removes a user callback. All callbacks matching
984  ** the specified callback_id and callback function will be removed.
985  **
986  *b Arguments:
987  **
988  *a callback_id - integer id of when this callback is to be called
989  *a callback - pointer to function with prototype
990  *a diguyViewLabelCallback (typedefed above)
991  **
992  *b Returns:
993  **
994  ** 0 on success, -1 on failure
995  **
996  *b Callable From:
997  **
998  *- - C++
999  */
1000  int remove_callback(int callback_id,
1001  diguyViewLabelCallback* callback);
1002 
1003  /*b Description:
1004  **
1005  ** This function removes a user callback. All callbacks matching
1006  ** the specified callback_id and callback_user_data pointer will
1007  ** be removed.
1008  **
1009  *b Arguments:
1010  **
1011  *a callback_id - integer id of when this callback is to be called
1012  *a callback_user_data - pointer for user's own use
1013  **
1014  *b Returns:
1015  **
1016  ** 0 on success, -1 on failure
1017  **
1018  *b Callable From:
1019  **
1020  *- - C++
1021  */
1022  int remove_callback_with_user_data(int callback_id,
1023  void* callback_user_data);
1024 
1030  bdiGraphicsLabel* get_scripted_object() {return m_label;}
1031 
1032 private:
1033 
1034  /*l
1035  ** A private constructor.
1036  */
1037  diguyViewLabel(bdiGraphicsLabel* label);
1038 
1039  /*l
1040  ** A pointer to internal data.
1041  */
1042  bdiGraphicsLabel* m_label;
1043 
1044  friend class bdiGraphicsLabel;
1045 
1046 #endif
1047 
1048 };
1049 
1050 #endif /* __diguyViewFog_H */
1051 
int diguyViewLabelJustification
Definition: diguyViewLabel.h:27
The diguyViewLabel allows on screen 2D and 3D labels in diguy scenario and the opengl renderer...
Definition: diguyViewLabel.h:52
diguyCallbackReturn diguyViewLabelCallback(diguyViewLabel *character, int callback_id, void *callback_params, void *callback_user_data)
Definition: diguy_typedefs.h:223
Definition: diguyViewLabel.h:34
Definition: diguyViewLabel.h:38
Definition: diguyViewLabel.h:36
Definition: diguyViewLabel.h:35
Definition: diguyViewLabel.h:37