Skyscrapersim 2.0 Alpha 9

From Skyscraper Wiki
Revision as of 10:50, 8 September 2024 by Elevator1512 (talk | contribs) (→‎Changelog)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is legitimate.
It contains good-faith information, such as an existing building or content.
Current Development Builds by Version (Update)
Versions: Alpha 1, Alpha 2, Alpha 3, Alpha 4, Alpha 4.1, Alpha 5, Alpha 6, Alpha 7, Alpha 8, Alpha 9 (Update 1 / Update 2)
Alpha 10 (Update 1 / Update 2 / Update 3 / Update 4 / Update 5 / Update 6), Alpha 11 (Update 1 / Update 2), Alpha 12, Beta

Skyscrapersim 2.0 Alpha 9 / 1.9 was the 10th release of the 2.0 releases. It was released on March 4, 2015. This version has 21 builds.

Changelog

  1. added new Underground building
  2. cleanups in relation to ShowFloors arrays
  3. fixed a conflict between Group listings and ShowFloors lists, and cleaned up EnableFloorRange function
  4. the print command can now be specified by itself, to print a blank line
  5. many script commands would crash if given no parameters; this fixes the issue
  6. (Triton Center) 135th floor description fix
  7. made new floor list report and FloorInfo command, and migrated the ListAltitudes feature into that
  8. added Floor Information button to the control panel
  9. added current floor name to the control panel
  10. fixed an interior window positioning issue in the Simple building
  11. prevent shaft door reset if full shaft is enabled
  12. EnableGroup function in floor object will no longer touch shaft or stair objects if they're currently fully enabled
  13. disabled some warnings on Visual C++
  14. fixes to action array checks of Control and Trigger objects, to prevent crashes if no actions are associated with the object
  15. more elevator object checks for elevator editor
  16. reset door reference in elevator editor, to prevent issues if elevator is deleted
  17. added Mac key hints to control reference and readme
  18. the elevator editor's floor selector now only shows the related serviced floors
  19. (c++)reworked shaft door and elevator door ClickedObject code to newer design
  20. (c++)elevator shaft door wrapper objects now store associated floor number
  21. (c++)remade call button code in ClickedObject function, to remove legacy code
  22. call buttons can now be deleted using ctrl-alt-click
  23. controls can now be deleted by ctrl-alt-click
  24. objects are now deleted by ctrl-alt-click instead of just ctrl-click, to prevent interference with ctrl walking modifier
  25. added reporting to elevator door sensors
  26. added new actions for enabling and disabling elevator door sensors
  27. reworked action run code, to prevent duplicates
  28. call buttons now check if elevator objects are valid, to report accordingly
  29. brought back shift-click call button functionality, to change light status
  30. objects are now locked/unlocked by holding ctrl-shift and clicking instead of just shift-click, which fixes conflicts with using shift for running
  31. added transparent button background texture (transparent.png)
  32. elevators now update floor indicators and floor beep sounds when either passing a floor altitude, or beginning to level at a floor
  33. prevent elevators from updating floor number during leveling mode
  34. added more verbose file load error messages
  35. year update
  36. fixed Visual C++ 64-bit build options
  37. updated Visual C++ 2010 build parameters
  38. added message sound status checks, to prevent repeats
  39. removed Palace Hotel on author's request
  40. added support for sounds in call button objects
  41. added numeric checks to the Calc function, to fix issues with the Calc function hanging on filenames. Also removed the related work-around code for skipping parameters.
  42. fixes and cleanups to verbose output
  43. replaced elevator's message sound and floor sound objects with a single announcement sound object, and sounds using this are now queued to prevent overlapping
  44. added sound queuing support, using PlayQueued and ProcessQueue functions
  45. added reporting functions to Sound class
  46. elevators no longer play floor sounds (floor announcements) if on the same floor as hall call
  47. fixed crash that happened if the object move window was visible while the object was deleted
  48. (Triton Center) Shaft 17 (core utility shaft) now displays interfloors, bottom floor while inside it, and lights
  49. added ShaftShowInterfloors command
  50. Object Information window now displays correct line number information (adjusted for includes), and also related include filename
  51. split line number calculation portion of script error code into a separate function
  52. added List Textures button to control panel
  53. added script commands ListAltitudes and ListTextures
  54. texture listing now supports showing filename
  55. added more verbose output for texture loading functions
  56. fixed texture overrides; texture functions now unload previous material if a new one of the same name is specified
  57. (C++) added UnloadMaterial function and fixed UnloadTexture function
  58. (C++) split off texture multipler registration into separate functions
  59. (Triton Center) Residential service elevator texture orientation fix
  60. added emergency stop motor sound
  61. queued sound position option in sound code, to prevent repeat applies of the setting
  62. fixes for SetPlayPosition and GetPlayPosition in sound code for fmod, used by AutoAdjustSound
  63. added the AutoAdjustSound to the INI file, originally added in rev 1824
  64. added support for separate car and motor emergency stop sounds
  65. uninitialized value fixes (meshobject rotation)
  66. during an emergency stop, the car stop sound is played if an emergency stop sound isn't specified
  67. verbose mode now reports details on exactly which car/motor sounds are played, for start, move, and stop
  68. reworked elevator car/motor sound code and moved into separate functions
  69. renamed the "mainsound" sound object to "carsound"
  70. added support for a separate emergency stop car sound and speed multiplier
  71. fixed an issue where the elevator editor would display too much call button output in verbose mode
  72. split the create_walls option in the FinishDoors commands into separate doors_walls and track_walls options, and updated guide
  73. fixed issue where elevator nudge mode would become active if elevator was in fire phase 2 mode on alternate recall floor
  74. partial floor range in ShaftShowFloors command is now shown regardless of elevator moving
  75. added IsBoolean function (C++)
  76. enhancements to the ShaftShowFloors command
  77. button title fix (elevator editor)
  78. fixed issue where FinishDoors function was not properly reverting the DrawWalls state
  79. removed bounding box check in stairs code, since it was failing on stairwell floors that contained no geometry, but were still valid
  80. fixed "InStairwell" status
  81. interfloors are now shown for adjacent floors, in order to match the original design concept
  82. fixed columnframe and interfloor checkboxes in the mesh control dialog
  83. added Mesh Control dialog option to enable/disable interfloors
  84. added functions to enable/disable interfloors
  85. fixed main filename case
  86. fixed Caelum sky rotation
  87. changed Caelum start time to 10am instead of noon
  88. removed SkyMult INI file parameter, and the Caelum sky.os file now configures this
  89. added a check to make sure elevator serviced floors are valid for the associated shaft
  90. added basic group state check to floor object, to prevent repeated enables/disables during ShowFloors functionality
  91. floors now report in verbose mode when they're enabled/disabled
  92. fixed an issue where the ShaftShowFloors command would cause the destination floor to become disabled
  93. check floor enabled state before enabling/disabling floor and group
  94. mentioned reverse floor ranges in script guide
  95. fixed an issue where sound objects were playing during startup, and cleaned up related code
  96. removed full screen stay-on-top flag
  97. fixed an issue restoring fullscreen mode on Windows after a reload (using ctrl-r)
  98. added info on 'b' key FOV reset
  99. added binoculars FOV setting to the camera control window
  100. fixed a typo for the reload feature in the control reference
  101. added binoculars mode
  102. (Triton Center) fixed crossbracing texture tiling and some mechanical interfloors
  103. removed the Cut function's "checkstring" functionality, which reverts a "fix" from 2783 which broke filler walls in many existing buildings' elevators. The original functionality never really worked, and the removal of it appears to work fine
  104. data type fix for negative dest values. Also fixes an assertion in debug mode
  105. fixes to automatic filler walls function, to prevent z-fighting issues
  106. right-clicking controls now reverses direction of selection
  107. all shaft doors must now be fully closed for an elevator to move, when interlocks are enabled
  108. actions now return the status of the commands run
  109. controls and triggers will now only change position if the action succeeds
  110. controls/triggers with multiple parents or actions succeed if at least one action succeeds
  111. control/trigger sounds now only play if the position changes
  112. fixed a message loop in verbose mode if certain elevator sounds can't be loaded
  113. added more return codes and "loaded" status to sound code
  114. cleaned up elevator mode switching, so that certain modes must be explicitly disabled before enabling another mode
  115. ACP mode now uses standard queuing instead of Go function, which fixes a malfunction if used while another call is being handled
  116. the elevator Go function will now exit if elevator is already moving
  117. added floor ID reporting to Go function
  118. floor signs now take the shaft door offset into account when created
  119. added Renderer entry to Stats dialog
  120. fixed an issue where shaft doors would stay disabled if pressing F6 (resetting position) while in an elevator
  121. fixed logic behind 'force' parameter for shaft and stairs enable checks
  122. changed Glass Tower 138 floor sign to say "R", and also minor wall fix
  123. reload function now restores camera floor, gravity, collisions, and freelook options
  124. added elevator floor signs to the Glass Tower
  125. when deleting shafts, they must have associated elevators deleted manually first
  126. sensor actions created by elevator doors are now removed along with the doors
  127. floor deletions now fail if a shaft or stairwell depends on that floor
  128. fixes to GetFloorNumber function to allow deleting the current floor
  129. lots of reporting fixes and cleanups
  130. added shaft and stairs existence checks to EnableFloorRange
  131. elevators can now be deleted during runtime
  132. call buttons are now created with directions based on the combined range of all elevators, instead of just the first one specified.
  133. added a forced resize during a building reload for Linux - fixes rendering issues
  134. camera rotation values are now updated properly. This fixes the rotation display in the control panel, and also fixes rotations during a building reload
  135. call shutdown() on Ogre root instead of delete, to fix a crash on certain systems during shutdown
  136. fixed malfunction in trigger code due to an uninitialized position value
  137. fixed setback positionings in Sears Tower model in Triton Center
  138. added antennas to Sears Tower model in Triton Center
  139. tiling fix for Triton Center top (143) interfloor
  140. added missing keys to control reference
  141. added explanation of interfloor areas to script guide
  142. floor skip text can now be disabled by setting it with an empty value
  143. nudge setting in elevator editor now works properly on a per-door basis
  144. added door sensor item to elevator editor
  145. added "sides" graphic for script guide
  146. some needed fixes to the Observation Tower
  147. added floor signs to Simple building
  148. trim whitespace on GetAction() input string
  149. added option to change nudge option for door hold command, used by Sensor action
  150. added Sensor and Reset actions, used by sensors
  151. added support for elevator door sensors
  152. elevator parameters now properly calculate numbers
  153. repositioned Glass Tower's rooftop elevator motor
  154. moved Glass Tower roof structures to external mesh
  155. added use of VerifyFile to building file loader, to fix filename case sensitivity on Linux and Mac
  156. removed "starting time" entry from stats dialog
  157. fixed parameter count checks in script interpreter
  158. script includes now use VerifyFile which fixes case sensitivity issues on Linux and Mac
  159. file not found errors for script includes now handle exceptions properly
  160. moved Triton Center mech penthouse roof to separate floor
  161. fixed issue with cutstairwell and cutshaft commands introduced in rev 2047 (in Alpha 7), that caused external meshes to cut a floor too high
  162. removed unnecessary pauses
  163. added support for function nesting (calling functions within other functions)
  164. reworked the script error reporting code, to fix reported line number breakage when using nested includes
  165. updated guide to explain include and function behavior
  166. a warning is now shown in the console when a function is defined again, and the redefinition is skipped
  167. return empty strings instead of nulls for c-string functions. Fixes some crashes
  168. added atrium floor spacing in Glass Tower
  169. added progress dialog for script load
  170. added EndPoint function
  171. moved Print command to end, which allows certain command results to be printed properly
  172. added AddCustomFloor command
  173. (Glass Tower) added basic Peerless building and ground based on spotting blueprint from movie
  174. (major) fixed an issue where the submesh processor would skip, leaving unused triangle data. This was causing Prepare() to malfunction and sometimes visible corruption
  175. Action Viewer now displays multiple parents
  176. added ability to delete actions from the Action Viewer window, and fixed some cleanup issues involved in the deletions
  177. added AddActionParent and RemoveActionParent commands
  178. action viewer now refreshes list
  179. actions created by button panels are now deleted along with the panels
  180. walls of root object (SBS) meshes are now children of those meshes instead of root
  181. fixed a vector overrun in RemoveFloor function (element was removed before accessed)
  182. do not process geometry buffers if no data exists - fixes a crash on Windows
  183. manually deleting floors now deletes any walls created in the "external" mesh
  184. reset collisions when deleting objects, and clear last_collision value - this allows objects the user is touching (or standing on) to be deleted
  185. added check to prevent floors from being deleted out of order
  186. elevator doors can now be deleted properly during runtime
  187. added round math function
  188. added new math functions log2, ceil, flr, and rnd
  189. fix for texture distortion issues on main menu
  190. added option to turn off automatic filler/connection walls for elevator doors
  191. math function fix - removed the need for a space before the function names
  192. fixed default locale setting - this solves script error issues when running on machines with different locale settings
  193. texture functions now report in verbose mode only
  194. fixed StartsWith() function
  195. added advanced math functions to script interpreter
  196. added power-of operator to Calc function in script interpreter
  197. added Ogre 1.9 compatibility
  198. combined floors 65 and 66 in the Glass Tower
  199. cmake and source fixes for Ogre 1.9 compatibility
  200. orientation fix for old sky system
  201. added RenderOnStartup option, which renders the building as the script is processing on startup
  202. fixed an issue where most new meshes would need to be disabled and re-enabled to be visible
  203. cmake script fixes, and svnrev is now run automatically
  204. fixes to main window sizing
  205. fixed issues with main menu and mouse clicks being off on Mac, due to client size being different than window size
  206. fixed shutdown crash due to MainScreen::OnClose being called twice (mainly on Mac)
  207. made missing files dialog larger
  208. fixed issue where rotational degree values would show 360 instead of 0
  209. added OpenMessage and CloseMessage elevator parameters
  210. script processor now using main frontend loop for processing
  211. fixed an issue where main window would not resize back when exiting from fullscreen to main menu
  212. object list in objectinfo dialog now refreshes automatically
  213. switched DisableSound to a frontend option, which now changes it for the whole app
  214. removed unused options from INI file
  215. WalkBrake and RotateBrake options now work
  216. removed LookAccelerate, BodyDepth, LegsDepth options
  217. fixed GetObjectPosition() for elevator doors, so now their position shows up in the MoveObject window
  218. fixed Camera::Rotate() function; relative rotations now work in camera control window
  219. Bullet: disabled penetration recovery, which fixes issues with stairs stepping
  220. added frame smoothing feature, configurable in the INI file
  221. removal of wxWidgets code from the SBS library
  222. new SBS timer system
  223. added while statements
  224. added delete command
  225. added runaction command
  226. action names with spaces now work from scripts
  227. functions can now be called properly from IF/While statements
  228. added duplicate function check
  229. keycode fix for Mac version - fixes some key recognition errors
  230. switched to in-app console window
  231. control panel sizing fix
  232. removed unused RenderOnly and InputOnly options
  233. script viewer no longer shows included code
  234. rename and cleanups of collider recreation when adding/deleting objects during runtime
  235. fixed issue where meshes wouldn't be immediately visible if walls were added to them during runtime
  236. fixed an issue where control panel buttons failed to work upon a building reload
  237. command box in console now clears on send
  238. added echo option to console window (displays typed commands)
  239. fixed an issue with the main window not raising properly on startup
  240. fixed a startup clear screen issue
  241. switched log output to new in-app console window
  242. addition of main console text box in console window
  243. moved system over to Ogre logging facility
  244. all logging is now written to skyscraper.log
  245. debug console (text) output can be turned on and off by INI file parameter
  246. script processor is now persistent
  247. added missing note about ctrl-r reloading current building to key commands list
  248. added script deprecation warnings, which can be enabled in the INI file
  249. removed unused GetWallExtents function since the command version is more useful
  250. script interpreter cleanups
  251. fixed a parameter check for parameters specified after equals signs; would previously treat empty text as a single parameter
  252. updated syntax in Simple building
  253. added ReverseAxis parameters to the script guide, which were missing
  254. added ability to disable Bullet for testing
  255. fail and switch to old sky system if Caelum fails to init
  256. disabled elevator arrival notifications and floor sounds/beeps when in service modes
  257. disabled elevator door open/close functions while in Fire Phase 1 recall
  258. added needed object existence checks to functions that use the object array directly - without this, crashes were happening when doing an object scan after an object had been deleted
  259. ACP mode now uses the elevator's Go function, and now works properly
  260. elevator "Go" function now turns off elevator floor light when reaching destination
  261. fixed some door closing issues in Fire Phase 1 mode
  262. added exterior up/down controls to Simple - Manual building, and interlock switch for testing
  263. added support for modern manual lifts, that require the floor button to be held to proceed to that floor, via the FloorHold parameter
  264. script interpreter section reordering and cleanups, fixes variable processing issues, and duplicate functions have been removed
  265. added fire switch keys to Simple, Triton Center and Glass Tower elevators
  266. added landing zone area for automatic releasing of interlocks
  267. added new section of items to elevator editor, and added some other misc things
  268. added basic elevator interlocks, along with actions
  269. fixed button/control texture multipliers - this fix will break previous buildings' buttons and controls if they use size multipliers other than 0 or 1. Previously changing the size would mess up the button positioning
  270. updated Simple building with internal and external fire switches
  271. added more texture content
  272. added fire service enable function to call button code; switching one elevator to fire service phase 1 now switches all elevators in same bank (all being serviced by the first call button on recall floor) into fire service mode
  273. added elevator door open/close button hold feature (constant pressure support), for certain modes such as independent service and fire modes
  274. renamed CancelLastRoute to CallCancel
  275. major reworking of fire service modes to make them more realistic
  276. added reversals to door opening, used in fire modes to reclose the doors if open button is released
  277. major Glass Tower lobby changes; atrium base is now the Atrium level (previously mezzanine) to match movie depictions of the Hyatt Regency and Bank of America buildings
  278. added full support for manual elevators
  279. fixed issue where floor would turn off when closing shaft doors even if ShaftShowFloors is enabled
  280. added "0 to disable" options for DoorTimer and QuickClose parameters
  281. added AutoOpen parameter
  282. added OpenOnStart parameter
  283. added new Simple building with manual doors
  284. added OpenExt and CloseExt actions
  285. added more elevator and shaft door actions
  286. updated to OGRE 1.8, and updated meshes to newer format
  287. Glass Tower texture mapping fix for top of front setback pinnacle
  288. fixed camera control X axis reversal
  289. fixed action control centering
  290. added functions to support elevator returning/releveling to nearest floor after disabling inspection mode
  291. added 'return' function in elevator actions list which returns to the nearest floor after a stop
  292. added more checks to door "in use" status - fixes issues where elevator doors would misbehave if automatically moving and a manual open/close was run
  293. removed OIS requirement from cmake
  294. minor correction to local elevator range in Sears Tower
  295. fixed Glass Tower floor height typo in the floors 80 to 85 section (it erroneously added an extra foot to those floors)
  296. added dialog for moving objects
  297. fixed "hold" option for camera relative rotation in dialog
  298. fixed rotation quirk in dialog that allowed values outside of correct range
  299. array cache tweaks
  300. fixed DynamicSky script parameter
  301. added additional check to elevator service modes to prevent random activity
  302. elevator parking is no longer run while in a service mode
  303. fixed elevator availability check for LimitQueue
  304. added elevator queue reversal when arriving at top/bottom floor; fixes call quirks on those floors
  305. fixed issue in elevator_doors.txt script that prevented dual-speed left doors from closing properly
  306. switched user variable system over to named variables
  307. extended range of characters supported by the text-to-texture system
  308. Updated Visual Studio project files for VS2010
  309. added popup error messages for sound errors
  310. added gpu program checks for Caelum initialization; should switch off Caelum on problematic graphics cards to prevent reported crashes
  311. moved SBS initialization code into contructor
  312. removed obsolete shaders variables
  313. fixed issue where some wall handles wouldn't be deleted, due to a changing handle array size
  314. centralized number conversion into new ToString functions
  315. fix for textureoverride/textureflip states
  316. console output fix
  317. INI parameter fixes
  318. AddFloor parameter fix
  319. removed tchar for wxwidgets unicode compatibility
  320. random activity is now ignored if related elevator is in service mode
  321. added parking notification
  322. script interpreter performance improvements
  323. performance fix for GetTextureMaterial function
  324. fix for material polygon reporting
  325. fixed misuse of vector preallocation, performance improvement (fixes bottleneck when creating thousands of floors)
  326. function speed improvements in script interpreter
  327. added function name and calling line to script error message
  328. misc performance tweaks and cleanups
  329. old sky is now used if Caelum fails to start (previously the sky would end up being black in this case)
  330. fixed crash that would happen if Caelum wasn't initialized properly
  331. swimming pool model material fixes
  332. turned off texture lighting option by default
  333. added calc ignore checks for other filename parameters
  334. added StairsShowFloors and ShowFullStairs commands
  335. moved stairs, shaft and elevator checks into respective classes
  336. some tweaks to IsInStairwell checks
  337. removed some obsolete stuff (including shaft type parameter)
  338. added ShowFullStairs to Triton Center's West Stairwell
  339. added railings to Triton Center
  340. fix for disabling old skybox
  341. added ability to delete models and doors with ctrl-click
  342. added pool to Triton Center
  343. fixed a defect in the CutAll floors operation - was cutting through all floors associated with shafts/stairwells - now only cuts through current floor as described
  344. added check to prevent crashes when deleting an object user is standing on
  345. fixed creation of collider body which was causing crashes when loading collider meshes
  346. added support for skipping calculations on model filenames - fixes an infinite loop