Fix remaining doxygen warnings.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2128 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
34ec1d967a
commit
0c7d17304a
@ -699,7 +699,7 @@ GFX2_GLOBAL Func_gradient Gradient_function;
|
||||
/// either ::Pixel (if the gradient must be drawn on menus only)
|
||||
/// or ::Display_pixel (if the gradient must be drawn on the image)
|
||||
GFX2_GLOBAL Func_pixel Gradient_pixel;
|
||||
/// Index in ::T_Page::Gradient_array of the currently selected gradient.
|
||||
/// Index in ::T_Page::Gradients of the currently selected gradient.
|
||||
GFX2_GLOBAL byte Current_gradient;
|
||||
/// Boolean, true when the color cycling is active.
|
||||
GFX2_GLOBAL byte Cycling_mode;
|
||||
|
||||
@ -1108,6 +1108,7 @@ void Load_SDL_Image(T_IO_Context *context)
|
||||
|
||||
///
|
||||
/// Load an arbitrary SDL_Surface.
|
||||
/// @param full_name Full (absolute) path of the file to load.
|
||||
/// @param gradients Pass the address of a target T_Gradient_array if you want the gradients, NULL otherwise
|
||||
SDL_Surface * Load_surface(char *full_name, T_Gradient_array *gradients)
|
||||
{
|
||||
|
||||
14
src/op_c.c
14
src/op_c.c
@ -1027,7 +1027,19 @@ void GS_Generate(T_Gradient_set * ds,T_Cluster_set * cs)
|
||||
|
||||
|
||||
/// Compute best palette for given picture.
|
||||
/// @param size in pixels
|
||||
///
|
||||
/// The picture is first depth-reduced to the given
|
||||
/// r,g,b resolution, then the median cut algorithm is used to find 256 colors which are suitable
|
||||
/// for the given picture.
|
||||
///
|
||||
/// @returns a conversion tree to be used for converting the picture to indexed with the generated palette (with or without dithering).
|
||||
///
|
||||
/// @param image The true-color image for which the palette needs to be optimized
|
||||
/// @param size in pixels (number of pixels, the height/width doesn't matter)
|
||||
/// @param palette pointer to the space where the palette will be stored (256 entries at most)
|
||||
/// @param r Resolution for red
|
||||
/// @param g Resolution for green
|
||||
/// @param b Resolution for blue
|
||||
CT_Tree* Optimize_palette(T_Bitmap24B image, int size,
|
||||
T_Components * palette, int r, int g, int b)
|
||||
{
|
||||
|
||||
@ -44,7 +44,7 @@ extern byte * FX_feedback_screen;
|
||||
extern T_Bitmap Main_visible_image;
|
||||
/// The pixels of visible layers, flattened copy, used for no-feedback effects.
|
||||
extern T_Bitmap Main_visible_image_backup;
|
||||
/// The index of visible pixels from ::Visible image. Points to the right layer.
|
||||
/// The index of visible pixels from ::Main_visible_image. Points to the right layer.
|
||||
extern T_Bitmap Main_visible_image_depth_buffer;
|
||||
/// The pixels of visible layers for the spare page, flattened copy.
|
||||
extern T_Bitmap Spare_visible_image;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user