All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
35
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to General and Gameplay Programming
Bitmaps as globals?
General and Gameplay Programming
Programming
Started by
explorer
July 29, 2002 06:07 AM
1
comment, last by
explorer
21 years, 8 months ago
explorer
122
Author
July 29, 2002 06:07 AM
Is it bad to declare bitmaps as globals? (e.g. HBITMAP mybitmap=LoadBitmap(...))
Cancel
Save
To ja
Advertisement
hammerstein_02
134
July 29, 2002 08:13 AM
Not unless you need them right throughout the life of your program. If you need them every now and then why not put them in the appropriate functions for use in there..
Cancel
Save
EvilCrap
134
July 29, 2002 11:09 AM
why not put them in a class so you can manage them easier.
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
Too many managers?
General and Gameplay Programming
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
New Generated Constructor & JIT Issue
AngelCode
Inheriting from application registered class
AngelCode
Advertisement
Recommended Tutorials
4. Motion in Two and Three Dimensions
Math and Physics
How Augmented Reality is Changing Gaming
Business and Law
You need a plan and a design
Game Design and Theory
Direct3D 7 IM Framework Programming 1: The Basics
Graphics and GPU Programming
2D Alpha Blending Using MMX Technology
General and Gameplay Programming
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top