annotate src/p2_definitions.h @ 635:9a64914a8fca

3.10 re-release addressing some minor issues and language fixes
author heinrichsweikamp
date Thu, 07 May 2020 09:12:59 +0200
parents c40025d8e750
children 75e90cd0c2c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
1 // ****************************************************************************
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
2 // ** Common definitions for the OSTC decompression code **
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
3 // ****************************************************************************
0
heinrichsweikamp
parents:
diff changeset
4
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
5 // next generation V3.0.1
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 311
diff changeset
6
0
heinrichsweikamp
parents:
diff changeset
7 //////////////////////////////////////////////////////////////////////////////
heinrichsweikamp
parents:
diff changeset
8 // OSTC - diving computer code
heinrichsweikamp
parents:
diff changeset
9 // Copyright (C) 2008 HeinrichsWeikamp GbR
heinrichsweikamp
parents:
diff changeset
10 //
heinrichsweikamp
parents:
diff changeset
11 // This program is free software: you can redistribute it and/or modify
heinrichsweikamp
parents:
diff changeset
12 // it under the terms of the GNU General Public License as published by
heinrichsweikamp
parents:
diff changeset
13 // the Free Software Foundation, either version 3 of the License, or
heinrichsweikamp
parents:
diff changeset
14 // (at your option) any later version.
heinrichsweikamp
parents:
diff changeset
15 //
heinrichsweikamp
parents:
diff changeset
16 // This program is distributed in the hope that it will be useful,
heinrichsweikamp
parents:
diff changeset
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
heinrichsweikamp
parents:
diff changeset
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
heinrichsweikamp
parents:
diff changeset
19 // GNU General Public License for more details.
heinrichsweikamp
parents:
diff changeset
20 //
heinrichsweikamp
parents:
diff changeset
21 // You should have received a copy of the GNU General Public License
heinrichsweikamp
parents:
diff changeset
22 // along with this program. If not, see <http://www.gnu.org/licenses/>.
heinrichsweikamp
parents:
diff changeset
23 //
heinrichsweikamp
parents:
diff changeset
24 //////////////////////////////////////////////////////////////////////////////
heinrichsweikamp
parents:
diff changeset
25
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 311
diff changeset
26
0
heinrichsweikamp
parents:
diff changeset
27
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
28 // ***********************************************
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
29 // ** P R O T O T Y P E S **
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
30 // ***********************************************
0
heinrichsweikamp
parents:
diff changeset
31
heinrichsweikamp
parents:
diff changeset
32 extern void deco_calc_hauptroutine(void);
heinrichsweikamp
parents:
diff changeset
33 extern void deco_clear_tissue(void);
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
34 extern void deco_calc_dive_interval(void);
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
35 extern void deco_calc_dive_interval_1min(void);
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
36 extern void deco_calc_dive_interval_10min(void);
0
heinrichsweikamp
parents:
diff changeset
37 extern void deco_calc_desaturation_time(void);
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
38 extern void deco_push_tissues_to_vault(void);
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
39 extern void deco_pull_tissues_from_vault(void);
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
40 extern void deco_init_output_vars(void);
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 311
diff changeset
41
0
heinrichsweikamp
parents:
diff changeset
42
heinrichsweikamp
parents:
diff changeset
43 // ***********************************************
heinrichsweikamp
parents:
diff changeset
44 // ** Allow compile on VisualC **
heinrichsweikamp
parents:
diff changeset
45 // ***********************************************
heinrichsweikamp
parents:
diff changeset
46
285
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 0
diff changeset
47 #if defined(WIN32) || defined(UNIX)
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
48 // Some keywords just do not exists on Visual C++:
0
heinrichsweikamp
parents:
diff changeset
49 # define CROSS_COMPILE
heinrichsweikamp
parents:
diff changeset
50 # define __18CXX
heinrichsweikamp
parents:
diff changeset
51 # define ram
heinrichsweikamp
parents:
diff changeset
52 # define rom
heinrichsweikamp
parents:
diff changeset
53 # define overlay
heinrichsweikamp
parents:
diff changeset
54 # define PARAMETER
heinrichsweikamp
parents:
diff changeset
55
285
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 0
diff changeset
56 # include <assert.h>
0
heinrichsweikamp
parents:
diff changeset
57 #else
heinrichsweikamp
parents:
diff changeset
58 # define PARAMETER static
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
59 # ifdef _DEBUG
0
heinrichsweikamp
parents:
diff changeset
60 # define assert(predicate) if( !(predicate) ) assert_failed(__LINE__)
heinrichsweikamp
parents:
diff changeset
61 # else
heinrichsweikamp
parents:
diff changeset
62 # define assert(predicate)
heinrichsweikamp
parents:
diff changeset
63 # endif
heinrichsweikamp
parents:
diff changeset
64 #endif
heinrichsweikamp
parents:
diff changeset
65
heinrichsweikamp
parents:
diff changeset
66 //////////////////////////////////////////////////////////////////////////////