More code style nits
This commit is contained in:
+6
-3
@@ -2046,13 +2046,15 @@ doconvert_file(const char *filename, int sfstatus, boolean unconvert)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* convert file */
|
/* convert file */
|
||||||
void nh_sfconvert(const char *filename)
|
void
|
||||||
|
nh_sfconvert(const char *filename)
|
||||||
{
|
{
|
||||||
(void) doconvert_file(filename, 0, FALSE);
|
(void) doconvert_file(filename, 0, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* unconvert file if it exists */
|
/* unconvert file if it exists */
|
||||||
void nh_sfunconvert(const char *filename)
|
void
|
||||||
|
nh_sfunconvert(const char *filename)
|
||||||
{
|
{
|
||||||
(void) doconvert_file(filename, 0, TRUE);
|
(void) doconvert_file(filename, 0, TRUE);
|
||||||
}
|
}
|
||||||
@@ -2140,7 +2142,8 @@ delete_convertedfile(const char *basefilename)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void free_convert_filenames(void)
|
void
|
||||||
|
free_convert_filenames(void)
|
||||||
{
|
{
|
||||||
if (converted_filename)
|
if (converted_filename)
|
||||||
free((genericptr_t) converted_filename), converted_filename = 0;
|
free((genericptr_t) converted_filename), converted_filename = 0;
|
||||||
|
|||||||
+6
-3
@@ -299,7 +299,8 @@ glyph_find_core(
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
void fill_glyphid_cache(void)
|
void
|
||||||
|
fill_glyphid_cache(void)
|
||||||
{
|
{
|
||||||
int reslt = 0;
|
int reslt = 0;
|
||||||
|
|
||||||
@@ -350,7 +351,8 @@ init_glyph_cache(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void free_glyphid_cache(void)
|
void
|
||||||
|
free_glyphid_cache(void)
|
||||||
{
|
{
|
||||||
size_t idx;
|
size_t idx;
|
||||||
|
|
||||||
@@ -1173,7 +1175,8 @@ clear_all_glyphmap_colors(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void reset_customcolors(void)
|
void
|
||||||
|
reset_customcolors(void)
|
||||||
{
|
{
|
||||||
clear_all_glyphmap_colors();
|
clear_all_glyphmap_colors();
|
||||||
apply_customizations(gc.currentgraphics, do_custom_colors);
|
apply_customizations(gc.currentgraphics, do_custom_colors);
|
||||||
|
|||||||
+2
-1
@@ -2399,7 +2399,8 @@ mon_avoiding_this_attack(struct monst *mtmp, int attkidx)
|
|||||||
* ranged_attk_assessed(mtmp, mon_avoiding_this_attack)
|
* ranged_attk_assessed(mtmp, mon_avoiding_this_attack)
|
||||||
* but without the added assessment function call overhead.
|
* but without the added assessment function call overhead.
|
||||||
*/
|
*/
|
||||||
boolean ranged_attk_available(struct monst *mtmp)
|
boolean
|
||||||
|
ranged_attk_available(struct monst *mtmp)
|
||||||
{
|
{
|
||||||
int i, typ = -1;
|
int i, typ = -1;
|
||||||
struct permonst *ptr = mtmp->data;
|
struct permonst *ptr = mtmp->data;
|
||||||
|
|||||||
+2
-1
@@ -207,7 +207,8 @@ add_custom_urep_entry(
|
|||||||
}
|
}
|
||||||
#endif /* ENHANCED_SYMBOLS */
|
#endif /* ENHANCED_SYMBOLS */
|
||||||
|
|
||||||
void reset_customsymbols(void)
|
void
|
||||||
|
reset_customsymbols(void)
|
||||||
{
|
{
|
||||||
#ifdef ENHANCED_SYMBOLS
|
#ifdef ENHANCED_SYMBOLS
|
||||||
free_all_glyphmap_u();
|
free_all_glyphmap_u();
|
||||||
|
|||||||
Reference in New Issue
Block a user