Mercurial > public > hwos_code
comparison src/divemode.inc @ 656:8af5aefbcdaf default tip
Update to 3.31 beta
| author | heinrichsweikamp |
|---|---|
| date | Thu, 27 Nov 2025 18:32:58 +0100 |
| parents | 75e90cd0c2c3 |
| children |
comparison
equal
deleted
inserted
replaced
| 655:c7b7b8a358cd | 656:8af5aefbcdaf |
|---|---|
| 19 IFDEF _ccr_pscr | 19 IFDEF _ccr_pscr |
| 20 extern setup_dil_registers | 20 extern setup_dil_registers |
| 21 extern deco_setup_cc_diluents | 21 extern deco_setup_cc_diluents |
| 22 ENDIF | 22 ENDIF |
| 23 | 23 |
| 24 IFDEF _external_sensor | 24 IFDEF _external_sensor_eccr |
| 25 extern calc_deko_divemode_sensor | 25 extern calc_deko_divemode_sensor |
| 26 ENDIF | 26 ENDIF |
| 27 | 27 |
| 28 | 28 |
| 29 ; Divemode layout: | 29 ; Divemode layout: |
| 76 ; Depth - full meters or feet | 76 ; Depth - full meters or feet |
| 77 #DEFINE dm_depth_row_large dm_offset ; 14 | 77 #DEFINE dm_depth_row_large dm_offset ; 14 |
| 78 #DEFINE dm_depth_col_large .0 ; 0 | 78 #DEFINE dm_depth_col_large .0 ; 0 |
| 79 #DEFINE dm_depth_bot_large dm_depth_row_large+.61 ; 75 | 79 #DEFINE dm_depth_bot_large dm_depth_row_large+.61 ; 75 |
| 80 #DEFINE dm_depth_rgt_large dm_depth_col_large+.59 ; 59 | 80 #DEFINE dm_depth_rgt_large dm_depth_col_large+.59 ; 59 |
| 81 #DEFINE dm_depth_row_huge .7 ; 7 | 81 #DEFINE dm_depth_row_huge .8 ; 8 |
| 82 #DEFINE dm_depth_col_huge .0 ; 0 | 82 #DEFINE dm_depth_col_huge .0 ; 0 |
| 83 #DEFINE dm_depth_bot_huge dm_depth_row_huge+.90 ; 97 | 83 #DEFINE dm_depth_bot_huge dm_depth_row_huge+.90 ; 97 |
| 84 #DEFINE dm_depth_rgt_huge dm_depth_col_huge+.90 ; 90 | 84 #DEFINE dm_depth_rgt_huge dm_depth_col_huge+.90 ; 90 |
| 85 | 85 |
| 86 ; Depth - position of decimeters (shown if depth < 100 m) | 86 ; Depth - position of decimeters (shown if depth < 100 m) |
| 302 | 302 |
| 303 ; Tissue title | 303 ; Tissue title |
| 304 #DEFINE dm_custom_tissue_title_row dm_customview_row+.1 ; 102 | 304 #DEFINE dm_custom_tissue_title_row dm_customview_row+.1 ; 102 |
| 305 #DEFINE dm_custom_tissue_title_column .120 ; 120 | 305 #DEFINE dm_custom_tissue_title_column .120 ; 120 |
| 306 | 306 |
| 307 ; Surf GF | |
| 308 #DEFINE dm_custom_surfGF_title_row dm_customview_row+.1 ; 102 | |
| 309 #DEFINE dm_custom_surfGF_title_column .110 ; 116 | |
| 310 | |
| 307 ; N2 / He values | 311 ; N2 / He values |
| 308 #DEFINE dm_custom_tissue_N2_row dm_custom_ead_row+.5 ; 122 | 312 #DEFINE dm_custom_tissue_N2_row dm_custom_ead_row+.5 ; 122 |
| 309 #DEFINE dm_custom_tissue_N2_column .105 ; 105 | 313 #DEFINE dm_custom_tissue_N2_column .105 ; 105 |
| 310 #DEFINE dm_custom_tissue_He_row dm_custom_end_row+.5 ; 145 | 314 #DEFINE dm_custom_tissue_He_row dm_custom_end_row+.5 ; 145 |
| 311 #DEFINE dm_custom_tissue_He_column dm_custom_tissue_N2_column ; 105 | 315 #DEFINE dm_custom_tissue_He_column dm_custom_tissue_N2_column ; 105 |
| 331 ;----------------------------------------------------------------------------- | 335 ;----------------------------------------------------------------------------- |
| 332 ; Custom View: Compass | 336 ; Custom View: Compass |
| 333 | 337 |
| 334 ; Title | 338 ; Title |
| 335 #DEFINE dm_custom_compass_mask_row dm_customview_row ; 101 | 339 #DEFINE dm_custom_compass_mask_row dm_customview_row ; 101 |
| 336 #DEFINE dm_custom_compass_mask_column .65 ; 65 | 340 #DEFINE dm_custom_compass_mask_column .5 |
| 337 | 341 |
| 338 ; Head and arrows | 342 ; Head and arrows |
| 339 #DEFINE dm_custom_compass_head_row dm_customview_row+.37 ; 138 | 343 #DEFINE dm_custom_compass_head_row dm_customview_row ; 120 |
| 340 #DEFINE dm_custom_compass_head_column .62 ; 62 | 344 #DEFINE dm_custom_compass_head_column .75 ; 62 |
| 341 #DEFINE dm_custom_compass_ldir_column .5 ; 5 | 345 #DEFINE dm_custom_compass_unit_row dm_custom_compass_head_row+.2 ; 138 |
| 346 #DEFINE dm_custom_compass_unit_column dm_custom_compass_head_column+.36 | |
| 347 #DEFINE dm_compass_bear_row dm_customview_row+.14 | |
| 348 #DEFINE dm_compass_bear_column .20 | |
| 349 #DEFINE dm_compass_stopwatch_row dm_customview_row+.37 | |
| 350 #DEFINE dm_compass_stopwatch_column .20 | |
| 351 | |
| 352 #DEFINE dm_custom_compass_ldir_column .5 ; 5 | |
| 342 #DEFINE dm_custom_compass_rdir_column .138 ; 138 | 353 #DEFINE dm_custom_compass_rdir_column .138 ; 138 |
| 343 | 354 |
| 344 ; Ruler | 355 ; Ruler |
| 345 #DEFINE dm_custom_compass_graph_row dm_customview_row ; 101 | 356 ;#DEFINE dm_custom_compass_graph_row dm_customview_row ; 101 |
| 346 #DEFINE dm_custom_compass_graph_height .33 ; 33 | 357 ;#DEFINE dm_custom_compass_graph_height .33 ; 33 |
| 347 #DEFINE dm_custom_compass_tick_height .3 ; 3 | 358 ;#DEFINE dm_custom_compass_tick_height .3 ; 3 |
| 348 #DEFINE dm_custom_compass_tick_top_top dm_custom_compass_graph_row+.1 ; 102 | 359 ;#DEFINE dm_custom_compass_tick_top_top dm_custom_compass_graph_row+.1 ; 102 |
| 349 #DEFINE dm_custom_compass_tick_top_bot dm_custom_compass_graph_row+.4 ; 105 | 360 ;#DEFINE dm_custom_compass_tick_top_bot dm_custom_compass_graph_row+.4 ; 105 |
| 350 #DEFINE dm_custom_compass_label_row dm_custom_compass_graph_row+.6 ; 107 | 361 ;#DEFINE dm_custom_compass_label_row dm_custom_compass_graph_row+.6 ; 107 |
| 351 #DEFINE dm_custom_compass_label_height .24 ; 24 | 362 ;#DEFINE dm_custom_compass_label_height .24 ; 24 |
| 352 #DEFINE dm_custom_compass_tick_bot_top dm_custom_compass_graph_row+.30 ; 131 | 363 ;#DEFINE dm_custom_compass_tick_bot_top dm_custom_compass_graph_row+.30 ; 131 |
| 353 #DEFINE dm_custom_compass_tick_bot_bot dm_custom_compass_graph_row+.33 ; 134 | 364 ;#DEFINE dm_custom_compass_tick_bot_bot dm_custom_compass_graph_row+.33 ; 134 |
| 354 | 365 |
| 355 | 366 |
| 356 ;----------------------------------------------------------------------------- | 367 ;----------------------------------------------------------------------------- |
| 357 ; Custom View: O2 Sensor Values | 368 ; Custom View: O2 Sensor Values |
| 358 | 369 |
