Split operatio.c as it was more than 5000 lines long, making it annoying to find your way inside.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1171 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-11-11 19:06:48 +00:00
parent eb917ce0ed
commit 2dd1b85fc4
6 changed files with 1300 additions and 1255 deletions

View File

@@ -21,15 +21,21 @@
//////////////////////////////////////////////////////////////////////////////
///@file operatio.h
/// Code for the operations, ie all drawing tools.
/// Code for the drawing tools operations.
//////////////////////////////////////////////////////////////////////////////
#include "struct.h"
// General operation handling functions. These may be moved to ops_handler.h when operatio.c grows over 5000 lines again...
/// Do some housekeeping before starting work on a operation.
void Start_operation_stack(word new_operation);
/// Put a value on ::Operation_stack
void Operation_push(short value);
/// Take a value off ::Operation_stack
void Operation_pop(short * value);
void Init_start_operation(void);
short Distance(short x1, short y1, short x2, short y2);
//////////////////////////////////////////////////// OPERATION_CONTINUOUS_DRAW
void Freehand_mode1_1_0(void);