added everything

This commit is contained in:
Metario
2017-04-17 06:17:10 -06:00
commit 9c6ff74f19
6121 changed files with 1625704 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/* Collection.h - MAXScript Collection classes
*
* Copyright (c) John Wainwright, 1996
*
*
*/
#ifndef _H_COLLECTION
#define _H_COLLECTION
class PathName;
class Collection
{
public:
# define is_collection(v) ((v)->_is_collection())
virtual Value* map_path(PathName* path, value_vf vfn_ptr, value_cf cfn_ptr, Value** arg_list, int count);
virtual Value* find_first(BOOL (*test_fn)(INode* node, int level, void* arg), void* test_arg);
virtual Value* get_path(PathName* path_name);
};
class SelectionIterator
{
public:
# define is_selection(v) ((v)->_is_selection())
virtual int next() { return -1; }
virtual BOOL more() { return FALSE; }
virtual void rewind() { }
virtual BOOL selected(int index) { return FALSE; }
};
#endif