hedgewars/uLandUtils.pas
branchtransitional_engine
changeset 16050 6a3dc15b78b9
parent 16036 96d0e6149d3d
child 16052 0fd23fc57947
--- a/hedgewars/uLandUtils.pas	Fri Jan 19 13:07:22 2024 +0100
+++ b/hedgewars/uLandUtils.pas	Wed Aug 28 15:31:51 2024 +0200
@@ -20,23 +20,21 @@
 implementation
 uses uUtils, uConsts, uVariables, uTypes;
 
-const LibFutureName = 'hwengine_future';
-
-function  create_empty_game_field(width, height: Longword): pointer; cdecl; external LibFutureName;
-procedure get_game_field_parameters(game_field: pointer; var width: LongInt; var height: LongInt; var play_width: LongInt; var play_height: LongInt); cdecl; external LibFutureName;
-procedure dispose_game_field(game_field: pointer); cdecl; external LibFutureName;
+function  create_empty_game_field(width, height: Longword): pointer; cdecl; external;
+procedure get_game_field_parameters(game_field: pointer; var width: LongInt; var height: LongInt; var play_width: LongInt; var play_height: LongInt); cdecl; external;
+procedure dispose_game_field(game_field: pointer); cdecl; external;
 
-function  land_get(game_field: pointer; x, y: LongInt): Word; cdecl; external LibFutureName;
-procedure land_set(game_field: pointer; x, y: LongInt; value: Word); cdecl; external LibFutureName;
-function  land_row(game_field: pointer; row: LongInt): PWordArray; cdecl; external LibFutureName;
-procedure land_fill(game_field: pointer; x, y: LongInt; border, fill: Word); cdecl; external LibFutureName;
+function  land_get(game_field: pointer; x, y: LongInt): Word; cdecl; external;
+procedure land_set(game_field: pointer; x, y: LongInt; value: Word); cdecl; external;
+function  land_row(game_field: pointer; row: LongInt): PWordArray; cdecl; external;
+procedure land_fill(game_field: pointer; x, y: LongInt; border, fill: Word); cdecl; external;
 
-function  land_pixel_get(game_field: pointer; x, y: LongInt): Longword; cdecl; external LibFutureName;
-procedure land_pixel_set(game_field: pointer; x, y: LongInt; value: Longword); cdecl; external LibFutureName;
-function  land_pixel_row(game_field: pointer; row: LongInt): PLongwordArray; cdecl; external LibFutureName;
+function  land_pixel_get(game_field: pointer; x, y: LongInt): Longword; cdecl; external;
+procedure land_pixel_set(game_field: pointer; x, y: LongInt; value: Longword); cdecl; external;
+function  land_pixel_row(game_field: pointer; row: LongInt): PLongwordArray; cdecl; external;
 
-function  generate_templated_game_field(feature_size: Longword; seed, template_type, data_path: PChar): pointer; cdecl; external LibFutureName;
-procedure apply_theme(game_field: pointer; data_path, theme_name: PChar); cdecl; external LibFutureName;
+function  generate_templated_game_field(feature_size: Longword; seed, template_type, data_path: PChar): pointer; cdecl; external;
+procedure apply_theme(game_field: pointer; data_path, theme_name: PChar); cdecl; external;
 
 var gameField: pointer;