Renamed all member variables to fit our guidelines. Removed useless workaround for an old beos bug

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23060 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2007-12-04 13:02:33 +00:00
parent c0728ccd2a
commit 8d6c93fb2a
2 changed files with 492 additions and 511 deletions
File diff suppressed because it is too large Load Diff
+32 -36
View File
@@ -334,7 +334,7 @@ virtual void DirectConnected(direct_buffer_info *info);
private: private:
/* Pseudo-random generator state and increment function. */ /* Pseudo-random generator state and increment function. */
int32 crc_alea; int32 fCrcAlea;
inline void CrcStep(); inline void CrcStep();
@@ -342,74 +342,70 @@ inline void CrcStep();
/* the next setting, as modified by the UI */ /* the next setting, as modified by the UI */
setting fNextSettings; setting fNextSettings;
/* a boolean used to enable a work-around for a bug in
the DirectWindow flags setting. Only needed for the
release 3.0 */
bool need_r3_buffer_reset_work_around;
/* the buffer descriptors for the offscreen bitmap and /* the buffer descriptors for the offscreen bitmap and
the DirectWindow buffer. */ the DirectWindow buffer. */
buffer bitmap_buffer; buffer fBitmapBuffer;
buffer direct_buffer; buffer fDirectBuffer;
/* current maximal dimensions of the offscreen Bitmap buffer */ /* current maximal dimensions of the offscreen Bitmap buffer */
int32 max_width, max_height; int32 fMaxWidth, fMaxHeight;
/* memorize previous state for switch between fullscreen /* memorize previous state for switch between fullscreen
and window mode */ and window mode */
BRect PreviousFrame; BRect fPreviousFrame;
int32 previous_fullscreen_mode; int32 fPreviousFullscreenMode;
/* cycling threshold for the cubic torus starfield, that /* cycling threshold for the cubic torus starfield, that
guarantees that the 1x1x1 sample will contain the full guarantees that the 1x1x1 sample will contain the full
pyramid of vision. */ pyramid of vision. */
TPoint cut; TPoint fCut;
/* maximal depth of the pyramid of vision */ /* maximal depth of the pyramid of vision */
float depth_ref; float fDepthRef;
int32 back_color_index; int32 fBackColorIndex;
/* target frame duration, in microsecond. */ /* target frame duration, in microsecond. */
bigtime_t frame_delay; bigtime_t fFrameDelay;
/* various UI object that we need to reach directly. */ /* various UI object that we need to reach directly. */
BButton *offwindow_button; BButton *fOffwindowButton;
ChartView *fChartView; ChartView *fChartView;
BStringView *cpu_load, *frames; BStringView *fCpuLoadView, *fFramesView;
InstantView *fInstantLoad; InstantView *fInstantLoad;
BPictureButton *color_button, *density_button, *refresh_button; BPictureButton *fColorButton, *fDensityButton, *fRefreshButton;
/* states used to describe the camera position, rotation /* states used to describe the camera position, rotation
and dynamic (in other case than free move). */ and dynamic (in other case than free move). */
float camera_alpha, camera_theta, camera_phi; float fCameraAlpha, fCameraTheta, fCameraPhi;
float d_alpha; float fDynamicAlpha;
float d_theta; float fDynamicTheta;
float d_phi; float fDynamicPhi;
int32 cnt_alpha, cnt_theta, cnt_phi; int32 fCountAlpha, fCountTheta, fCountPhi;
TPoint origin; TPoint fOrigin;
TMatrix camera; TMatrix fCamera;
TMatrix camera_invert; TMatrix fCameraInvert;
/* the camera geometry descriptor required by the embedded /* the camera geometry descriptor required by the embedded
C-engine (just a copy of part of the previous states) */ C-engine (just a copy of part of the previous states) */
geometry geo; geometry fGeometry;
/* states used by the free move camera animation */ /* states used by the free move camera animation */
int32 tracking_target; int32 fTrackingTarget;
int32 key_point_count; int32 fKeyPointCount;
float speed, target_speed; float fSpeed, fTargetSpeed;
float last_dynamic_delay; float fLastDynamicDelay;
TPoint key_points[KEY_POINT_MAX]; TPoint fKeyPoints[KEY_POINT_MAX];
/* main starfield. */ /* main starfield. */
star_packet stars; star_packet fStars;
/* used for the special animation */ /* used for the special animation */
TPoint comet[2]; TPoint fComet[2];
TPoint delta_comet[2]; TPoint fDeltaComet[2];
special *special_list; special *fSpecialList;
star_packet specials; star_packet fSpecials;
/* the two processing threads. */ /* the two processing threads. */
thread_id fAnimationThread; thread_id fAnimationThread;