naev 0.10.4
Data Structures | Macros | Enumerations | Functions | Variables
dev_sysedit.c File Reference

Handles the star system editor. More...

#include "dev_sysedit.h"
#include "array.h"
#include "conf.h"
#include "dev_spob.h"
#include "dev_system.h"
#include "dev_uniedit.h"
#include "dialogue.h"
#include "economy.h"
#include "map.h"
#include "ndata.h"
#include "nstring.h"
#include "opengl.h"
#include "opengl_render.h"
#include "safelanes.h"
#include "space.h"
#include "tk/toolkit_priv.h"
#include "toolkit.h"
#include "unidiff.h"

Go to the source code of this file.

Data Structures

struct  Select_t
 Selection generic for stuff in a system. More...
 

Macros

#define BUTTON_WIDTH   100
 
#define BUTTON_HEIGHT   30
 
#define SYSEDIT_EDIT_WIDTH   500
 
#define SYSEDIT_EDIT_HEIGHT   400
 
#define SYSEDIT_DRAG_THRESHOLD   300
 
#define SYSEDIT_MOVE_THRESHOLD   10
 
#define SYSEDIT_ZOOM_STEP   1.2
 
#define SYSEDIT_ZOOM_MAX   1
 
#define SYSEDIT_ZOOM_MIN   -23
 

Enumerations

enum  {
  SELECT_NONE , SELECT_SPOB , SELECT_JUMPPOINT , SELECT_ASTEROID ,
  SELECT_ASTEXCLUDE
}
 

Functions

static void sysedit_buttonZoom (unsigned int wid, const char *str)
 Handles the button zoom clicks. More...
 
static void sysedit_render (double bx, double by, double w, double h, void *data)
 System editor custom widget rendering. More...
 
static void sysedit_renderAsteroidsField (double bx, double by, const AsteroidAnchor *ast, int selected)
 Draws an asteroid field on the map. More...
 
static void sysedit_renderAsteroidExclusion (double bx, double by, const AsteroidExclusion *aexcl, int selected)
 Draws an asteroid exclusion zone on the map. More...
 
static void sysedit_renderBG (double bx, double by, double w, double h, double x, double y)
 Renders the custom widget background. More...
 
static void sysedit_renderSprite (glTexture *gfx, double bx, double by, double x, double y, int sx, int sy, const glColour *c, int selected, const char *caption)
 Renders a sprite for the custom widget. More...
 
static void sysedit_focusLose (unsigned int wid, const char *wgtname)
 Called when it's de-focused. More...
 
static int sysedit_mouseTrySelect (const Select_t *sel, double x, double y, double t, double mx, double my, SDL_Keymod mod, void(*func)(void))
 
static int sysedit_mouse (unsigned int wid, SDL_Event *event, double mx, double my, double w, double h, double xr, double yr, void *data)
 System editor custom widget mouse handling. More...
 
static void sysedit_close (unsigned int wid, const char *wgt)
 Closes the system editor widget. More...
 
static void sysedit_btnNewSpob (unsigned int wid_unused, const char *unused)
 Enters the editor in new spob mode. More...
 
static void sysedit_btnNewAsteroids (unsigned int wid_unused, const char *unused)
 Enters the editor in new spob mode. More...
 
static void sysedit_btnRename (unsigned int wid_unused, const char *unused)
 
static void sysedit_btnRemove (unsigned int wid_unused, const char *unused)
 Removes spobs. More...
 
static void sysedit_btnReset (unsigned int wid_unused, const char *unused)
 Resets jump points. More...
 
static void sysedit_btnScale (unsigned int wid_unused, const char *unused)
 Interface for scaling a system from the system view. More...
 
static void sysedit_btnGrid (unsigned int wid_unused, const char *unused)
 Toggles the grid. More...
 
static void sysedit_btnEdit (unsigned int wid_unused, const char *unused)
 Opens the system property editor. More...
 
static void sysedit_editPnt (void)
 Edits a spob. More...
 
static void sysedit_editPntClose (unsigned int wid, const char *unused)
 Closes the spob editor, saving the changes made. More...
 
static void sysedit_spobDesc (unsigned int wid, const char *unused)
 Displays the spob landing description and bar description in a separate window. More...
 
static void sysedit_spobDescReturn (unsigned int wid, const char *unused)
 Closes the spob description window and returns to the properties window. More...
 
static void sysedit_spobDescClose (unsigned int wid, const char *unused)
 Closes both the spob description window and the properties window. More...
 
static void sysedit_genServicesList (unsigned int wid)
 Generates the spob services list. More...
 
static void sysedit_btnTechEdit (unsigned int wid, const char *unused)
 Edits a spob's tech. More...
 
static void sysedit_genTechList (unsigned int wid)
 Generates the spob tech list. More...
 
static void sysedit_btnAddTech (unsigned int wid, const char *unused)
 Adds a tech to a spob. More...
 
static void sysedit_btnRmTech (unsigned int wid, const char *unused)
 Removes a tech from a spob. More...
 
static void sysedit_btnAddService (unsigned int wid, const char *unused)
 Adds a service to a spob. More...
 
static void sysedit_btnRmService (unsigned int wid, const char *unused)
 Removes a service from a spob. More...
 
static void sysedit_spobGFX (unsigned int wid_unused, const char *wgt)
 Opens the spob landing or space graphic editor. More...
 
static void sysedit_btnGFXClose (unsigned int wid, const char *wgt)
 Closes the spob graphic editor. More...
 
static void sysedit_btnGFXApply (unsigned int wid, const char *wgt)
 Apply new graphics. More...
 
static void sysedit_btnFaction (unsigned int wid_unused, const char *unused)
 Edits a spob's faction. More...
 
static void sysedit_btnFactionSet (unsigned int wid, const char *unused)
 Actually modifies the faction. More...
 
static void sysedit_editJump (void)
 Edits a jump. More...
 
static void sysedit_editJumpClose (unsigned int wid, const char *unused)
 Closes the jump editor, saving the changes made. More...
 
static void sysedit_editAsteroids (void)
 Opens the asteroid editor. More...
 
static void sysedit_editAsteroidsClose (unsigned int wid, const char *unused)
 
static void sysedit_genAsteroidsList (unsigned int wid)
 
static void sysedit_btnAsteroidsDelete (unsigned int wid, const char *unused)
 
static void sysedit_btnRmAsteroid (unsigned int wid, const char *unused)
 
static void sysedit_btnAddAsteroid (unsigned int wid, const char *unused)
 
static void sysedit_editExclusion (void)
 
static void sysedit_editExclusionClose (unsigned int wid, const char *unused)
 
static void sysedit_btnExclusionDelete (unsigned int wid, const char *unused)
 
static int sysedit_keys (unsigned int wid, SDL_Keycode key, SDL_Keymod mod)
 Handles keybindings. More...
 
static int sysedit_selectCmp (const Select_t *a, const Select_t *b)
 Compares two selections to see if they are the same. More...
 
static int sysedit_isSelected (const Select_t *sel)
 Check to see if something is selected. More...
 
static void sysedit_checkButtons (void)
 Checks to see which buttons should be active and the likes. More...
 
static void sysedit_deselect (void)
 Deselects everything. More...
 
static void sysedit_selectAdd (const Select_t *sel)
 Adds a system to the selection. More...
 
static void sysedit_selectRm (Select_t *sel)
 Removes a system from the selection. More...
 
void sysedit_open (StarSystem *sys)
 Opens the system editor interface. More...
 
void sysedit_sysScale (StarSystem *sys, double factor)
 Scales a system. More...
 
static void jp_type_check_hidden_update (unsigned int wid, const char *str)
 Updates the jump point checkboxes. More...
 
static void jp_type_check_exit_update (unsigned int wid, const char *str)
 Updates the jump point checkboxes. More...
 

Variables

static Select_tsysedit_select = NULL
 
static int sysedit_nselect = 0
 
static int sysedit_mselect = 0
 
static Select_t sysedit_tsel
 
static int sysedit_tadd = 0
 
static StarSystem * sysedit_sys = NULL
 
static unsigned int sysedit_wid = 0
 
static unsigned int sysedit_widEdit = 0
 
static int sysedit_grid = 1
 
static double sysedit_xpos = 0.
 
static double sysedit_ypos = 0.
 
static double sysedit_zoom = 1.
 
static int sysedit_moved = 0
 
static unsigned int sysedit_dragTime = 0
 
static int sysedit_drag = 0
 
static int sysedit_dragSel = 0
 
static double sysedit_mx = 0.
 
static double sysedit_my = 0.
 
static int jp_hidden = 0
 
static int jp_exit = 0
 

Detailed Description

Handles the star system editor.

Definition in file dev_sysedit.c.

Macro Definition Documentation

◆ BUTTON_HEIGHT

#define BUTTON_HEIGHT   30

Map button height.

Definition at line 37 of file dev_sysedit.c.

◆ BUTTON_WIDTH

#define BUTTON_WIDTH   100

Map button width.

Definition at line 36 of file dev_sysedit.c.

◆ SYSEDIT_DRAG_THRESHOLD

#define SYSEDIT_DRAG_THRESHOLD   300

Drag threshold.

Definition at line 42 of file dev_sysedit.c.

◆ SYSEDIT_EDIT_HEIGHT

#define SYSEDIT_EDIT_HEIGHT   400

System editor height.

Definition at line 40 of file dev_sysedit.c.

◆ SYSEDIT_EDIT_WIDTH

#define SYSEDIT_EDIT_WIDTH   500

System editor width.

Definition at line 39 of file dev_sysedit.c.

◆ SYSEDIT_MOVE_THRESHOLD

#define SYSEDIT_MOVE_THRESHOLD   10

Movement threshold.

Definition at line 43 of file dev_sysedit.c.

◆ SYSEDIT_ZOOM_MAX

#define SYSEDIT_ZOOM_MAX   1

Maximum zoom level (close).

Definition at line 46 of file dev_sysedit.c.

◆ SYSEDIT_ZOOM_MIN

#define SYSEDIT_ZOOM_MIN   -23

Minimum zoom level (far).

Definition at line 47 of file dev_sysedit.c.

◆ SYSEDIT_ZOOM_STEP

#define SYSEDIT_ZOOM_STEP   1.2

Factor to zoom by for each zoom level.

Definition at line 45 of file dev_sysedit.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SELECT_NONE 

No selection.

SELECT_SPOB 

Selection is a spob.

SELECT_JUMPPOINT 

Selection is a jump point.

SELECT_ASTEROID 

Selection is an asteroid.

SELECT_ASTEXCLUDE 

Selection is an asteroid exclusion zone.

Definition at line 52 of file dev_sysedit.c.

Function Documentation

◆ jp_type_check_exit_update()

static void jp_type_check_exit_update ( unsigned int  wid,
const char *  str 
)
static

Updates the jump point checkboxes.

Definition at line 1500 of file dev_sysedit.c.

◆ jp_type_check_hidden_update()

static void jp_type_check_hidden_update ( unsigned int  wid,
const char *  str 
)
static

Updates the jump point checkboxes.

Definition at line 1484 of file dev_sysedit.c.

◆ sysedit_btnAddAsteroid()

static void sysedit_btnAddAsteroid ( unsigned int  wid,
const char *  unused 
)
static

Definition at line 1735 of file dev_sysedit.c.

◆ sysedit_btnAddService()

static void sysedit_btnAddService ( unsigned int  wid,
const char *  unused 
)
static

Adds a service to a spob.

Definition at line 2006 of file dev_sysedit.c.

◆ sysedit_btnAddTech()

static void sysedit_btnAddTech ( unsigned int  wid,
const char *  unused 
)
static

Adds a tech to a spob.

Definition at line 2160 of file dev_sysedit.c.

◆ sysedit_btnAsteroidsDelete()

static void sysedit_btnAsteroidsDelete ( unsigned int  wid,
const char *  unused 
)
static

Definition at line 1746 of file dev_sysedit.c.

◆ sysedit_btnEdit()

static void sysedit_btnEdit ( unsigned int  wid_unused,
const char *  unused 
)
static

Opens the system property editor.

Definition at line 2293 of file dev_sysedit.c.

◆ sysedit_btnExclusionDelete()

static void sysedit_btnExclusionDelete ( unsigned int  wid,
const char *  unused 
)
static

Definition at line 1815 of file dev_sysedit.c.

◆ sysedit_btnFaction()

static void sysedit_btnFaction ( unsigned int  wid_unused,
const char *  unused 
)
static

Edits a spob's faction.

Definition at line 2208 of file dev_sysedit.c.

◆ sysedit_btnFactionSet()

static void sysedit_btnFactionSet ( unsigned int  wid,
const char *  unused 
)
static

Actually modifies the faction.

Definition at line 2264 of file dev_sysedit.c.

◆ sysedit_btnGFXApply()

static void sysedit_btnGFXApply ( unsigned int  wid,
const char *  wgt 
)
static

Apply new graphics.

Definition at line 2388 of file dev_sysedit.c.

◆ sysedit_btnGFXClose()

static void sysedit_btnGFXClose ( unsigned int  wid,
const char *  wgt 
)
static

Closes the spob graphic editor.

Definition at line 2380 of file dev_sysedit.c.

◆ sysedit_btnGrid()

static void sysedit_btnGrid ( unsigned int  wid_unused,
const char *  unused 
)
static

Toggles the grid.

Definition at line 645 of file dev_sysedit.c.

◆ sysedit_btnNewAsteroids()

static void sysedit_btnNewAsteroids ( unsigned int  wid_unused,
const char *  unused 
)
static

Enters the editor in new spob mode.

Definition at line 422 of file dev_sysedit.c.

◆ sysedit_btnNewSpob()

static void sysedit_btnNewSpob ( unsigned int  wid_unused,
const char *  unused 
)
static

Enters the editor in new spob mode.

Definition at line 368 of file dev_sysedit.c.

◆ sysedit_btnRemove()

static void sysedit_btnRemove ( unsigned int  wid_unused,
const char *  unused 
)
static

Removes spobs.

Definition at line 516 of file dev_sysedit.c.

◆ sysedit_btnRename()

static void sysedit_btnRename ( unsigned int  wid_unused,
const char *  unused 
)
static

Definition at line 467 of file dev_sysedit.c.

◆ sysedit_btnReset()

static void sysedit_btnReset ( unsigned int  wid_unused,
const char *  unused 
)
static

Resets jump points.

Definition at line 556 of file dev_sysedit.c.

◆ sysedit_btnRmAsteroid()

static void sysedit_btnRmAsteroid ( unsigned int  wid,
const char *  unused 
)
static

Definition at line 1723 of file dev_sysedit.c.

◆ sysedit_btnRmService()

static void sysedit_btnRmService ( unsigned int  wid,
const char *  unused 
)
static

Removes a service from a spob.

Definition at line 2027 of file dev_sysedit.c.

◆ sysedit_btnRmTech()

static void sysedit_btnRmTech ( unsigned int  wid,
const char *  unused 
)
static

Removes a tech from a spob.

Definition at line 2182 of file dev_sysedit.c.

◆ sysedit_btnScale()

static void sysedit_btnScale ( unsigned int  wid_unused,
const char *  unused 
)
static

Interface for scaling a system from the system view.

Definition at line 573 of file dev_sysedit.c.

◆ sysedit_btnTechEdit()

static void sysedit_btnTechEdit ( unsigned int  wid,
const char *  unused 
)
static

Edits a spob's tech.

Definition at line 2051 of file dev_sysedit.c.

◆ sysedit_buttonZoom()

static void sysedit_buttonZoom ( unsigned int  wid,
const char *  str 
)
static

Handles the button zoom clicks.

Parameters
widUnused.
strName of the button creating the event.

Definition at line 1183 of file dev_sysedit.c.

◆ sysedit_checkButtons()

static void sysedit_checkButtons ( void  )
static

Checks to see which buttons should be active and the likes.

Definition at line 1224 of file dev_sysedit.c.

◆ sysedit_close()

static void sysedit_close ( unsigned int  wid,
const char *  wgt 
)
static

Closes the system editor widget.

Definition at line 285 of file dev_sysedit.c.

◆ sysedit_deselect()

static void sysedit_deselect ( void  )
static

Deselects everything.

Definition at line 1209 of file dev_sysedit.c.

◆ sysedit_editAsteroids()

static void sysedit_editAsteroids ( void  )
static

Opens the asteroid editor.

Definition at line 1602 of file dev_sysedit.c.

◆ sysedit_editAsteroidsClose()

static void sysedit_editAsteroidsClose ( unsigned int  wid,
const char *  unused 
)
static

Definition at line 1763 of file dev_sysedit.c.

◆ sysedit_editExclusion()

static void sysedit_editExclusion ( void  )
static

Definition at line 1781 of file dev_sysedit.c.

◆ sysedit_editExclusionClose()

static void sysedit_editExclusionClose ( unsigned int  wid,
const char *  unused 
)
static

Definition at line 1831 of file dev_sysedit.c.

◆ sysedit_editJump()

static void sysedit_editJump ( void  )
static

Edits a jump.

Definition at line 1516 of file dev_sysedit.c.

◆ sysedit_editJumpClose()

static void sysedit_editJumpClose ( unsigned int  wid,
const char *  unused 
)
static

Closes the jump editor, saving the changes made.

Definition at line 1578 of file dev_sysedit.c.

◆ sysedit_editPnt()

static void sysedit_editPnt ( void  )
static

Edits a spob.

Definition at line 1338 of file dev_sysedit.c.

◆ sysedit_editPntClose()

static void sysedit_editPntClose ( unsigned int  wid,
const char *  unused 
)
static

Closes the spob editor, saving the changes made.

Definition at line 323 of file dev_sysedit.c.

◆ sysedit_focusLose()

static void sysedit_focusLose ( unsigned int  wid,
const char *  wgtname 
)
static

Called when it's de-focused.

Definition at line 916 of file dev_sysedit.c.

◆ sysedit_genAsteroidsList()

static void sysedit_genAsteroidsList ( unsigned int  wid)
static

Definition at line 1678 of file dev_sysedit.c.

◆ sysedit_genServicesList()

static void sysedit_genServicesList ( unsigned int  wid)
static

Generates the spob services list.

Definition at line 1937 of file dev_sysedit.c.

◆ sysedit_genTechList()

static void sysedit_genTechList ( unsigned int  wid)
static

Generates the spob tech list.

Definition at line 2082 of file dev_sysedit.c.

◆ sysedit_isSelected()

static int sysedit_isSelected ( const Select_t s)
static

Check to see if something is selected.

Definition at line 1327 of file dev_sysedit.c.

◆ sysedit_keys()

static int sysedit_keys ( unsigned int  wid,
SDL_Keycode  key,
SDL_Keymod  mod 
)
static

Handles keybindings.

Definition at line 270 of file dev_sysedit.c.

◆ sysedit_mouse()

static int sysedit_mouse ( unsigned int  wid,
SDL_Event *  event,
double  mx,
double  my,
double  w,
double  h,
double  xr,
double  yr,
void *  data 
)
static

System editor custom widget mouse handling.

Definition at line 977 of file dev_sysedit.c.

◆ sysedit_mouseTrySelect()

static int sysedit_mouseTrySelect ( const Select_t sel,
double  x,
double  y,
double  t,
double  mx,
double  my,
SDL_Keymod  mod,
void(*)(void)  func 
)
static

Definition at line 923 of file dev_sysedit.c.

◆ sysedit_open()

void sysedit_open ( StarSystem *  sys)

Opens the system editor interface.

Definition at line 169 of file dev_sysedit.c.

◆ sysedit_render()

static void sysedit_render ( double  bx,
double  by,
double  w,
double  h,
void *  data 
)
static

System editor custom widget rendering.

Definition at line 656 of file dev_sysedit.c.

◆ sysedit_renderAsteroidExclusion()

static void sysedit_renderAsteroidExclusion ( double  bx,
double  by,
const AsteroidExclusion aexcl,
int  selected 
)
static

Draws an asteroid exclusion zone on the map.

Definition at line 806 of file dev_sysedit.c.

◆ sysedit_renderAsteroidsField()

static void sysedit_renderAsteroidsField ( double  bx,
double  by,
const AsteroidAnchor ast,
int  selected 
)
static

Draws an asteroid field on the map.

Definition at line 780 of file dev_sysedit.c.

◆ sysedit_renderBG()

static void sysedit_renderBG ( double  bx,
double  bw,
double  w,
double  h,
double  x,
double  y 
)
static

Renders the custom widget background.

Definition at line 835 of file dev_sysedit.c.

◆ sysedit_renderSprite()

static void sysedit_renderSprite ( glTexture gfx,
double  bx,
double  by,
double  x,
double  y,
int  sx,
int  sy,
const glColour *  c,
int  selected,
const char *  caption 
)
static

Renders a sprite for the custom widget.

Definition at line 881 of file dev_sysedit.c.

◆ sysedit_selectAdd()

static void sysedit_selectAdd ( const Select_t sel)
static

Adds a system to the selection.

Definition at line 1277 of file dev_sysedit.c.

◆ sysedit_selectCmp()

static int sysedit_selectCmp ( const Select_t a,
const Select_t b 
)
static

Compares two selections to see if they are the same.

Returns
1 if both selections are the same.

Definition at line 1319 of file dev_sysedit.c.

◆ sysedit_selectRm()

static void sysedit_selectRm ( Select_t sel)
static

Removes a system from the selection.

Definition at line 1299 of file dev_sysedit.c.

◆ sysedit_spobDesc()

static void sysedit_spobDesc ( unsigned int  wid,
const char *  unused 
)
static

Displays the spob landing description and bar description in a separate window.

Definition at line 1846 of file dev_sysedit.c.

◆ sysedit_spobDescClose()

static void sysedit_spobDescClose ( unsigned int  wid,
const char *  unused 
)
static

Closes both the spob description window and the properties window.

Definition at line 1928 of file dev_sysedit.c.

◆ sysedit_spobDescReturn()

static void sysedit_spobDescReturn ( unsigned int  wid,
const char *  unused 
)
static

Closes the spob description window and returns to the properties window.

Definition at line 1902 of file dev_sysedit.c.

◆ sysedit_spobGFX()

static void sysedit_spobGFX ( unsigned int  wid_unused,
const char *  wgt 
)
static

Opens the spob landing or space graphic editor.

Definition at line 2311 of file dev_sysedit.c.

◆ sysedit_sysScale()

void sysedit_sysScale ( StarSystem *  sys,
double  factor 
)

Scales a system.

Definition at line 604 of file dev_sysedit.c.

Variable Documentation

◆ jp_exit

int jp_exit = 0
static

Jump point exit only checkbox value.

Definition at line 97 of file dev_sysedit.c.

◆ jp_hidden

int jp_hidden = 0
static

Jump point hidden checkbox value.

Definition at line 96 of file dev_sysedit.c.

◆ sysedit_drag

int sysedit_drag = 0
static

Dragging viewport around.

Definition at line 90 of file dev_sysedit.c.

◆ sysedit_dragSel

int sysedit_dragSel = 0
static

Dragging system around.

Definition at line 91 of file dev_sysedit.c.

◆ sysedit_dragTime

unsigned int sysedit_dragTime = 0
static

Tick last started to drag.

Definition at line 89 of file dev_sysedit.c.

◆ sysedit_grid

int sysedit_grid = 1
static

Grid is visible.

Definition at line 84 of file dev_sysedit.c.

◆ sysedit_moved

int sysedit_moved = 0
static

Space moved since mouse down.

Definition at line 88 of file dev_sysedit.c.

◆ sysedit_mselect

int sysedit_mselect = 0
static

Memory allocated for selections.

Definition at line 74 of file dev_sysedit.c.

◆ sysedit_mx

double sysedit_mx = 0.
static

Cursor X position.

Definition at line 92 of file dev_sysedit.c.

◆ sysedit_my

double sysedit_my = 0.
static

Cursor Y position.

Definition at line 93 of file dev_sysedit.c.

◆ sysedit_nselect

int sysedit_nselect = 0
static

Number of selections in current system.

Definition at line 73 of file dev_sysedit.c.

◆ sysedit_select

Select_t* sysedit_select = NULL
static

Current system selection.

Definition at line 72 of file dev_sysedit.c.

◆ sysedit_sys

StarSystem* sysedit_sys = NULL
static

Currently opened system.

Definition at line 81 of file dev_sysedit.c.

◆ sysedit_tadd

int sysedit_tadd = 0
static

Add to selection.

Definition at line 76 of file dev_sysedit.c.

◆ sysedit_tsel

Select_t sysedit_tsel
static

Temporary selection.

Definition at line 75 of file dev_sysedit.c.

◆ sysedit_wid

unsigned int sysedit_wid = 0
static

Sysedit wid.

Definition at line 82 of file dev_sysedit.c.

◆ sysedit_widEdit

unsigned int sysedit_widEdit = 0
static

Spob editor wid.

Definition at line 83 of file dev_sysedit.c.

◆ sysedit_xpos

double sysedit_xpos = 0.
static

Viewport X position.

Definition at line 85 of file dev_sysedit.c.

◆ sysedit_ypos

double sysedit_ypos = 0.
static

Viewport Y position.

Definition at line 86 of file dev_sysedit.c.

◆ sysedit_zoom

double sysedit_zoom = 1.
static

Viewport zoom level.

Definition at line 87 of file dev_sysedit.c.