00001
00002
00003
00004
00005
00006
00007
00008
00009 #pragma warning(push)
00010 #pragma warning(disable:4100)
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 def_thread_local( CharStream*, current_stdout, TRUE, new (GC_IN_HEAP) WindowStream(_M("Script Output")));
00023 def_thread_local( BOOL, force_listener_open, FALSE, TRUE);
00024
00025 def_thread_local( Value**, current_frame, FALSE, NULL);
00026 def_thread_local( Value**, current_scan_frame, FALSE, NULL);
00027 def_thread_local( Value**, current_locals_frame, FALSE, NULL);
00028 def_thread_local( Value*, current_result, TRUE, NULL);
00029 def_thread_local( long, stack_limit, FALSE, ALLOCATOR_STACK_SIZE);
00030
00031 def_thread_local( LONG_PTR, stack_base, FALSE, (LONG_PTR)_alloca(sizeof(int)));
00032 def_thread_local( MSPlugin*, current_plugin, TRUE, NULL);
00033 def_thread_local( Struct*, current_struct, TRUE, NULL);
00034 def_thread_local( Value*, current_container, TRUE, NULL);
00035 def_thread_local( int, container_index, FALSE, 0);
00036 def_thread_local( Value*, container_prop, TRUE, NULL);
00037 def_thread_local( Value*, current_prop, TRUE, NULL);
00038
00039 def_thread_local( Value*, source_file, TRUE, NULL);
00040 def_thread_local( UINT_PTR, source_pos, FALSE, 0);
00041 def_thread_local( UINT_PTR, source_line, FALSE, 0);
00042
00043 def_thread_local( int, needs_redraw, FALSE, 0);
00044 def_thread_local( BOOL, redraw_mode, FALSE, 1);
00045 def_thread_local( BOOL, pivot_mode, FALSE, 0);
00046 def_thread_local( BOOL, undo_mode, FALSE, 1);
00047 def_thread_local( Value*, current_level, TRUE, &all_objects);
00048 def_thread_local( BOOL, use_time_context, FALSE, 0);
00049 def_thread_local( TimeValue, current_time, FALSE, 0);
00050 def_thread_local( Value*, current_coordsys, TRUE, n_default);
00051 def_thread_local( Value*, center_mode, TRUE, n_default);
00052
00053 def_thread_local( int, rand_accum, FALSE, 0);
00054 def_thread_local( HANDLE, message_event, FALSE, NULL);
00055 def_thread_local( int, stream_rand_accum, FALSE, 0);
00056
00057 def_thread_local( MSZipPackage*, current_pkg, TRUE, NULL);
00058
00059 def_thread_local( void*, alloc_frame, FALSE, NULL);
00060 def_thread_local( void*, alloc_tos, FALSE, NULL);
00061 def_thread_local( void*, alloc_stack_lim, FALSE, NULL);
00062
00063 def_thread_local( Control*, current_controller, FALSE, NULL);
00064
00065 def_thread_local( String*, undo_label, TRUE, new (GC_PERMANENT) String(_M("MAXScript")));
00066 def_thread_local( BOOL, try_mode, FALSE, 0);
00067 def_thread_local( MAXScriptException*, current_exception, FALSE, NULL);
00068
00069 def_thread_local( BOOL, thread_not_active, FALSE, FALSE);
00070
00071 def_thread_local( BOOL, err_occurred, FALSE, FALSE);
00072 def_thread_local( Value*, err_source_file, TRUE, NULL);
00073 def_thread_local( UINT_PTR, err_source_pos, FALSE, 0);
00074 def_thread_local( UINT_PTR, err_source_line, FALSE, 0);
00075
00076 def_thread_local( Value*, current_frame_owner, TRUE, NULL);
00077
00078 def_thread_local( BOOL, is_dubugger_thread, FALSE, FALSE);
00079
00080 def_thread_local( DWORD, source_flags, FALSE, 0);
00081 def_thread_local( DWORD, err_source_flags, FALSE, 0);
00082
00083 def_thread_local( BOOL, trace_back_active, FALSE, FALSE);
00084 def_thread_local( BOOL, disable_trace_back, FALSE, FALSE);
00085 def_thread_local( int, trace_back_levels, FALSE, 0);
00086
00087 def_thread_local( StringStream*, resource_value_reader, TRUE, NULL);
00088
00089 #pragma warning(pop)