-
Notifications
You must be signed in to change notification settings - Fork 7
/
changelog.txt
1683 lines (1650 loc) · 112 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Version 2.1
-------------------------
Version 2.0
-------------------------
-(xteal/NoNoTeal) added a configurable People parameter to the INI file
-When AvailableForCall() does the final check on the queue direction, it should consider elevators on the same floor with queues empty to be available, maybe this situation should be moved into the IsIdle() function
-Fixed an issue where the check in GetArrivalDirection() would check the same floor, in this case, use the queue direction if still active
-The SameFloorArrival check code should take into account empty queues for the active queue direction
-When ReOpen is true and elevator re-opens on a floor, chime should not sound if ChimeOnArrival is false
-Turn off object detachment error messages
-Don't process a key down event if the key is actually up, this fixes a "stuck key" issue on some systems
-added new ID elevator parameter for Destination Dispatch
-Centralized same-floor notifications and re-opening
-Person route support for Destination Dispatch
-new "Simple - Double Decker DD" building
-new "Triton Center - Destination Dispatch" building
-disable button panels for Call Button objects in Enabled() function to improve performance
-new "Simple - Destination Dispatch" building, replacing the old Destination one
-support for Destination Dispatch elevators
-new CallStation object
-new DispatchController system
-Added verbose shaft door creation messages
-updated starting position for Dellerton Plaza building
-reverted the PolyMesh geometry system cleanups, due to performance problems
-made Level errors non-fatal
-fixed a script error in the Skyscrapersim Housing Estate building
-Object selection fixes for the People Manager dialog
-Updated guide to reflect collider filename change
-Upgraded the swimmingpool collider mesh format, and renamed it to a "collider.mesh" file in order to load properly
-Sizing fixes for CameraTexture dialog
-CameraTexture dialog fixes
-Fixed a crash when deleting elevator objects
-Added verbose messages to soundsystem and sounds
-Fix for the sound's GetSpeed() function
-new Sound Manager dialog
-Added an INI file setting to enable or disable the frame statistics on startup
-Render window now resizes properly on Linux when the scaling factor is not 100%
Version 1.11.2 (2.0 Alpha 11 Update 2)
-------------------------
-don't process a key down event if the key is actually up, this fixes a "stuck key" issue on some systems
-updated starting position for Dellerton Plaza building
-reverted the PolyMesh geometry system cleanups, due to performance problems
-made Level errors non-fatal
-fixed a script error in the Skyscrapersim Housing Estate building
Version 1.11.1 (2.0 Alpha 11 Update 1)
-------------------------
-Object selection fixes for the People Manager dialog
-Updated guide to reflect collider filename change
-Upgraded the swimmingpool collider mesh format, and renamed it to a "collider.mesh" file in order to load properly
-CameraTexture dialog fixes
-Fixed a crash when deleting elevator objects
-Render window now resizes properly on Linux when the scaling factor is not 100%
Version 1.11 (2.0 Alpha 11)
-------------------------
-fix FMOD version number reporting
-Only play floor sound during an elevator's standard arrival notification
-Exit app when Alt-F4 is pressed, this is a fix for Windows builds
-Added the ability to dump shaders to a folder, used for RTSS debugging
-Exit if a fatal render operation is encountered
-Consolidate ComputePlane functions into a single function
-Call button should store the call direction for the NotifyLate feature
-Elevator should always perform arrival notification if on the same floor as the call, unless NotifyEarly is -1
-use NotifyArrival() for callbuttons opening elevator on same floor
-elevators now follow the NotifyEarly and NotifyLate parameters if elevator is on the same floor
-Directional indicators no longer light up for non-calls when ChimeOnArrival is false
-Added support for setting separate early chime sounds
-Added a value of 3 to the NotifyEarly command, which combines both options 0 and 2, having the elevator notify/chime twice
-Fixed a cut issue on the Triton Center's floor 119 stairwell, where a ceiling piece prevented the user from going up to 120
-Added PressUp and PressDown callbutton actions, which play the press sound in addition to initiating the related call
-People objects now are able to play call button press sounds
-Added NotifyLate parameter to Elevator Editor
-added option to NotifyEarly to turn off standard elevator arrival notifications
-added elevator option NotifyLate which performs elevator car arrival notifications after the doors open
-The CreateCallButtons command can now specify separate up and down sounds
-Added AccelJerk and DecelJerk elevator parameters, which were missing
-Fixed a crash in the function processor, the crash would happen if a closing parenthesis ")" was specified before the function's closing parenthesis.
-camera pitch fix by NoNoTeal (contribution)
-Updated documentation for Windows builds
-Fix for the AlarmSoundStop parameter
-Switched CopyTexture() main function to blit instead of blitFromMemory, this appears to fix reported texture copying problems
-Exit with a script error if specifying an invalid level, this fixes a number of crashes
-Mention stairwell number in error messages
-Added more verbose error messages, and fixed another crash
-Added functions to enable/disable shadows on meshes and textures
-Fix for LoadTextureCropped command, the CopyTexture() function was doing a full-size texture copy when it was supposed to only copy a portion.
-Fixed a bug in GetMeshObject() where the shaft or stairwell number would be invalid if a model number was specified
-Added INI file option for ambient lighting
-Added lights to elevators in the Triton Center, and only have light creation message in verbose mode
-Renamed Stairs object to Stairwell
-Report on Shaft and Stairwell creation
-Switched Shaft and Stairwell objects over to Levels design
-Added a Simple CameraTexture demo building
-Added an elevator shaft security camera to the Triton Center
-Added CameraTextureControl dialog
-Added Action support for CameraTexture object, and added Triggers to both buildings to only turn on the camera when nearby the screen
-Added Action support for lights
-GetObject() will now search for the object name, and the "parent name:object name" combination to find a result
-Fixed a crash that would happen if a DynamicMesh mesh object was deleted after the related client's scenenode was deleted
-Have Echo option checked by default in Console window
-Delete flash timer in destructor
-Text box sizing fixes for Mac
-Show horizontal scrollbar in Console window
-Added Clear button to Console
-Fixed some initialization issues
-Added an INI option for shadows, and disabled by default
-Shadows are now working, but have a render error on startup
-Added an Ogre frame statistics bar
-Disable dynamic lighting on lit textures, in order to retain the lighting effect such as on indicators
-simplified light functions
-added SetDirection and LookAt scenenode functions, these need to be tested
-Properly compute normals for 3D geometry, this partially fixes lighting issues.
-Report loaded textures, no need for it to only be in verbose mode
-cleaned up the PolyMesh geometry system, mostly to remove the double-vector (multi-polygon) structures
-Removed Console's ability to hold positions, due to problems. Fixed the text display, and removed the "Fix Scroll" button.
-Changes for macOS (#8) (this was the first 3rd-party contribution to Skyscraper ever, I modified their changes and committed), this mainly fixes an issue with Retina displays.
-Reset view mode on SBS shutdown
-added a test light for the first floor, and one for each elevator
-Fix for a crash that would happen when Caelum fails to load, the user exits to the main menu and loads another building. In this, the default skybox will be loaded on that restart situation.
-Run malloc_trim to free memory to OS on individual sim engine shutdown also
-Free unused hardware buffers in UnloadSim()
-On Linux, release as much free memory as possible when exiting to the main menu, using malloc_trim()
-fixed an issue where the app would hang on Mac
-enhanced build system for Linux
-Mac version is now packaged properly
-make sure lighting is off by default on models
-added CPU architecture to Stats window
-updated Caelum resources to work with GL3+ renderer
-updated build system, mostly for Mac
-allow lighting to be turned on from INI file, as an experimental feature
-upgraded wxWidgets (the windowing system) from 3.0.2 to 3.2.1
-upgraded Ogre (the graphics rendering engine) from version 1.9 to 13 (aka 1.13)
-upgraded the FMod soundsystem
-enhanced Linux build system
-put source code on GitHub, with most of the development history
-removed svnrev (this added the svn revision to the Skyscraper version, removed due to the move to Git)
-increased size of main menu, and added a new background image (this may change in the near future)
-increased size of main window
-updated Linux build instructions
-removed the DirectX9 rendersystem plugin, because it doesn't work anymore, use OpenGL instead.
-Mesh needs to catch exceptions on unload, to prevent certain crashes
-Don't use deprecated double buffering function
-Removed compatibility support for Ogre 1.8
-Fix for mesh removal on shutdown
-Enable auto title
-Added support for running under Wayland (Xwayland)
-removed SVN ID tags
-Don't create Bullet character and shape if turned off
2018 and earlier development:
-call buttons now fail the active elevator if it encounters a movement processing error, fixing an issue where the call button would hang if an error occurred
-for controls, OnUnclick should not reverse the selection position if the previous action failed, since the reversal already took place
-added function name to SetHoistwayAccess errors
-(Sears Tower) removed the floor on 108
-(Sears Tower) shaft fixes
-(Sears Tower) switched freight elevator doors to center dualspeed
-(Sears Tower) interfloor fixes
-(Sears Tower) added freight elevators 4 to 6
-(Sears Tower) added freight elevators 2 and 3
-(Sears Tower) added additional freight elevator shafts, and others
-reset new_time variable when unloading sky system
-have sky system reload if the primary engine/building is reloaded
-added coordinates for Sears Tower
-added more deprecation warnings
-added separate riser texture and tread texture options for Stairs and Escalator objects, to help fix texture issues
-added INI file option to use the system time as default, if not specified in a building file
-put SkyName into Caelum INI file section
-trim off second's decimal point
-added a button to the Sky Control window to get the system time
-added ability to use system time as the DateTime value for buildings
-added ability to set the time scale (using the TimeScale value) for buildings
-elevator doors should not automatically enable nudge mode timer when Fire Service Phase 2 is on
-renamed Min/Max functions to simplify
-switch Swap usage to std::swap
-add missing parent_deleting flags
-properly store shaft cut values
-(Triton Center) added new objects to building
-added support for creating elevator and counterweight rails
-added CounterweightStartSound, CounterweightMoveSound and CounterweightStopSound elevator parameters
-added counterweight and rope textures
-added RopePosition and RopeTexture elevator parameters
-added GetExtents and ChangeHeight polygon functions
-(Simple building) extended shaft above building roof
-added CreateCounterweight function
-(Vehicle) the 'created' variable needs to be initialized
-require chassis to be created when creating vehicle
-added more checks to prevent crashes on vehicle creation
-make sure errors are reported when trying to recreate a vehicle with the same number
-(doxygen) disabled RTF and Man page formats
-allow deleting of walls in meshes such as "external" where SBS is the parent object
-don't create colliders for rope meshes - this also fixes the variable that switches off automatic collider creation
-added more profiler probes
-switched profiler box to text box
-added INI file keyboard configuration
-split keyboard configuration off to separate file
-check existence of camera object - this fixes a crash that happened when driving a vehicle to another sim engine
-DeleteWalls needs to clear Walls array when finished
-DeleteWalls needs to delete polygons before deleting wall object
-added GetBounds function
-added vehicle demo building
-font name fix
-added support for separate up and down elevator movement speeds
-don't report a generic error message when creating the primary car. This allows the specific error messages on car creation to be reported.
-added vehicle support
-added OgreBullet data
-added VehicleManager object
-adding support for crouching
-ensure that font texture coordinates are valid, to prevent a crash
-update to Visual Studio 2017
-support decoding of MP3 files, since the patent has expired
-GetUpControl and GetDownControl should search for control's action name instead of index number
-moved lock code to separate files
-build warning fixes
-added more tooltips to the Elevator Editor
-added support for updating status of all elevator controls either on startup or while running, so that the controls match the mode states
-partially reverted revision 4631; this fixes an issue where the nudge timer
would fully reset every time the elevator doors re-open
-fix for OpenOnStart parameter, for it to work when an elevator is stopped on startup
-added RunState elevator parameter
-add error reason to sound init
-allow non-emergency stop in fire phase 1 recall mode. This fixes an issue where an elevator wouldn't recall when the mode is activated and the elevator is moving.
-converted 'float' values to Ogre's Real type (defaults to type 'double' precision)
-fixed an issue where the Caelum sky name wouldn't be reset for subsequent
engines on startup
-added support for call button destination floors engines on startup (feature currently disabled)
-Integrated all engine reporting into ObjectBase class
Version 1.10.6 (2.0 Alpha 10 - Update 6)
-------------------------
-removed extra elevator enable
-elevators need to be enabled when camera attaches
Version 1.10.5 (2.0 Alpha 10 - Update 5)
-------------------------
-properly position escalator and walkway sounds
-use separate meshes for escalator and moving walkway steps
-use maximum rendering distance of 100 for escalator and moving walkway steps
-only move steps if near escalator or moving walkway
-return fix for Gotofloor action
Version 1.10.4 (2.0 Alpha 10 - Update 4)
-------------------------
-camera start position should not rely on a starting floor
-added Skylab building set
-added Ground building map
-runloop fixes
-added GotoFloor action support
-added teleporter action support
-fixed issue where a call panel would call in both directions if only a single down control was available
Version 1.10.3 (2.0 Alpha 10 - Update 3)
-------------------------
-step movement states should be reset when switching off escalator/moving
walkway
-added action support for escalators and moving walkways
-position sounds correctly for escalators and moving walkways
-steps should reset values on startup
Version 1.10.2 (2.0 Alpha 10 - Update 2)
-------------------------
-fixes for escalator and moving walkway motion
Version 1.10.1 (2.0 Alpha 10 - Update 1)
-------------------------
-added support for moving walkways
-added support for escalators
-added Headless Mode for future use
-integrated reporting functions into Object
-integrated Enabled() function into Object
-fixes for vertical elevator door movement
Version 1.10 (2.0 Alpha 10)
-------------------------
-added support for revolving doors
-when in fire service phase 2 mode, only open phase 2's car doors on recall floor, not oth
er cars
-added "PeakOff" action, and updated documentation
-reset mouse cursor when exiting to main menu
-FinishMove should turn on floor that the camera is active on, instead of the elevator's GotoFloor
-update naming of directional indicator meshes
-show main object name instead of mesh name, for click reports
-FinishDoors function should show a script error if it fails
-show an error if a scene node is not created properly
-when freelook is enabled in an engine, the mouse cursor needs to be updated when switching engines. This also consolidates the related freelook code into a function.
-values need to be cleared when switching engines
-fixes for reported issues with multi-car support
-for the "Elevator:Car" script parameter, if just the elevator is specified, the code should find the car that services the floor, instead of just using the first car
-added INI file and script "HoistwayAccessHold" option
-added object OnUnclick function, which is called when a mouse button is released on an object
-Hoistway Access mode now uses constant pressure on the switches to work, which can be turned off
-actions can now have a "hold" state, which requires that a control have constant pressure to prevent it from reverting to (normally) an "off" position. Used for Hoistway Access mode
-fixes for ShowMenu behavior and command line "no-menu" option
-added CheckScript mode, which allows scripts to be quickly checked for errors, instead of fully loading them
-fix for the "Stairwells" string match in the GetObjectRange function
-cleanups, found via cppcheck
-memory leak fix for Dynamic Mesh system - the mVertexElements array needs to be deleted on return
-(Scripts) added a check to ensure that a floor's altitude is properly set at the end of a Floor section
-(Scripts) move end-of-section code into per-section functions
-brought back ComputeNormal function, which was removed in revision 4679, due to precision issues causing certain walls to display improperly. The issue appears to be due to Ogre's Plane function calculating in double-precision mode, with the ComputeNormal calculating in single-precision, so a workaround has to be found for Ogre.
-character controller should remove itself from Bullet world on delete
-call buttons should not store pointers to control objects; this fix now allows for the call button's controls to be deleted
-call button actions can now be used from scripts, and details have been added to the guide
-add note about how leaving the "texture" parameter blank for the button panel, will hide the back
-revamped Call Button objects:
--action system now supports Call Button actions
--made Button Panel code generic (removed dependency on Elevator Cars), so that it can be used with multiple types of parents
--switched Call Button object to use a Button Panel as it's button canvas
-objects need to unregister their dynamic runloops on deletion
-added virtual OnClick function for objects
-shut down resource manager on exit
-have character controller properly clean up objects when deleted
-call button timer should quickly fire on the first shot, before waiting a longer interval for future processing
-added support for dynamic runloops, which should help reduce per-frame loop overhead. This functionality allows objects to optionally register themselves with their parents to activate/deactivate their runloops, and then the parent calls a LoopChildren() function to run all registered child loops
-door movement now uses a standard parent runloop method, instead of a main simulator callback
-have call buttons use a Timer object for processing the call loop (frequency set to 1 second), instead of using a callback entry in the simulator root
-fixed a loop issue in the ProcessGotoFloor function that was causing some elevator cars to be skipped
-fixed problem in FinishMove function, where the call button arrival notification was only checking the arrival direction of the primary floor call, not ones for other cars
-when adding an elevator route, the car number should be reported if the elevator has more than 1 car
-when enabling Hoistway Access, require shaft doors to be open on the specified floor
-Hoistway Access switch should cause elevator to move, instead of separately using inspection service controls
-add profiling to ElevatorCar loop
-moved Camera loop code and timing code into standard Loop function
-renamed SBS MainLoop to standard object "Loop", and moved camera loop call to end of SBS loop
-have ResetBuilding function be used as the standard object's ResetState function, and have it also reset the camera state if the camera's active. This allows the SBS engine root to be reset, to reset the building state.
-removed SegmentPlane function
-removed and replaced old Classify function with an AABB test
-Cut function now skips polygons that are completely inside the cutting area, instead of needlessly processing over them and not getting cut results
-removed old point-on-polygon/findwall code
-removed old ComputeNormal function
-intersection functions need to convert the polygon's relative plane to absolute positioning
-fixed computing of stored polygon plane, and polygon intersection functions now used the stored plane instead of computing one
-engines shouldn't automatically make themselves the active engine on entry, if they're an ancestor of the active engine. This fixes issues where overlapping engines' activations would bounce back and forth, causing colliders to fall through the ground, and wrong engines being selected
-moved shared script section variables into a separate Config Handler object, mainly to fix an issue where the shared variables were never reset on script interpreter shutdown/startup
-make sure elevator's CreateElevator function returns with error if the primary car has an error
-added key switch textures for Hoistway Access
-added "selection_position" parameter to Control object (AddControl and AddActionControl commands), which allows you to specify the starting selection position
-added "Simple - Hoistway Access" building
-Move Object window needs to keep the SBS engine pointer current, otherwise a crash can happen when reloading a building
-split Script Processor out into multiple files and classes
-added Hoistway Access mode feature
-added missing ReOpen elevator parameter to script interpreter, and fixed script guide
-fixed an issue where nudge mode would not activate properly when an elevator in Fire Phase 2 mode was recalled to the lobby
-added top-level Ogre exception handler, which should help with error reports
-(Sears Tower) Express elevators are now real double-decker elevators
-added "Simple - Double Decker" building
-added elevator double-decker (multi-car) support
-fixed issue where an elevator in Fire Service Phase 2 mode wouldn't put doors into nudge mode, when recalled from lobby (Phase 1 mode re-enabled)
-added elevator ChimeOnArrival parameter
-make sure profiler is cleaned up when window exits
-update profiler statistics every 10 frames instead of continuously
-added more performance metrics for the Profiler
-properly group radio buttons in Elevator Editor
-CameraState should store FOV value, so that the camera's FOV will be persistent when switching engines
-added "Simple - Top Box" building
-if a texture load fails, the texture resource needs to be removed afterwards. This fixes an issue where the failed texture would show up as loaded, during a reload
-if elevator doors are open due to the elevator waiting in a peak mode, don't reset the door timers when a call button on the same floor is pressed
-(OpenGL only) use standard texture copy method if dimensions are the same, to try to remedy texture copy crashes mainly on systems with Intel graphics, with small non-pow2 textures
-set name of FMod audio client, used with PulseAudio on Linux
-enhanced setting of adjusted floor 0 altitudes
-if floor 0 is created after floor -1, adjust floor 0 based on floor -1's altitude
-when creating basement floors, if floor 0 is created first, properly calculate floor -1's altitude offset based on floor 0, instead of assuming a default value
-frontend size_t migrations, to simplify loop code
-disable double-buffer fps fix in Windows, due to an issue where the screen turns black on fullscreen
-removed old Windows-only CodeBlocks file, and rename Linux one
-added converted Mac icon, and added Mac bundle data into tools folder
-queue the creation of the progress dialog, to fix an issue on Mac where the main window would freeze if a building is autoloaded
-DeleteButtons should be run in Load function
-added building "open with" load support for Mac systems
-app should switch current working directory to executable's directory on start, which allows double-clicking on building files outside of the app to start
-added command line options for fullscreen and no-panel modes
-added command line options to disable the intro music, show version and enable verbose mode
-added command line options for showing/hiding the console and main menu
-added command line option support
-enabled large address flag for 32-bit builds, and also included the disabling of inline function expansions
-have GetLineInformation function also return function name
-have crash report show script interpreter state, if a script is loading
-moved global door code into new DoorManager object, to fix positioning issues
-CutAll function needs to remove floor's base offset for it to cut stairwell walls properly
-(Simple) added filler walls for the stairs doors
-fixed cut voffset for AddFillerWalls
-fixed Triton Center external filler walls, and added mention in script guide about the voffset value
-added "isexternal" parameter to AddFillerWalls script command
-(Triton Center) have exterior doors use new External Doors feature
-fix for AddShaftStdDoor command
-added AddExternalDoor script command
-(Glass Tower) service elevator button arrangement fix
-floor indicators need to use proper texture prefix when created
-when elevator doors are being manually opened (shift-click), shift-clicking again will stop the doors
-when an elevator checks if it's available for a call, the interlock check should skip the current elevator floor to prevent issues, since that check is done later
-disable the door sensor if the elevator is waiting in a peak mode
-elevator interlock check should be skipped if the elevator is waiting in a peak mode
-added an "always" value to the ShowFullStairs command, which allows a stairwell to always be fully shown, like the ShowFullShaft command does with shafts
-added INI file option to switch off the Dynamic Mesh's auto combiner
-wxWidgets string cleanups
-SwitchEngines function should try to switch to active engine's parent, if possible
-elevator doors should only set "hold" option if not moving manually
-for door re-openings, only issue a re-open on doors that are moving
-position command in Globals section needs to recursively move child engines when run
-fixed an issue where the Position command in the Globals script section wouldn't work for buildings loaded in nested Buildings sections
-have CutForEngine function pass engine cut operation to parent, mainly so that nested Buildings sections in code will cut the top-level engine properly
-child engine positions need to be set relative of their parent engine
-elevators should report that they're unavailable for a call if the interlock check fails. This fixes a potential call button lockup
-fixed triangle reindexing by adding proper validity checks, to fix a problem that arose when switching to an unsigned int type
-(Triton Center) added LevelingOpen parameter to elevators
-(Triton Center) use standard height measurements for doors and elevators, currently on hotel levels
-fixed an issue where the dynamic mesh's Prepare flag wasn't being handled properly
-(dynamic meshes) added support for automatically re-preparing meshes when changing textures, if multiple clients are referencing a specific submesh, to fix an issue where changing a texture would affect multiple client meshes
-active elevator status should be reset if active elevator becomes unavailable
-IsLeveled function needs to do a fuzzy check for the elevator's position, to overcome very slight differences with floor altitudes
-manually-created textures need to be removed on engine shutdown
-(Triton Center) fixed top of East Stairwell (on 141-142)
-manual texture creation calls should check for exceptions
-elevators should reset queues when switching off Independent Service mode
-use default pixel formats for textures, and automatically determine the type when creating a manual texture
-when changing a texture, the associated polygons need to have their material names updated, which fixes crashes related to failed geometry and submesh references
-prevent duplicate texture loads
-removed Caelum test material
-use default (write-only) texture type, for functions where reading is not needed
-make sure that the emergency stop status is cleared, in a situation where it could be initiated after the run of FinishMove()
-merged "Separate Vertices" branch, which separates out the SBS MeshObject's vertex tables into per-submesh tables
-reset elevator camera offset if outside vertical range
-build fixes for Ogre 1.10
-show renderer in Windows crash reports
-console will turn autoscroll off if user clicks at a location to stay at in the text box, and scroll will reenable when the "Auto Scroll" button is clicked
-fixed an issue where physical models would not properly stay in elevators
-header rework, to improve compiling performance
-created new TextureManager object, for texture-related functions
-added a Move button to the Engine Manager dialog, to allow moving sim engines
-show the control reference when pressing the F1 key
-changed 'faces' to 'triangles' for F2 key function
-added new Dynamic Meshes system, which automatically combines grouped mesh objects into a single mesh, if needed, to greatly improve performance
-when elevator number is changed, properly update the door count slider
-fixed typo in SetRotation code, causing X and Z issues during Y axis rotation
-added missing F8 key to docs
-merged divide-by-zero fixes - fixes a reported issue in the elevator deceleration (jerk rate calculation) code
-control panel needs to properly unregister on exit
-(OgreBullet) add proper isInWorld check to base collision object, instead of a rigid body variable
-(OgreBullet) manually update static collider bounding boxes, to improve performance
-adjust freelook speed for frame rate
-moved mainscreen code into separate file
-added event-driven keyboard and mouse input system
-reworked code that handles persistent shaft doors, so that they only stay persistent when the camera is active in that engine
-removed extra shaft door disable code, since mesh disabling code should be run after the simulator startup, to prevent new colliders being added to disabled meshes
-simplified triangle index array in PolyMesh system, to prevent an extra vertex copy operation. This removes the TriangleMesh type and reuses TriangleIndices instead
-moved Triangle code into separate header file, and added operator functions
-renamed TriangleType to Triangle, due to SBS namespace addition
-disable elevators in shafts that have ShowFloors disabled, when leaving/resetting building
-turn off shafts and stairwells when resetting building
-make sure destobject-specified models are custom models, not loaded models
-disable Caelum sky system when switching to wireframe mode, to hide the sky triangles
-added mention of subfolders for Buildings section Load command
-when switching to fullscreen on Windows, enable double-buffering on the window to fix performance issues
-have Global AddWall/AddFloor commands use a specified mesh object directly instead of processing a string internally - this also fixes a crash if no valid mesh was found in the functions.
-have AddGround also draw underside of landscape
-when inserting another script file, script should be loaded and inserted as a single block, instead of calling insert() for each line, which causes performance problems
-preallocate memory for script file data
-Floor or Elevator script section loops should report when they're finished
-global models can now be transported in elevators, since they now properly change parents
-added "Simple - Custom Models" building
-fixed issue where AddShaftModel and AddStairsModel commands were doing a file check for the wrong parameter, causing false error messages
-added support for custom models to be specified as a "DestObject" value, in global/floor/elevator sections, and even as part of a shaft or stairwell.
-added the ability to use the floor's Interfloor and ColumnFrame meshes, and also Shaft and Stairwell meshes as a script "destobject"
-added a "RelativeY" option to the AddCustomWall command, to allow for relative Y offsets in a floor section, making it compatible with other similar commands
-SetKey state wasn't being properly reset in the script interpreter
-objects created after the simulator start should be initialized properly
-added model centering code to OnInit function, to support custom model centering
-fixed an issue where AddTriangleWall wasn't adding the floor's offset to the 3rd Y value
-added support for creating custom models
-added scaling support for SBS geometry meshes
-prevent run of geometry processor if the mesh is a loaded model, and added more error message details
-fixed menu screen button corruption with double-precision Ogre
-replaced the old file selection dialog with a simplified building list dialog, which also fixes Mac issues associated with the old dialog
-modal windows should be created on the stack instead (fix for some object memory leaks)
-added Load Building dialog for the Engine Manager
-added bounds views to Engine Manager dialog
-clean up empty engine slots at the end of the list, when deleting an engine
-GetPoint and GetWallExtents functions should iterate through all wall polygons, instead of searching by name
-fixed a matching issue with the FindPolygon function, and moved their code into the Wall object
-engines should re-cut for child engines on reload
-moved RenderOnStartup override into Engine Context, to allow the option when reloading a building
-if a user walks outside of all engine boundaries, revert their movement so they stay within the active engine
-lots of fixes to support deleting engines. The system now keeps instance slots open when an engine is deleted, which can be reused later.
-fixed a major vector preallocation bug in the ProcessSubMesh function, causing severe slowdowns with EG881's Landscapes test
-added CreateWallObject and AddPolygon script commands
-have CreateWallBox and AddDoorwayWalls functions automatically create wall objects
-fixed an issue where the AddCustomWall, AddCustomFloor and AddTriangleWall commands were double-adjusting the stored per-texture sizing info. This bug appeared during the CS 1.8 development, and so is not present in Alpha 7.
-made new AddPolygon function, and moved the AddCustomWall functionality into it
-the AddTriangleWall, CreateWallBox and CreateWallBox2 commands weren't working properly when Elevator meshes were specified, due to being disabled from a Genmesh transition in 2010.
-Prepare() function should create 32-bit index buffers if the number of vertices goes outside of the 16-bit range, and especially to prevent a short integer overflow (fix for EG881's 'Landscapes' test)
-only have the primary engine create the old skybox
-have sound system properly handle engine offsets and rotations
-added parent/child support for engines, and added the ability for a parent engine to be cut for a child engine's bounds
-Font code needs to unload the generated texture and font, if an error occurs during font load. This fixes a crash that happens if a missing font's file is added after building load, and the building is reloaded.
-switch to other engines when entering their bounds, instead of waiting to leave the active engine's bounds
-added ToGlobal and FromGlobal functions (C++)
-fixed crashes in the Object Manager and Move Object windows, which were caused by the SBS pointer not being updated properly when a building is reloaded
-HitBeam function fixes for engine offsets
-added support for rotating SBS engines
-added support for relative orientations
-skip Buildings script section when reloading building
-added Swap functions (C++)
-fixed top interior wall of CreateWallBox function, which wasn't displaying properly (this bug appeared during the Ogre transition)
-added Texture Override support to the CreateWallBox commands
-reset camera position if attaching to an engine where the engine's camera is outside of it's bounds
-report when setting an active engine
-added building resets when moving between buildings
-added support for exporting and importing the camera state, to reapply camera settings when walking between engines
-added support for walking between engines, with automatic context switching
-make sure progress dialog is deleted on shutdown
-sync camera when attaching
-added "City Demo" building.
-have SBS engine and Engine Contexts report instance numbers on console
-only pause for SBS banner for the first instance
-if concurrent loading is off, make sure buildings load in order properly
-added the "Simple - Multiple Buildings" and "Simple - Concurrent" multi-building demos.
-added Position and Bounds script global commands
-added Buildings section to the script interpreter, for loading multiple buildings
-if trigger's Y values are both 0, essentially ignore the Y factors when testing for proximity
-add double type to ToString function - now builds with Ogre in double-precision mode
-removed the shift-click call button status change
-when the sim engine is moved, the camera needs to update itself properly so that it can move along with it
-sound objects in controls, triggers, callbuttons and doors are now only created if a sound file is specified
-discard wall objects that are created outside of engine boundaries
-added position-based IsInside function to Trigger object
-added support for cutting outside engine bounds
-added bounds variables and main proximity trigger to engine
-have manual modes not allow new movement if the elevator is already moving - fixes an issue where the elevator would suddenly come to a standstill if the direction button was pressed while stopping
-removed 'k' engine shutdown key assignment
-added support for manual elevator up/down movement switches, which use the same UpOn/UpOff and DownOn/DownOff commands as Inspection Mode, along with a demo building based on the original Simple Manual
-status indicators in the Elevator Editor window should update when the mode is changed, instead of when the -values are refreshed or changed from the window
-added the IsOnFloor and OnRecallFloor functions
-some fixes for issues with elevator Peak modes causing doors to fully close and re-open when call buttons are pressed
-(Regression fix for rev 4066) - properly reset Active Elevator variable when call button is no longer active
-(Regression fix for rev 4066) - call buttons should have separate Active Elevator variables for each call direction
-fixed an issue where an elevator wouldn't stop and open on the recall floor, if on that floor but not leveled
-elevators should have a separate status flag for manual stops, to prevent a conflict with the new stop-on-dequeue feature
-added CopyTexture functions, that use new code for blitting texture data, fixing issues with flickering and darker textures when loading additional buildings
-(Elevator Editor) Active Hall Direction box now shows the direction text along with the call type
-(Elevator Editor) combined Door Height and Door Width boxes into a single Door Size
-(Elevator Editor) added Type box
-(Elevator Editor) removed the Origin box (no longer used)
-(Bullet) updated with a minor initialization fix
-person object should use floor ID text instead of number
-cleanups of Object Information window - this also fixes some serious object initialization bugs
-cleaned up singleton variables in frontend; moved them into the object classes
-control panel windows should be created on-demand (performance improvement)
-have only main screen handle idle events - this and the previous change should result in minor performance improvements
-pause the control panel's timer when the progress bar is visible (performance improvement)
-when taking over a hall call, if elevator's routes are empty, stop the elevator when cancelling the hall call response
-added support for elevators that are closer and become available during an active hall call, to take over the call response.
-added function (C++) to cancel an elevator's hall call response route, if no related floor button has been pressed
-added function (C++) to return control/button light status
-in the control panel, timer object should be reinitialized, not deleted and recreated from the OnInit call in the timer notify function. This fixes an issue where the timer object was deleted and then code continued to run in it's Notify function
-fixed an issue where elevator service mode controls would get stuck if an elevator was switched into a different service mode, while the controls were set. This change has the elevator mode setting functions succeed instead of fail, if the mode is the same.
-person should update their Current Floor setting while riding in an elevator
-have person wait until doors are open before exiting elevator
-more status reporting for Person object
-have person stop route if hall call fails
-if a person presses a call button, and the call status becomes invalid while they're waiting (the button light switches off), have them stop their route
-if a person is in an elevator that switches into a service mode, have them exit that elevator and try the hall call again
-if fire phase 1 mode is enabled while a person is in an elevator, have them exit at the recall floor instead of their original destination, and cancel all routes
-(Triton Center) motor position fixes
-added GetDirectFloors function (C++), along with code to find some routes that would fail with previous tests
-have route functions keep track of direct connections; this improves performance
-added an indirect local elevator check, if a person needs to take a local elevator before reaching direct route elevators
-shutdown fix - the system was exiting to the main menu if the active engine was shut down, when it's supposed to switch to another engine
-fix to properly reset values in People Manager window, when selecting a different person
-if person is riding in elevator, show riding status
-for Person object, wait for elevator doors to open before pressing floor button
-fix person list refreshing when switching engines
-array size fix for GetPerson function - fixes a crash when the list only contains 1 person, and the user switches to a different engine
-new People Manager dialog
-script errors now show the engine context number of the error, if more than one engine is running
-script errors now show the building filename instead of the section number, which isn't needed due to the script context string
-new Engine Contexts system, along with the Engine Manager dialog, which allows multiple buildings to be loaded and run in parallel
-elevators should continue checking elevator availability in a QueuePending stage, if the elevator is on the same floor as the call, and the doors are open or opening/closing. This lets the elevator take the call and re-open in that situation
-objects without parent scenenodes should attach to engine scenenode, not scene root node
-moved scenenode-related code out into separate SceneNode object
-added OgreBullet project files to main solution, to simplify building process on Windows. The separate OgreBullet solution is no longer needed.
-make sure building is specified before trying to load building
-call buttons should update arrival notification if elevator is on same floor and opened
-call buttons should reprocess call if the elevator that is handling the active call becomes unavailable during movement
-Random Activity now uses the new people code, and the old functionality has been removed
-added routing functions, for Person object to find an elevator route to a floor
-have elevators notify call buttons on arrival
-added object validity functions
-switched to FMOD Studio for sound
-ToRemote/ToLocal functions should support turning off the Z-flip (for rescaling only)
-created ObjectBase class for lightweight objects (currently Actions and Polygons)
-removed singleton pointer and properly propagate and store engine pointer, through object parent parameters
-added Person object
-added elevator type parameter, and added to main building files
-added ShowLoadedSounds and ShowPlayingSounds script commands
-cache file listing in VerifyFile function, to fix a major performance bottleneck when a building is missing lots of files along with a large data folder existing
-print FMOD version number on initialization
-new Sound System code, which provides more efficient sound management
-timers and meshes should be permanent by default
-call buttons should reject call if related button does not exist
-added Cloudy and Overcast sky types
-have Caelum use SBS scaling factor
-converted elevator door movement to relative positioning; also fixes an issue with vertically-moving shaft doors from working properly
-cleanups for HitBeam function
-converted elevator door movement to relative positioning; also fixes an issue with vertically-moving shaft doors from working properly
-sound support should not be switched off when IntroMusic is set to false in the INI file
-fixed console reporting of missing files
-added sound unload function
-don't load main elevator sounds on first loop run, load right before playing
-if sound is disabled in frontend, sound in engine should also be disabled properly
-object removal functions in Shaft and Stairs objects were using a wrong index value
-reworked object array method for Door objects, in stairwell and shaft objects
-reject mp3 files on load
-fixed FindWithCase function
-reworked and cleaned up call button code
-fixed an issue in call button processing that prevented engine callbacks from being removed
-don't run elevator checks if elevator is disabled
-disable objects when disabling elevator
-don't try to create a collider scenenode if it already exists
-made a proper fix for an issue involving graphics corruption on Windows after a reload. The viewport needs to be updated properly on a reload.
-SBS should call Prepare() on engine start, not frontend
-set location and date/time for Triton Center and Glass Tower buildings
-added Coordinates and DateTime global options
-resized couches to be more realistic
-model offset needs to be adjusted according to the scale multiplier
-for models, box colliders are now centered properly, and use a separate scene node to make it work
-SBS now calls a cascading init on all objects from the Start() function
-renamed any standard object runloops to Loop()
-renamed Sound's Loop() function to SetLoopState
-made standard inherited OnInit and Loop object functions
-OgreBullet should be checking for existence of resource group and loaded names directly instead of keeping a file-based existence flag. This fixes an issue where debug colliders (F7 key) would not enable when reloading a building.
-camera object needs to run loops of attached models
-camera needs to run NotifyMove and NotifyRotate functions, to properly update carried objects (child objects)
-object destructor was removing scenenode from parent twice, causing a crash - I reworked the code in this function
-moved functionality of camera's view and state resets (F3 and F6) into camera class
-re-enable main system meshes when doing a position reset (F6)
-restore absolute positioning and orientation of object scenenode when changing parent object
-fixed issue in RemoveChild function, that caused the scene node removal portion to be skipped
-consolidated FileExists function code into VerifyFile function
-overhaul of VerifyFile function, to check for files within mount points properly
-cleanup and fix of GetMountPath function
-have functions use SBS conversion functions instead of others
-added ToBool function
-removed Sky Time Multiplier from Camera Control window
-new arrangement for control panel buttons
-added Sky Controller dialog
-prevent DirectX on 32-bit Windows from switching into single-point floating point precision, which was causing the Bullet-related bounce issues
-model meshes now update parent (main) object scenenode on physics-related position update
-don't try to create a new submesh when deleting indices
-added ToFloat and ToInt global functions
-consolidated global functions; ToString2 is now just ToString
-input string in RemoveAction function needs to have whitespace removed for compatibility
-switched from c-strings to std::strings for function parameters and return types
-DeleteObject function can delete generic object directly, instead of recasting
-added new ConvertTo function to Object
-added template-based IsType() function to Object
-removed object's "raw_object" value, which is no longer needed due to previous change
-objects now use static_cast or dynamic_cast instead of c-style casts
-fixed bad return in FindWallIntersect function
-consolidated camera's mesh hit beam code into main SBS object
-code cleanups
-added support for picking up models
-mesh HitBeam function should be converting direction to remote Ogre value, without a rescale
-objects can now report if they are global objects (children of engine object)
-added ability for non-global physics-enabled models to be moved into elevators, and to move along with the elevator, by dynamically changing parent object of model from floor to elevator, and vice versa
-added Shaft, Stairs and Model runloops
-added functions for dynamic removal/addition of models
-added ability for objects to switch parents
-IsInElevator function now optionally sets CameraOffset value
-added check for model's physics state
-added debugging options file for Visual C++
-updated project files for Visual C++ 2015
-rewrote GIF control extension detection code; fixes additional transparency issues. The previous code was not ensuring that the three values were adjacent, and was matching for non-adjacent values, causing malfunctions.
-functions that create new sim objects should return full type, instead of just a generic object
-removed unnecessary conversion in Freelook mode code
-have camera only disable camera gravity value, instead of physics gravity also
-camera delta values were being used twice causing erratic movement behavior when using Bullet. Have Bullet use a single variable timestep, to prevent movement skipping issues
-simplified camera movement code
-camera movement vector needs to be flipped on X axis if Bullet is disabled
-object OnMove and OnRotate functions now have a "parent" flag, to determine if a parent object called the update
-rotations should update collider position also - this fixes an issue where parent objects would rotate, and child colliders would not be updated with the new derived position
-make sure Ogre log manager has been created before trying to call it
-simplified use of frontend and SBS singleton variables
-moved frontend into "Skyscraper" namespace
-return type fix for OnRecallFloor() function
-WallPolygon class has been renamed Polygon
-cleanups and initialization fixes
-moved SBS system into it's own namespace
-(Sears Tower) added Freight Elevator 1, along with minor wall fixes
-(Sears Tower) split off upper service elevator into separate shaft, and fixed positioning of shafts 29, 30 and the new 32
-(Sears Tower) adjustments to shaft starting/ending levels
-updated Codeblocks project
-moved elevator recall floor check into separate function, and added a check for the "recall unavailable" flag - this fixes an issue where an elevator on the alternate recall floor would not recall to the standard recall floor along with other elevators
-fixed crash in elevator's DumpQueues function, due to wrong queue being used for Down Queue info
-moved direction status variable to SetLights function in both callbutton and directional indicator objects
-call buttons need to set all lights in group for each light change - this fixes an issue where a call button light would be switched off later due to elevators rejecting the call, but other lights in the group would remain on
-added escalator textures from EG881's Escalator2011 package
-elevators should accept hall calls if waiting in UpPeak or DownPeak mode
-new Escalator object
-added Relative Position item to Move Object window, and realigned text boxes
-elevator motor sounds are now children of shafts, fixing movement issues, where they were moving along with the elevator (due to new positioning system)
-misc positioning fixes and cleanups
-elevator music sound is now positioned properly on startup, instead of at start of play
-elevator object positioning cleanups
-fixed typo (extra '-1') in IntersectRay function, fixes wall click issues
-fixes to elevator CameraOffset value, to allow user to move on top of an elevator while it's moving
-elevators now use move functions to set altitude; user can now jump and move vertically in elevator
-added camera movement function that uses SetPosition instead of character movement
-more GIF transparency fixes; added parsing of packed field to properly get transparency flag
-removed Mac screen adjustment code, due to fixes in Ogre 1.9
-prevent GTK checks on OSX
-fixed issues with Mount command
-(Triton Center) transfer hallway fixes
-(Triton Center) column frame work
-ComputeTextureMap function now rounds vector results, to prevent precision malfunctions in ComputeTextureSpace function
-added vector rounding functions
-added support for rounding numbers to a specified decimal place
-elevator's 'manualstop' setting should not enable if in a service mode
-an error dialog is now shown if messages can't be written to log
-fixed GIF transparency detection; should scan for extension marker instead of accessing directly
-(Sears Tower) shaft range fixes, and fixed issues with Zone 2 42-49 locals
-(Sears Tower) new exterior textures
-(Sears Tower) separated exterior into window frames and interfloor segments
-(Sears Tower) misc tweaks
-added references to floor slab heights to designguide.html
-add floor base to list report
-(Sears Tower) adjusted standard slab heights to be 12' 10" according to steel frame diagram
-(Sears Tower) repositioned stop buttons
-floor description fixes for Sears Tower and Observation Tower buildings
-(Sears Tower) zone 1 mechanical fixes
-(Sears Tower) increased interfloor heights to 3ft
-(Sears Tower) removed extra Call Cancel buttons
-visible mesh listing now shows submesh count
-added ListVisibleMeshes function and script command
-added description variable for floors
-added floorname, floorid and floortype variables to the floor section of the script interpreter
-added option to reset object state to the Object Information window, and made inactive Save Script button hidden
-removed separate Name variables, to use Object name instead
-removed redundant SetPolygonName function
-move polygon-specific code into polygon class
-made certain elements private in wall object
-rename "object" to "raw_object" in Object's SetValues function
-rename reference of "handle" to "polygon"
-moved polygon code to separate file
-added basic movement support to wall objects, which works by modifying vertices
-fixed a divide-by-zero issue in the elevator braking code
-make sure parent_deleting flag is set properly in destructors for all child objects
-elevator shaft door wrappers can now be deleted separately
-delay creation of elevator shaft door wrappers
-floor info now reports which stairwells and shafts span the floor
-moved floor info code into floor object
-floor information now shows a list of elevators that service the floor
-(Sears Tower) updated elevator button/control commands
-(Sears Tower) floors 90 and 100-102 are now locked
-(Sears Tower) split off separate upper service elevator, for floors 90-106
-ResetState functionality is now abstracted from the core Object class, and the implementation has been simplified
-added ability to reset elevator door states, mainly in case of door malfunction
-(Triton Center) lower level wall fixes
-(Triton Center) lobby positioning fixes
-(Glass Tower) fix extra instance of interior windows on 137
-found that the ObjectCount value wasn't being initialized before registering SBS root object
-simplified object system; object type is now inherited by sim objects
-don't turn on starting and ending floor shaft doors during elevator init
-elevator sounds need to be positioned from elevator center
-fixed positioning issue in stairs controls
-stairwell objects (models, action controls, etc) need to be offset of the floor base, not altitude
-MaxSmallRenderDistance now works due to new positioning system
-new object positioning system
-report error if no height specified in AddWallMain function
-report error and exit if no height specified when calling AddFillerWalls
-fixed invalid coordinate check in AddFloorMain function
-default texture tiling to 1.0 if 0 is specified during texture load
-wxWidgets 3.0 support
-added CameraTexture object
-added FindPolygon mesh function and simplified code
-moved GetPoint, GetWallExtents, and GetExtents functions to the MeshObject class
-elevator and floor creation should return created object
-don't leave top and bottom levels of shafts on - this doesn't appear to be needed anymore, and should increase rendering efficiency
Version 1.9.2 (2.0 Alpha 9 - Update 2)
-------------------------
-fix TriangleType element names
-turn off directional indicators if elevator is switching into a service mode, or is being switched off
-startup functions no longer crash if CreateElevator is never specified
-positioned elevator sounds properly
-need to initialize motor idle sound (fixes potential crashes)
-elevator door and chime sounds are now positioned properly at the door
-removed change_light parameter of AddRoute function, since the call type now handles this
-elevators now set queue-related call status for each call (car, hall and system), and they no longer chime if a related hall call is not active on that floor
-elevator queues can now store call-related information in addition to floor number
-(Glass Tower) added remaining interior atrium windows
-removed "SetUpIndicator" and "SetDownIndicator" buttons from elevator editor
-elevator door sensors are now set permanent to prevent crashes
-controls and triggers can now be made permanent
-AreDoorsMoving function now supports checking separate door types
-fixed an issue where the car idle (fan) sound would play when only shaft doors were opening
-elevator door name fixes
-door/sensor reset is now only done if doors are opened normally
-sensor and nudge modes are now switched off when manually opening doors
-for manual elevator doors, interlock error needs to reset direction value, otherwise a lockup may occur
-interior directional indicators are given the floor number to check for the existence of shaft doors
-elevator interior and exterior directional indicators are now controlled together from elevator's SetDirectionalIndicators function
-elevator should switch off directional indicators if leaving that floor
-added ShaftDoorsExist function to elevator
-added a shut-off timer to the directional indicator object, which will only start if associated elevator's AutoDoors is false, or no shaft doors exist on that floor
-rewrote ReplaceAll function, to work directly on the string reference to avoid copies
-in IfProc function, keep character references for performance
-optimization to the Cut function - only do name string copies when necessary
-sensor status variables need to be initialized first
-added more CS information to the texmap.cpp file
-GetPoint/isect functions are now working
-removed unnecessary vertex array copy from planar texture mapper
-wall object's plane calculations need to use full vertex list - this is the same issue as r3356
-added new ComputePlane function
-added StopDoors action
-fixed length values for a number of action names - fixes issues where door number parameters don't work
-fixed elevator's DoorsStopped function
-elevator will no longer move if doors are stopped and interlocks are enabled
-hold code in elevator's OpenDoor function will now only enable if an associated control has just been pressed
-caller objects are now passed to actions when running
-cleaned up elevator number text code for reports
-elevator doors now report if no timer reset will be performed due to blocked sensor
-triggers can now report their "inside" status
-elevator doors no longer reset door timers if sensors are blocked/triggered
-elevator door code cleanups
-control/trigger variable check_state was being handled in reverse
-added references to missing elevator action names
-in CreateWallBox function, don't try to create side walls if there's no thickness
Version 1.9.1 (2.0 Alpha 9 - Update 1)
-------------------------
-play elevator door open/close and message sounds on reversal
-change to Go function in rev 3171 broke FloorHold feature; relocated code to fix
-added more breaks and other cleanups
-cleanups to elevator functions involving door lookups
-prevent nudge mode from enabling if elevator doors were manually moved and stopped
-elevator door open buttons now can be held down to hold doors and released to reset door timer
-in DoorExists function, can't mix GetDoor and array (this was causing the DoorExists function to potentially malfunction)
-reordered section information area in script interpreter for the other changes to be made possible
-user variables now work in section lines such as "<Floors>", due to code reordering
-removed unneeded fire phase 1 check in call button code
-reordered call availability code, to properly report service and nudge modes
-overhauled nudge mode to enable timer when the situation allows it
-if mesh physics is enabled, use a box collider by default
-if model physics is enabled, mesh code should not try to load collider model
-(Bullet) position update is no longer needed in penetration recovery function, and causes issues
-(Bullet) turn off contact normal direction fix, which inverts some polygon normals incorrectly
-(Bullet) fixed penetration recovery by running it in the forward movement function, right after the setting of the original position, to prevent interference with stairs
-have call availability check properly report busy if doors are held, instead of for other reason
-elevator doors can now report their hold status
-added more "Invalid Door" errors to nudge and sensor functions
-reworked door sensor code to split into separate persistent enabled/disabled state, and temporary activated/deactivated state
-changed Alarm button in elevator editor to Hold Doors
-elevator door sensor and nudge functions now properly select door object
-NewElevator and NewFloor functions should use GetFloor function instead of their own check, for performance
-some functions in Shaft and Stairwell code weren't checking validity of floors
-in Calc function, lowered precedence of subtraction operator due to order conflicts with other operators
-cut function should flip coordinates if out of order
-F6 key would cause a crash if current camera floor was invalid (mainly in empty buildings)
-elevator sensor status is now only shown after startup or in verbose mode
-car idle, motor idle and music sounds now load sounds on first run if not loaded yet, instead of in CreateElevator function
-added motor idle sound code, which was started in rev 1603 but never finished
-don't try to create wall/floor sides and top if thickness is 0
-cleaned up wall/floor function return codes and some legacy stuff
-added checks to AddWallMain and AddFloorMain functions to print an error if coordinates are invalid
-added a zero normal check to the texture mapper
-planar mapper should be computing normal based on full polygon, not just first three vertices. This fixes some texture mapping errors
-reverted behavior change to ShaftShowOutside command from revision 3194
-make sure that floors grouped with the current camera floor are not switched off as part of the shaft and stairwell ShowFloors code
-(C++) SplitData function now verifies length of string properly
-reverted and remade the fix to prevent crashes if no parameters are specified for certain commands
-moved the missing file report to after the raising of the main window, to prevent it from being hidden on startup
-in Calc function, handle a calculation error as a silent error instead of ignoring it, to prevent infinite loops
-fixed an issue where clicks on call button panels would trigger a down call
-reworked elevator call availability code, to return busy or an error, to prevent call buttons from looping if all elevators won't service the call
-fixed an issue where DeleteRoute would report even if a route is not deleted
-in the Reload code, since the Load function can unload the simulator if it encounters an error, exit to the main menu if this happens to prevent a crash
-ensure that the Reload flag is turned off after a reload, which prevents future startup issues
-system meshes should be created on engine startup, not separately in script interpreter. This fixes startup crashes that happen if no valid data is in the script file
-door resets now report in verbose mode
-(C++) renamed ResetDoorTimer functions to Reset and ResetDoors
-sensors will only enable if using automatic doors (AutoDoors is true)
-added a new action "sensorreset" as part of previous fix
-fixed issue where door sensors would reset door holds. Door hold and reset functions now disable and re-enable sensors, and leave the sensor alone if the sensor is calling those functions.
-in Calc function, allow decimal numbers without 0's at start
-fixed a click position offset in Freelook mode on Mac, and also did minor cleanups to the related code
-reworked the floor indicator code, consolidating and separating it properly
-elevator indicators should be enabled/disabled along with the elevator
-floor and directional indicators can now be deleted by ctrl-alt-click
-fixed mesh name of floor indicators
-minor code cleanups
-fixed an issue where all related elevator shaft doors would respond to door bumper code, instead of just the elevator's floor. Also cleaned up the code.
-added missing dbghelp.dll file (Windows packaging)
-F2 key now prints more detailed render statistics
-fixed length of floating point output in ToString functions, for Visual C++
-don't treat textures in ChangeTexture function as filenames, just material names - this fixes a lot of performance problems
-(Triton Center) Hotel wall positioning fixes
-for call buttons, if all associated elevators are in a service mode, don't continue to search for more elevators; reset the call button instead
-fixed last report line from elevator's DumpQueues and DumpServicedFloors functions
-fixed an issue where floors listed in the ShowFloors or ShowOutside lists would be switched off when stopping and continuing at a floor
-fixed a crash that would occur if the Move button was pressed in the Object Manager if no selection was made
Version 1.9 (2.0 Alpha 9)
-------------------------
-added new Underground building
-cleanups in relation to ShowFloors arrays
-fixed a conflict between Group listings and ShowFloors lists, and cleaned up EnableFloorRange function
-the print command can now be specified by itself, to print a blank line
-many script commands would crash if given no parameters; this fixes the issue
-(Triton Center) 135th floor description fix
-made new floor list report and FloorInfo command, and migrated the ListAltitudes feature into that
-added Floor Information button to the control panel
-added current floor name to the control panel
-fixed an interior window positioning issue in the Simple building
-prevent shaft door reset if full shaft is enabled
-EnableGroup function in floor object will no longer touch shaft or stair objects if they're currently fully enabled
-disabled some warnings on Visual C++
-fixes to action array checks of Control and Trigger objects, to prevent crashes if no actions are associated with the object
-more elevator object checks for elevator editor
-reset door reference in elevator editor, to prevent issues if elevator is deleted
-added Mac key hints to control reference and readme
-the elevator editor's floor selector now only shows the related serviced floors
-(c++)reworked shaft door and elevator door ClickedObject code to newer design
-(c++)elevator shaft door wrapper objects now store associated floor number
-(c++)remade call button code in ClickedObject function, to remove legacy code
-call buttons can now be deleted using ctrl-alt-click
-controls can now be deleted by ctrl-alt-click
-objects are now deleted by ctrl-alt-click instead of just ctrl-click, to prevent interference with ctrl walking modifier
-added reporting to elevator door sensors
-added new actions for enabling and disabling elevator door sensors
-reworked action run code, to prevent duplicates
-call buttons now check if elevator objects are valid, to report accordingly
-brought back shift-click call button functionality, to change light status
-objects are now locked/unlocked by holding ctrl-shift and clicking instead of just shift-click, which fixes conflicts with using shift for running
-added transparent button background texture (transparent.png)
-elevators now update floor indicators and floor beep sounds when either passing a floor altitude, or beginning to level at a floor
-prevent elevators from updating floor number during leveling mode
-added more verbose file load error messages
-year update
-fixed Visual C++ 64-bit build options
-updated Visual C++ 2010 build parameters
-added message sound status checks, to prevent repeats
-removed Palace Hotel on author's request
-added support for sounds in call button objects
-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.
-fixes and cleanups to verbose output
-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
-added sound queuing support, using PlayQueued and ProcessQueue functions
-added reporting functions to Sound class
-elevators no longer play floor sounds (floor announcements) if on the same floor as hall call
-fixed crash that happened if the object move window was visible while the object was deleted
-(Triton Center) Shaft 17 (core utility shaft) now displays interfloors, bottom floor while inside it, and lights
-added ShaftShowInterfloors command
-Object Information window now displays correct line number information (adjusted for includes), and also related include filename
-split line number calculation portion of script error code into a separate function
-added List Textures button to control panel
-added script commands ListAltitudes and ListTextures
-texture listing now supports showing filename
-added more verbose output for texture loading functions
-fixed texture overrides; texture functions now unload previous material if a new one of the same name is specified
-(C++) added UnloadMaterial function and fixed UnloadTexture function
-(C++) split off texture multipler registration into separate functions
-(Triton Center) Residential service elevator texture orientation fix
-added emergency stop motor sound
-queued sound position option in sound code, to prevent repeat applies of the setting
-fixes for SetPlayPosition and GetPlayPosition in sound code for fmod, used by AutoAdjustSound
-added the AutoAdjustSound to the INI file, originally added in rev 1824
-added support for separate car and motor emergency stop sounds
-uninitialized value fixes (meshobject rotation)
-during an emergency stop, the car stop sound is played if an emergency stop sound isn't specified
-verbose mode now reports details on exactly which car/motor sounds are played, for start, move, and stop
-reworked elevator car/motor sound code and moved into separate functions
-renamed the "mainsound" sound object to "carsound"
-added support for a separate emergency stop car sound and speed multiplier
-fixed an issue where the elevator editor would display too much call button output in verbose mode
-split the create_walls option in the FinishDoors commands into separate doors_walls and track_walls options, and updated guide
-fixed issue where elevator nudge mode would become active if elevator was in fire phase 2 mode on alternate recall floor
-partial floor range in ShaftShowFloors command is now shown regardless of elevator moving
-added IsBoolean function (C++)
-enhancements to the ShaftShowFloors command
-button title fix (elevator editor)
-fixed issue where FinishDoors function was not properly reverting the DrawWalls state
-removed bounding box check in stairs code, since it was failing on stairwell floors that contained no geometry, but were still valid
-fixed "InStairwell" status
-interfloors are now shown for adjacent floors, in order to match the original design concept
-fixed columnframe and interfloor checkboxes in the mesh control dialog
-added Mesh Control dialog option to enable/disable interfloors
-added functions to enable/disable interfloors
-fixed main filename case
-fixed Caelum sky rotation
-changed Caelum start time to 10am instead of noon
-removed SkyMult INI file parameter, and the Caelum sky.os file now configures this
-added a check to make sure elevator serviced floors are valid for the associated shaft
-added basic group state check to floor object, to prevent repeated enables/disables during ShowFloors functionality
-floors now report in verbose mode when they're enabled/disabled
-fixed an issue where the ShaftShowFloors command would cause the destination floor to become disabled
-check floor enabled state before enabling/disabling floor and group
-mentioned reverse floor ranges in script guide