Tobis Programm forked to not destroy your golden files
Fork of Robocode by
source/StartUp.cpp@57:1a395b6928ee, 2017-04-18 (annotated)
- Committer:
- cittecla
- Date:
- Tue Apr 18 15:38:15 2017 +0000
- Revision:
- 57:1a395b6928ee
- Parent:
- 38:3526c36e4c73
- Child:
- 60:b57577b0072f
update start_up
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cittecla | 38:3526c36e4c73 | 1 | #include "StartUp.h" |
cittecla | 38:3526c36e4c73 | 2 | |
cittecla | 38:3526c36e4c73 | 3 | |
cittecla | 57:1a395b6928ee | 4 | int idel() |
cittecla | 57:1a395b6928ee | 5 | { |
cittecla | 57:1a395b6928ee | 6 | if(get_user()) { |
cittecla | 57:1a395b6928ee | 7 | return 15; |
cittecla | 57:1a395b6928ee | 8 | } else { |
cittecla | 57:1a395b6928ee | 9 | return 10; |
cittecla | 38:3526c36e4c73 | 10 | } |
cittecla | 57:1a395b6928ee | 11 | } |
cittecla | 57:1a395b6928ee | 12 | |
cittecla | 57:1a395b6928ee | 13 | int idel2() |
cittecla | 57:1a395b6928ee | 14 | { |
cittecla | 57:1a395b6928ee | 15 | if(get_user()) { |
cittecla | 57:1a395b6928ee | 16 | return 25; |
cittecla | 57:1a395b6928ee | 17 | } else { |
cittecla | 57:1a395b6928ee | 18 | return 11; |
cittecla | 38:3526c36e4c73 | 19 | } |
cittecla | 57:1a395b6928ee | 20 | } |
cittecla | 38:3526c36e4c73 | 21 | |
cittecla | 57:1a395b6928ee | 22 | |
cittecla | 57:1a395b6928ee | 23 | int initialisation() |
cittecla | 57:1a395b6928ee | 24 | { |
cittecla | 57:1a395b6928ee | 25 | Robot_init_all(); |
cittecla | 57:1a395b6928ee | 26 | return 16; |
cittecla | 57:1a395b6928ee | 27 | } |
cittecla | 57:1a395b6928ee | 28 | |
cittecla | 57:1a395b6928ee | 29 | |
cittecla | 57:1a395b6928ee | 30 | int inital_positioning() |
cittecla | 57:1a395b6928ee | 31 | { |
cittecla | 57:1a395b6928ee | 32 | |
cittecla | 57:1a395b6928ee | 33 | return 11; |
cittecla | 57:1a395b6928ee | 34 | } |
cittecla | 57:1a395b6928ee | 35 | |
cittecla | 57:1a395b6928ee | 36 | |
cittecla | 57:1a395b6928ee | 37 | int initial_turn() |
cittecla | 57:1a395b6928ee | 38 | { |
cittecla | 57:1a395b6928ee | 39 | |
cittecla | 38:3526c36e4c73 | 40 | return 0; |
cittecla | 57:1a395b6928ee | 41 | } |