diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-07-15 02:16:38 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-07-15 02:16:38 +0400 |
commit | 480b8ce10b149aa7aa9c62fed62cbf2a5ec904b3 (patch) | |
tree | 6762786764a5d29103df5925f9fae99446d457ef /source/blender/include/BIF_editmesh.h | |
parent | 40bfa5c7a1a04f2dad0825e2c93edd25b586cbd2 (diff) |
- switch em_{vert,solid,wire}offs to be unsigned
- some other twiddles to fix mixed signedness compiler warnings
And from the "Dear lazy programmers" file: After you have extern declared
a variable 5 or more times at the top a function, you would have actually
saved a lot of effort by just putting it in the header where it belonged.
Or perhaps you thought by hiding it no one else would notice you were
using global variables to pass information around. Tsk tsk.
Diffstat (limited to 'source/blender/include/BIF_editmesh.h')
-rw-r--r-- | source/blender/include/BIF_editmesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h index c1dd2c43afa..37cc466b637 100644 --- a/source/blender/include/BIF_editmesh.h +++ b/source/blender/include/BIF_editmesh.h @@ -48,6 +48,7 @@ struct View3D; // face flag #define EM_FGON_DRAW 1 +extern unsigned int em_vertoffs, em_solidoffs, em_wireoffs; /* ******************* editmesh.c */ extern void make_editMesh(void); @@ -96,7 +97,7 @@ extern void EM_select_face_fgon(struct EditFace *efa, int sel); extern int EM_init_backbuf_border(short xmin, short ymin, short xmax, short ymax); extern int EM_mask_init_backbuf_border(short mcords[][2], short tot, short xmin, short ymin, short xmax, short ymax); extern int EM_init_backbuf_circle(short xs, short ys, short rads); -extern int EM_check_backbuf_border(int index); +extern int EM_check_backbuf_border(unsigned int index); extern void EM_free_backbuf_border(void); extern void EM_selectmode_menu(void); |