Skip to content

Commit 268873b

Browse files
authored
Merge pull request #485 from Ghabry/bit-perfect
Restore Bit perfect read/write ability
2 parents c06f313 + e17f3a1 commit 268873b

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

generator/csv/fields_easyrpg.csv

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ SaveEventExecState,easyrpg_parameters,f,Vector<Int32>,0xCB,,0,0,Preserved int pa
1414
SavePicture,easyrpg_flip,f,Enum<EasyRpgFlip>,0xC8,0,0,1,How to flip the picture
1515
SavePicture,easyrpg_blend_mode,f,Int32,0xC9,0,0,1,Blend mode to use for blit. See Bitmap::BlendMode
1616
SavePicture,easyrpg_type,f,Enum<EasyRpgPictureType>,0xCA,0,0,1,Type of this picture
17-
SavePicture,maniac_current_magnify_height,f,Double,0x0A,100.0,0,1,Current zoom level of picture (y direction).
18-
SavePicture,maniac_finish_magnify_height,f,Int32,0x24,100,0,1,Final zoom level to animate picture to (y direction).
17+
SavePicture,maniac_current_magnify_height,f,Double,0x0A,100.0,0,0,Current zoom level of picture (y direction).
18+
SavePicture,maniac_finish_magnify_height,f,Int32,0x24,100,0,0,Final zoom level to animate picture to (y direction).
1919
SaveEasyRpgWindow,texts,f,Array<SaveEasyRpgText>,0x01,,0,0,Texts to render
2020
SaveEasyRpgWindow,width,f,Int32,0x02,0,0,0,Window width (px)
2121
SaveEasyRpgWindow,height,f,Int32,0x03,0,0,0,Window height (px)
@@ -51,10 +51,10 @@ Actor,easyrpg_immune_to_attribute_downshifts,f,Boolean,0xCC,False,0,0,If the act
5151
Actor,easyrpg_ignore_evasion,f,Boolean,0xCD,False,0,0,If the actors unarmed physical attacks ignore evasion
5252
Actor,easyrpg_unarmed_hit,f,Int32,0xCE,-1,0,0,Hit rate of the actor on unarmed attacks
5353
Actor,easyrpg_unarmed_state_set,t,DBBitArray,0xCF,,0,0,States inflicted by unarmed normal attacks of the actor
54-
Actor,easyrpg_unarmed_state_set,f,DBBitArray,0xD0,,1,0,States inflicted by unarmed normal attacks of the actor
54+
Actor,easyrpg_unarmed_state_set,f,DBBitArray,0xD0,,0,0,States inflicted by unarmed normal attacks of the actor
5555
Actor,easyrpg_unarmed_state_chance,f,Int32,0xD1,0,0,0,State infliction probability by unarmed normal attacks of the actor
5656
Actor,easyrpg_unarmed_attribute_set,t,DBBitArray,0xD2,,0,0,Attributes used by unarmed normal attacks of the actor
57-
Actor,easyrpg_unarmed_attribute_set,f,DBBitArray,0xD3,,1,0,Attributes used by unarmed normal attacks of the actor
57+
Actor,easyrpg_unarmed_attribute_set,f,DBBitArray,0xD3,,0,0,Attributes used by unarmed normal attacks of the actor
5858
Actor,easyrpg_dual_attack,f,Boolean,0xD4,False,0,0,If the actors unarmed physical attacks hits twice
5959
Actor,easyrpg_attack_all,f,Boolean,0xD5,False,0,0,If the actors unarmed physical targets the entire enemy party
6060
Enemy,maniac_unarmed_animation,f,Ref<Animation>,0x0F,1,0,0,Animation for normal enemy attacks (Maniac Patch only)
@@ -65,10 +65,10 @@ Enemy,easyrpg_immune_to_attribute_downshifts,f,Boolean,0xCC,False,0,0,If the ene
6565
Enemy,easyrpg_ignore_evasion,f,Boolean,0xCD,False,0,0,If the enemies unarmed physical attacks ignore evasion
6666
Enemy,easyrpg_hit,f,Int32,0xCE,-1,0,0,Hit rate of the enemy on normal attacks
6767
Enemy,easyrpg_state_set,t,DBBitArray,0xCF,,0,0,States inflicted by normal attacks of the enemy
68-
Enemy,easyrpg_state_set,f,DBBitArray,0xD0,,1,0,States inflicted by normal attacks of the enemy
68+
Enemy,easyrpg_state_set,f,DBBitArray,0xD0,,0,0,States inflicted by normal attacks of the enemy
6969
Enemy,easyrpg_state_chance,f,Int32,0xD1,0,0,0,State infliction probability by normal attacks of the enemy
7070
Enemy,easyrpg_attribute_set,t,DBBitArray,0xD2,,0,0,Attributes used by normal attacks of the enemy
71-
Enemy,easyrpg_attribute_set,f,DBBitArray,0xD3,,1,0,Attributes used by normal attacks of the enemy
71+
Enemy,easyrpg_attribute_set,f,DBBitArray,0xD3,,0,0,Attributes used by normal attacks of the enemy
7272
Enemy,easyrpg_super_guard,f,Boolean,0xD4,False,0,0,If the enemies defend action quarters instead of halves HP damage
7373
Enemy,easyrpg_attack_all,f,Boolean,0xD5,False,0,0,If the enemies unarmed physical targets the entire player party
7474
Skill,easyrpg_battle2k3_message,f,DBString,0xC9,DBString(kDefaultMessage),0,1,RPG Maker 2003 battle skill start notification
@@ -87,7 +87,7 @@ Skill,easyrpg_hp_cost,f,Int32,0xD5,0,0,0,How much HP does the usage of the skill
8787
Item,easyrpg_using_message,f,DBString,0xC9,DBString(kDefaultMessage),0,0,Item usage message in battle
8888
Item,easyrpg_max_count,f,Int32,0xCA,-1,0,0,How many the player can carry of this item
8989
State,easyrpg_immune_states,t,DBBitArray,0xC8,,0,0,States cleared on infliction by this state
90-
State,easyrpg_immune_states,f,DBBitArray,0xC9,,1,0,States cleared on infliction by this state
90+
State,easyrpg_immune_states,f,DBBitArray,0xC9,,0,0,States cleared on infliction by this state
9191
Terrain,easyrpg_damage_in_percent,f,Boolean,0xC8,False,0,0,If the terrain damage is a percentage
9292
Terrain,easyrpg_damage_can_kill,f,Boolean,0xC9,False,0,0,If the terrain damage can kill the actors
9393
Terms,easyrpg_item_number_separator,f,DBString,0xC8,DBString(kDefaultTerm),0,0,Item number separator

src/generated/lcf/lsd/chunks.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ namespace LSD_Reader {
442442
map_save_count = 0x83,
443443
/** ? */
444444
database_save_count = 0x84,
445-
/** horizontal speed in the scrolls of the screen. */
445+
/** horizontal speed in the scrolls of the screen */
446446
maniac_horizontal_pan_speed = 0x8D,
447-
/** vertical speed in the scrolls of the screen. */
447+
/** vertical speed in the scrolls of the screen */
448448
maniac_vertical_pan_speed = 0x8E
449449
};
450450
};

src/generated/ldb_actor.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ static TypedField<rpg::Actor, DBBitArray> static_easyrpg_unarmed_state_set(
301301
&rpg::Actor::easyrpg_unarmed_state_set,
302302
LDB_Reader::ChunkActor::easyrpg_unarmed_state_set,
303303
"easyrpg_unarmed_state_set",
304-
1,
304+
0,
305305
0
306306
);
307307
static TypedField<rpg::Actor, int32_t> static_easyrpg_unarmed_state_chance(
@@ -321,7 +321,7 @@ static TypedField<rpg::Actor, DBBitArray> static_easyrpg_unarmed_attribute_set(
321321
&rpg::Actor::easyrpg_unarmed_attribute_set,
322322
LDB_Reader::ChunkActor::easyrpg_unarmed_attribute_set,
323323
"easyrpg_unarmed_attribute_set",
324-
1,
324+
0,
325325
0
326326
);
327327
static TypedField<rpg::Actor, bool> static_easyrpg_dual_attack(

src/generated/ldb_enemy.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static TypedField<rpg::Enemy, DBBitArray> static_easyrpg_state_set(
238238
&rpg::Enemy::easyrpg_state_set,
239239
LDB_Reader::ChunkEnemy::easyrpg_state_set,
240240
"easyrpg_state_set",
241-
1,
241+
0,
242242
0
243243
);
244244
static TypedField<rpg::Enemy, int32_t> static_easyrpg_state_chance(
@@ -258,7 +258,7 @@ static TypedField<rpg::Enemy, DBBitArray> static_easyrpg_attribute_set(
258258
&rpg::Enemy::easyrpg_attribute_set,
259259
LDB_Reader::ChunkEnemy::easyrpg_attribute_set,
260260
"easyrpg_attribute_set",
261-
1,
261+
0,
262262
0
263263
);
264264
static TypedField<rpg::Enemy, bool> static_easyrpg_super_guard(

src/generated/ldb_state.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ static TypedField<rpg::State, DBBitArray> static_easyrpg_immune_states(
324324
&rpg::State::easyrpg_immune_states,
325325
LDB_Reader::ChunkState::easyrpg_immune_states,
326326
"easyrpg_immune_states",
327-
1,
327+
0,
328328
0
329329
);
330330

src/generated/lsd_savepicture.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,14 @@ static TypedField<rpg::SavePicture, double> static_maniac_current_magnify_height
312312
LSD_Reader::ChunkSavePicture::maniac_current_magnify_height,
313313
"maniac_current_magnify_height",
314314
0,
315-
1
315+
0
316316
);
317317
static TypedField<rpg::SavePicture, int32_t> static_maniac_finish_magnify_height(
318318
&rpg::SavePicture::maniac_finish_magnify_height,
319319
LSD_Reader::ChunkSavePicture::maniac_finish_magnify_height,
320320
"maniac_finish_magnify_height",
321321
0,
322-
1
322+
0
323323
);
324324

325325

0 commit comments

Comments
 (0)