Base values for number of stars in the background: (min. 1, else crash)
Code: Select all
00495C6E mov edx, 0FAh // multiplier for random value
00495C81 add edx, 2EEh // static bonus
An interesting option would be changing the whole background f.e. for nebulars (even better using something like the calamarain effect).
If some one wants to look into this:
Tactical combat screen setup:
Code: Select all
00471BF5 mov eax, 1 // screen ID *tactscn.wdf
00471BFA call 4B9180
00471BFF mov eax, 1 // screen ID *tactscn.wdf
00471C04 xor edx, edx
00471C06 call 4B9030
Code: Select all
00471BC0 call Nebular_Effects
off_4957A0: case2 loc_495864 (nebula1.hob) -> loc_49581E (exit)