- Messages
- 76
Hello -
I've gotten my project finished, loaded up the gauge in FS Panel studio (and also manually in the panel.cfg) , placed all the mini-gauges where I want them, start up flight sim, voila - new gauges right where I put them.
I took the .gau file and put it online for others to download, but they see no gauges. FSPS shows the rectangle (pink) where the mini-gauges should be but the bitmaps don't show and it complains that "error gauge does not exist in this file" , FS9 gets an error "Flight Simulator is not able to load aircraft or software". I thought that the bitmaps would be contained within the .gau file? Here's a small snippet of the various files for my "underway" switch... What have I done wrong?
main_gauge.c
#define GAUGE_NAME "underway_switch_up\0"
#define GAUGEHDR_VAR_NAME gaugehdr_underway_switch_up
#define GAUGE_W 100
#include "underway_switch_up.c"
in the main_gauge.rc file:
PANEL_UNDERWAY_SW_ON BITMAP DISCARDABLE "bitmaps\\underway_switch_on.bmp"
in the main_gauge.h file:
#define PANEL_UNDERWAY_SW_ON 0x200B
#define PANEL_UNDERWAY_SW_OFF 0x200C
I've gotten my project finished, loaded up the gauge in FS Panel studio (and also manually in the panel.cfg) , placed all the mini-gauges where I want them, start up flight sim, voila - new gauges right where I put them.
I took the .gau file and put it online for others to download, but they see no gauges. FSPS shows the rectangle (pink) where the mini-gauges should be but the bitmaps don't show and it complains that "error gauge does not exist in this file" , FS9 gets an error "Flight Simulator is not able to load aircraft or software". I thought that the bitmaps would be contained within the .gau file? Here's a small snippet of the various files for my "underway" switch... What have I done wrong?
main_gauge.c
#define GAUGE_NAME "underway_switch_up\0"
#define GAUGEHDR_VAR_NAME gaugehdr_underway_switch_up
#define GAUGE_W 100
#include "underway_switch_up.c"
in the main_gauge.rc file:
PANEL_UNDERWAY_SW_ON BITMAP DISCARDABLE "bitmaps\\underway_switch_on.bmp"
in the main_gauge.h file:
#define PANEL_UNDERWAY_SW_ON 0x200B
#define PANEL_UNDERWAY_SW_OFF 0x200C