projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513be49
)
added saving BD style levels in R'n'D format as native BDCFF files
author
Holger Schemel
<info@artsoft.org>
Wed, 28 Feb 2024 15:06:08 +0000
(16:06 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 28 Feb 2024 15:06:38 +0000
(16:06 +0100)
src/game_bd/main_bd.c
patch
|
blob
|
history
diff --git
a/src/game_bd/main_bd.c
b/src/game_bd/main_bd.c
index 3cda1ac5cea5655f2ddcc84a4b95a2f83bbf04ec..da296229a6652392b2ecd6f56ea05f05b49e304a 100644
(file)
--- a/
src/game_bd/main_bd.c
+++ b/
src/game_bd/main_bd.c
@@
-156,6
+156,11
@@
boolean LoadNativeLevel_BD(char *filename, int level_pos, boolean level_info_onl
boolean SaveNativeLevel_BD(char *filename)
{
+ GdCave *cave = gd_cave_new_from_cave(native_bd_level.cave);
+
+ gd_caveset_clear();
+ gd_caveset = list_append(gd_caveset, cave);
+
return gd_caveset_save_to_file(filename);
}