Skip to content

Commit 87dba5e

Browse files
Merge branch 'master' into release-config
2 parents 7c130f9 + 5bc1c46 commit 87dba5e

25 files changed

+40
-5
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ task buildMaps(type: JavaExec, dependsOn: [':engine:build']) {
5151

5252
def defaultClassLocation = project(':example-bots').sourceSets.main.output.classesDirs.getAsPath()
5353
def defaultReplay = 'matches/' + project.property('teamA') + '-vs-' + project.property('teamB') + '-on-' + project.property('maps') + new Date().format('yyyyMMddHHmmss') + '.bc24'
54+
def saveFileName = (project.findProperty('replay') ?: defaultReplay)
55+
saveFileName = saveFileName.substring(0, saveFileName.length() - 5)
56+
saveFileName = saveFileName.substring(0, Math.min(saveFileName.length(), 100)) + '.bc24'
5457

5558
task headless(type: JavaExec, dependsOn: [':engine:build', ':example-bots:build']) {
5659
mainClass = 'battlecode.server.Main'
@@ -74,7 +77,7 @@ task headless(type: JavaExec, dependsOn: [':engine:build', ':example-bots:build'
7477
'-Dbc.game.maps=' + project.property('maps'),
7578
'-Dbc.server.validate-maps=' + project.property('validateMaps'),
7679
'-Dbc.server.alternate-order=' + project.property('alternateOrder'),
77-
'-Dbc.server.save-file=' + (project.findProperty('replay') ?: defaultReplay),
80+
'-Dbc.server.save-file=' + (saveFileName)
7881
]
7982
}
8083

client/src/constants.ts

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { schema } from 'battlecode-schema'
22

3-
export const GAME_VERSION = '3.0.3'
4-
export const SPEC_VERSION = '3.0.3'
3+
export const GAME_VERSION = '3.0.5'
4+
export const SPEC_VERSION = '3.0.5'
55
export const BATTLECODE_YEAR: number = 2024
66
export const MAP_SIZE_RANGE = {
77
min: 30,
@@ -29,6 +29,28 @@ export const ENGINE_BUILTIN_MAP_NAMES: string[] = [
2929
'DefaultLarge',
3030
'DefaultHuge',
3131

32+
'Alligator',
33+
'Anchor',
34+
'Battlefield',
35+
'BreadPudding',
36+
'Decision',
37+
'English',
38+
'Gated',
39+
'Gauntlet',
40+
'Hurricane',
41+
'Islands',
42+
'Mountain',
43+
'Occulus',
44+
'Randy',
45+
'Skyline',
46+
'Starfish',
47+
'StarryNight',
48+
'Swoop',
49+
'TwistedTreeline',
50+
'Valentine',
51+
'Waterworld',
52+
'WheresMyWater',
53+
3254
'Asteroids',
3355
'Backslash',
3456
'Capacitance',

engine/src/main/battlecode/common/GameConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class GameConstants {
99
/**
1010
* The current spec version the server compiles with.
1111
*/
12-
public static final String SPEC_VERSION = "3.0.3";
12+
public static final String SPEC_VERSION = "3.0.5";
1313

1414
// *********************************
1515
// ****** MAP CONSTANTS ************
4.38 KB
Binary file not shown.
4.89 KB
Binary file not shown.
5.46 KB
Binary file not shown.
3.54 KB
Binary file not shown.
11.3 KB
Binary file not shown.
13.4 KB
Binary file not shown.
4.96 KB
Binary file not shown.

0 commit comments

Comments
 (0)