Commit Graph

573 Commits

Author SHA1 Message Date
Alexander Batalov a47918a83c Fix Pipboy screensaver on non-Windows platforms
Closes #115
2022-08-06 22:46:13 +03:00
Alexander Batalov 25e07fb597 Fix flags on non-door objects 2022-08-06 20:33:53 +03:00
Alexander Batalov 43ad927817 Fix dead critters reload weapons when combat ends 2022-08-06 20:12:23 +03:00
Alexander Batalov d7966cdab2 Fix updating armor class 2022-08-06 20:05:33 +03:00
Alexander Batalov 33bda1612c Fix withdrawal perk crash 2022-08-06 18:45:44 +03:00
Alexander Batalov f3eef3fe6c Fix negative Skilldex values 2022-08-06 18:21:47 +03:00
Alexander Batalov d8ae5fbd32 Fix car charging bugs 2022-08-06 17:49:24 +03:00
Alexander Batalov 02e83a1989 Fix Sharshooter bonus 2022-08-06 17:07:07 +03:00
Alexander Batalov 5c8f7c4b00 Fix negate operator 2022-08-06 16:57:43 +03:00
Alexander Batalov 3592a7232c Add town reputation improvements (#29) 2022-08-06 15:50:33 +03:00
Alexander Batalov ef067cd954 Reconcile with reference edition 2022-08-06 13:48:16 +03:00
Alexander Batalov 17382d7c7e Fix poping uninitialized pointer
Closes #113
2022-08-06 12:46:05 +03:00
Alexander Batalov 5170948588 Add explosions improvements (#29) 2022-08-05 17:43:00 +03:00
Alexander Batalov 3ccb087d20 Add burst mod (#29) 2022-08-03 17:23:24 +03:00
Alexander Batalov 3f9145b745 Remove varargs.h 2022-08-03 16:13:18 +03:00
Alexander Batalov 5b79d8ca79 Add premade characters improvements (#29) 2022-08-03 16:06:44 +03:00
Alexander Batalov 25c1eeee5c Add display monitor improvements (#29) 2022-08-03 13:54:26 +03:00
Alexander Batalov f5060c301b Add elevators improvements (#29) 2022-08-03 12:34:13 +03:00
Alexander Batalov 8a2ca4b733 Add books improvements (#29) 2022-08-02 21:52:32 +03:00
Alexander Batalov 9610de0a66 Add criticals config defaults 2022-08-02 21:04:58 +03:00
Alexander Batalov 64627ddde9 Fix sprintf_s 2022-08-02 19:46:44 +03:00
Alexander Batalov 63bcb2d009 Add critical hits improvements (#29) 2022-08-02 19:37:31 +03:00
Alexander Batalov df5bceaf2a Reconcile with reference edition 2022-08-02 13:31:26 +03:00
Alexander Batalov 66d46bd8a5 Fix skills usage slots
Closes #110
2022-08-02 12:09:33 +03:00
Alexander Batalov 28a433ea76 Fix parentesis warnings 2022-08-01 19:47:09 +03:00
Alexander Batalov 2c69834a12 Fix unequipped armor flags
Closes #108
2022-08-01 07:17:01 +03:00
Alexander Batalov 307b032118 Fix movie decoding on x64
Closes #107
2022-07-31 22:32:50 +03:00
Alexander Batalov ab8279078e Fix party member level up message
Closes #104
2022-07-31 12:09:39 +03:00
Alexander Batalov b7ac80e684 Fix floating point division
Closes #103
2022-07-31 12:03:43 +03:00
Alexander Batalov 6064a4bc79
Add Android controls (#101) 2022-07-29 20:04:37 +03:00
Alexander Batalov e41a4b8e16
Reconcile with reference edition (#100) 2022-07-29 16:04:05 +03:00
Alexander Batalov 39057fd1fb Fix missing result on stack
Closes #95
Closes #96
2022-07-27 23:22:06 +03:00
Alexander Batalov cbdb0eeba4 Make configGetInt compatible with atoi
Fixes #94
2022-07-27 10:24:45 +03:00
Alexander Batalov 73b6a16551 Fix loading save game crash on Windows 2022-07-27 10:11:33 +03:00
Alexander Batalov 684d943062
Add Android support (#92) 2022-07-26 04:30:17 +03:00
Alexander Batalov 8bd75e9737 Fix splitpath/makepath issues
See #68
2022-07-25 20:48:35 +03:00
Alexander Batalov 8ef9b66950 Get rid of std::filesystem
See #68
2022-07-25 20:38:11 +03:00
Alexander Batalov 8a006d2818 Rewrite fileCopy
See #68
2022-07-25 18:37:22 +03:00
Alexander Batalov a60382e044 Fix type 2022-07-25 00:02:54 +03:00
Alexander Batalov a20e2a8b50 Fix unsigned checks 2022-07-24 22:58:01 +03:00
Alexander Batalov 365805afe8 Fix opRemoveObjectFromInventory arguments order
Closes #83
2022-07-24 11:11:56 +03:00
Alexander Batalov 757330bff4 Add pointer vs int equality check 2022-07-23 07:42:33 +03:00
Alexander Batalov f3869e0acf Fix pointer comparison
See #82
2022-07-23 07:25:39 +03:00
Alexander Batalov cee3af7cc4 Fix opAdd concatenating string and pointer
Closes #78
2022-07-22 16:43:40 +03:00
Alexander Batalov 8ab7f8493a Fix kills folder
Closes #76
2022-07-15 16:58:58 +03:00
Alexander Batalov 07d1f9fd81
Migrate sound to SDL (#70) 2022-07-12 12:09:53 +03:00
Alexander Batalov bbfd7785b5
Use OpenGL renderer (#72) 2022-07-12 10:10:23 +03:00
Alexander Batalov c562d83020 Rename animation sad 2022-07-07 11:28:21 +03:00
Alexander Batalov 158826ed63 Fix some msvc x86 warnings 2022-07-07 10:52:54 +03:00
Alexander Batalov 5dd52de43a Fix movies artifacts
Left rotation in opcode 15 didn't work because value1 and value2 were signed.
2022-07-07 09:44:30 +03:00
Alexander Batalov 1ac3ba964d Fix check 2022-07-06 15:11:55 +03:00
Alexander Batalov a8eb88ce2c Review pcSetExperience 2022-07-06 15:10:43 +03:00
Alexander Batalov 26f066d773 Fix check 2022-07-06 15:05:32 +03:00
Alexander Batalov b247470cb7 Fix check 2022-07-06 15:03:53 +03:00
Alexander Batalov a712b63633 Fix argument check 2022-07-06 15:02:02 +03:00
Alexander Batalov a19dcfad93 Review nevs 2022-07-06 14:59:54 +03:00
Alexander Batalov f66b8df39b Group damage flags 2022-07-06 14:23:06 +03:00
Alexander Batalov c1e89205ed Fix some sprintf warnings 2022-07-06 14:12:48 +03:00
Alexander Batalov 80e27a8c98
Add macOS support (#63) 2022-07-05 15:45:36 +03:00
Alexander Batalov 8e1291b1d1
Provide x64 compatibility (#62) 2022-07-05 11:00:55 +03:00
k3tamina 599e8292f9
Cleanup window.h (#56) 2022-07-05 09:22:01 +03:00
k3tamina f3363d1e8b
Cleanup window_manager.h (#57) 2022-07-05 09:21:26 +03:00
k3tamina 7b916f54a3
Cleanup window_manager_private.h (#58) 2022-07-05 09:20:56 +03:00
k3tamina 42988a0d4b
Cleanup widget.h (#59) 2022-07-05 09:20:20 +03:00
k3tamina 0695947b49
Cleanup sound.h (#60) 2022-07-05 09:15:43 +03:00
Alexander Batalov ead439335e Cleanup interpreter.h
See #42
2022-06-20 08:50:13 +03:00
Alexander Batalov db9ce1071f Make interpreter lib variables static 2022-06-20 08:44:27 +03:00
Alexander Batalov cb921fc9ba Cleanup interpreter_lib.h
See #42
2022-06-20 07:56:00 +03:00
Alexander Batalov c132b4f350 Cleanup interpreter_extra.h
See #42
2022-06-19 20:38:31 +03:00
Alexander Batalov 6db4ce4c24 Cleanup map.h
See #42
2022-06-19 20:14:17 +03:00
Alexander Batalov a4d4650a1b Cleanup xfile.h
See #42
2022-06-19 19:02:01 +03:00
Alexander Batalov bfc6fb04f4 Cleanup palette.h
See #42
2022-06-19 18:56:23 +03:00
Alexander Batalov b1a85de08b Cleanup object.h
See #42
2022-06-19 15:18:08 +03:00
Alexander Batalov 34eb29d797 Cleanup db.h
See #42
2022-06-19 15:05:39 +03:00
Alexander Batalov ebee02e196 Cleanup scripts.h
See #42
2022-06-19 14:56:00 +03:00
Alexander Batalov 32fdd5d8ef Cleanup proto.h
See #42
2022-06-19 14:42:07 +03:00
Alexander Batalov ca99fc0ad2 Cleanup proto_instance.h
See #42
2022-06-19 14:32:00 +03:00
Alexander Batalov b3f6721ee1 Cleanup pipboy.h
See #42
2022-06-19 14:27:29 +03:00
Alexander Batalov ce0f7f8091 Cleanup movie_lib.h
See #42
2022-06-19 14:21:01 +03:00
Alexander Batalov 7796fcd6a8 Cleanup memory_manager.h
See #42
2022-06-19 14:11:04 +03:00
Alexander Batalov 7d7b4fce33 Cleanup loadsave.h
See #42
2022-06-19 14:07:58 +03:00
Alexander Batalov f93749b40e Cleanup item.h
See #42
2022-06-19 13:43:46 +03:00
Alexander Batalov c6bda58dce Cleanup inventory.h
See #42
2022-06-19 13:32:42 +03:00
Alexander Batalov d047edca51 Cleanup geometry.h
See #42
2022-06-19 13:20:13 +03:00
Alexander Batalov f5c0c1d61f Cleanup game.h
See #42
2022-06-19 13:18:12 +03:00
Alexander Batalov 24176ec52b Cleanup debug.h
See #42
2022-06-19 13:13:34 +03:00
Alexander Batalov 48510bc3ad Cleanup dfile.h
See #42
2022-06-19 13:10:04 +03:00
Alexander Batalov a0661ca3c8 Cleanup critter.h
See #42
2022-06-19 12:57:46 +03:00
Alexander Batalov fd69d73ec9 Cleanup combat.h
See #42
2022-06-19 12:00:14 +03:00
Alexander Batalov 2325c0ec65 Cleanup combat_ai.h
See #42
2022-06-19 11:32:07 +03:00
k3tamina d00b632f48
Cleanup game_sound.h (#54) 2022-06-19 11:14:26 +03:00
k3tamina 7d4d2af1d2
Cleanup game_dialog.h (#52) 2022-06-19 10:59:36 +03:00
k3tamina 8de2871593
Cleanup game_mouse.h (#53) 2022-06-19 10:58:46 +03:00
Alexander Batalov af5b2ca910 Add missing include 2022-06-19 10:46:12 +03:00
Alexander Batalov 5bebed1b9d Add missing include 2022-06-19 10:41:25 +03:00
Alexander Batalov e3df320792 Add missing include 2022-06-19 10:14:14 +03:00
Alexander Batalov ca69505055 Cleanup color.h
See #42
2022-06-19 09:32:26 +03:00
Alexander Batalov a1be167fd3 Cleanup character_editor.h
See #42
2022-06-19 09:20:30 +03:00
Alexander Batalov 37748c5e75 Cleanup automap.h 2022-06-19 09:07:50 +03:00
Alexander Batalov ff0fa95862 Cleanup art.h
See #42
2022-06-19 09:02:26 +03:00
Alexander Batalov d57efd0037 Cleanup movie.h
See #42
2022-06-19 08:48:30 +03:00
Alexander Batalov 8ff5781b11 Cleanup queue.h
See #42
2022-06-19 08:39:08 +03:00
Alexander Batalov d329149d88 Cleanup random.h
See #42
2022-06-19 08:34:41 +03:00
Alexander Batalov 6df489fecc Cleanup region.h
See #42
2022-06-19 08:30:28 +03:00
Alexander Batalov a2da6fa26c Cleanup skill.h
See #42
2022-06-19 08:28:29 +03:00
Alexander Batalov ed33eee731 Cleanup sound_decoder.h
See #42
2022-06-19 08:23:12 +03:00
Alexander Batalov ef24593371 Cleanup skilldex.h
See #42
2022-06-19 08:18:05 +03:00
Alexander Batalov d47522ed8a Cleanup sound_effects_cache.h
See #42
2022-06-19 08:15:01 +03:00
Alexander Batalov 5d99bdbcec Cleanup sound_effects_list.h
See #42
2022-06-19 08:07:49 +03:00
Alexander Batalov a5a86749b7 Make tile functions static
See #42
2022-06-19 08:07:06 +03:00
Alexander Batalov 7658a41f64 Cleanup tile.h
See #42
2022-06-19 08:02:47 +03:00
k3tamina a9ca75a1a3
Cleanup world_map.h (#51) 2022-06-19 07:45:51 +03:00
Alexander Batalov 323efe99e8 Cleanup text_font.h
See #42
2022-06-18 19:15:19 +03:00
Alexander Batalov b602007bc5 Cleanup text_object.h
See #42
2022-06-18 19:09:17 +03:00
Alexander Batalov 38c59e416c Cleanup trait.h
See #42
2022-06-18 19:06:37 +03:00
Alexander Batalov 8515791ab0 Cleanup stat.h
See #42
2022-06-18 19:05:10 +03:00
Alexander Batalov 13a7b5e743 Cleanup perk.h
See #42
2022-06-18 18:37:23 +03:00
Alexander Batalov 428b4baa7b Cleanup party_member.h
See #42
2022-06-18 18:33:10 +03:00
Alexander Batalov b6b6cf6834 Cleanup options.h
See #42
2022-06-18 18:25:13 +03:00
Alexander Batalov 94f7ee280e Cleanup movie_effect.h
See #42
2022-06-18 18:00:37 +03:00
Alexander Batalov 7b0c92843c Cleanup main.h
See #42
2022-06-18 17:56:37 +03:00
Alexander Batalov 3b442ea4dd Cleanup lips.h
See #42
2022-06-18 17:49:48 +03:00
Alexander Batalov dd2f882bc2 Cleanup light.h 2022-06-18 17:44:17 +03:00
Alexander Batalov c656668f57 Cleanup interface.h
See #42
2022-06-18 17:39:55 +03:00
Alexander Batalov 75068c8236 Cleanup heap.h
See #42
2022-06-18 17:22:10 +03:00
Alexander Batalov a6eb844fa2 Cleanup grayscale.h
See #42
2022-06-18 16:56:42 +03:00
Alexander Batalov 54da5ffe36 Cleanup graph_lib.h
See #42
2022-06-18 16:55:46 +03:00
Alexander Batalov ab8ef590fe Cleanup game_movie.h
See #42
2022-06-18 16:52:03 +03:00
Alexander Batalov 4515c6cd51 Cleanup game_memory.h
See #42
2022-06-18 16:47:23 +03:00
Alexander Batalov 92a20f5a3c Cleanup font_manager.h
See #42
2022-06-18 16:45:28 +03:00
Alexander Batalov 4d5489cdea Cleanup export.h
See #42
2022-06-18 16:39:39 +03:00
Alexander Batalov 233a13aee7 Cleanup endgame.h
See #42
2022-06-18 16:35:38 +03:00
Alexander Batalov c1a31dc998 Cleanup elevator.h
See #42
2022-06-18 16:26:21 +03:00
Alexander Batalov 939893e22f Cleanup display_monitor.h
See #42
2022-06-18 16:22:28 +03:00
Alexander Batalov c6095b96d9 Cleanup dictionary.h
See #42
2022-06-18 16:16:32 +03:00
Alexander Batalov b7adb91784 Cleanup dbox.h
See #42
2022-06-18 16:12:07 +03:00
Alexander Batalov 6a8c89ed46 Cleanup cycle.h
See #42
2022-06-18 16:09:35 +03:00
Alexander Batalov 8cce0db5bb Cleanup credits.h 2022-06-18 16:05:07 +03:00
Alexander Batalov fac4d57b3d Cleanup config.h 2022-06-18 16:02:36 +03:00
Alexander Batalov 2c5f3c1337 Cleanup character_selector.h
See #42
2022-06-18 15:56:45 +03:00
Alexander Batalov 83ebb7d473 Cleanup cache.h 2022-06-18 15:51:18 +03:00
Alexander Batalov 92fbd33579 Cleanup autorun.h 2022-06-18 15:47:34 +03:00
Alexander Batalov aa723e75ca Fix memory.h 2022-06-18 15:41:06 +03:00
Alexander Batalov 976ecfa2f8 Cleanup audio_file.h
See #42
2022-06-18 15:39:21 +03:00
Alexander Batalov 49efaf3fbd Cleanup audio.h
See #42
2022-06-18 15:36:13 +03:00
Alexander Batalov f566649479 Cleanup message.h
See #42
2022-06-18 15:31:46 +03:00
Alexander Batalov ee3528037b Cleanup memory.h
See #42
2022-06-18 15:30:05 +03:00
Alexander Batalov 8e4299d728 Cleanup animation.h
See #42
2022-06-18 15:27:54 +03:00
Wipe 5bd0e3c505
Add SFall Misc->MainMenu*OffsetX/Y (#41) 2022-06-18 11:06:00 +03:00
k3tamina a449ce28ad
Cleanup actions.h (#47) 2022-06-18 11:04:25 +03:00
Alexander Batalov 8b37a22dd0
Provide compatibility layer for paths on Linux/Mac (#50)
See #17
See #49
2022-06-18 10:58:15 +03:00
Alexander Batalov 9098ad6486 Use Ubuntu 20.04 for CI 2022-06-13 18:25:33 +03:00
Alexander Batalov 96771e9cdd Fix objects rendering 2022-06-13 17:35:07 +03:00
Jan Šimek 7872d4d3cb
Fix inventory context menu and mouse position (#44)
See #3

Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-06-12 12:30:05 +03:00
Jan Šimek 8c2b9c7aec
Enable debug output on linux (#45) 2022-06-12 11:44:22 +03:00
Alexander Batalov c0b98ba90e Prepare textFontLoad for x64 2022-06-12 00:02:54 +03:00
Alexander Batalov f796a724d1 Add missing include 2022-06-11 23:50:12 +03:00
Alexander Batalov 9e817304d1 Get rid of saving pointers 2022-06-11 23:49:05 +03:00
Alexander Batalov 2929a833bf Change mmx detection 2022-06-11 22:56:21 +03:00
Alexander Batalov 2f03d653fc Review lipsReadV1 2022-06-11 22:33:43 +03:00
Alexander Batalov c10f0e5caf Change types 2022-06-11 22:24:55 +03:00
Alexander Batalov c05b586f6c Review _obj_offset_table_init 2022-06-11 22:13:32 +03:00
Alexander Batalov 2a9e00d730 Fix tile border calculation
Closes #9
2022-06-11 21:40:12 +03:00
Alexander Batalov e17e30e13f Rename editor symbols 2022-06-11 00:32:57 +03:00
Alexander Batalov e3c27a3def Review animateMoveObjectToObject
See #32
2022-06-10 10:40:22 +03:00
Wipe dae87e0964
Correct minor mistakes in #36 (#40) 2022-06-10 09:36:47 +03:00
Jan Šimek f510545bc3
Rename function parameters and use ROTATION_COUNT enum (#39) 2022-06-10 09:23:43 +03:00
Alexander Batalov e35594040d Add custom karma folder graphics
Closes #38
2022-06-09 09:53:41 +03:00
Alexander Batalov ba1715d9b0 Add karma changes display
See #38
2022-06-08 23:33:54 +03:00
Alexander Batalov 5731cd6058 Fix player model settings 2022-06-08 23:15:30 +03:00
Alexander Batalov 0c7245fa09 Add player model settings
See #29
2022-06-08 22:01:25 +03:00
Jan Šimek e27f72f52b
Rename object flags according to Sfall (#37) 2022-06-08 20:38:46 +03:00
Alexander Batalov 9cad93c764 Reconcile script fixes from reference edition 2022-06-08 20:35:51 +03:00
Wipe 5a0d5d2538
Add SFall Misc->MainMenu*FontColour (#36) 2022-06-08 00:20:55 +03:00
k3tamina 12cbfe262c
Fix save game preview (#33) 2022-06-08 00:14:52 +03:00
Wipe 893dc0e090
Tweak configGetInt() to read hex strings properly (#35) 2022-06-08 00:00:19 +03:00
Alexander Batalov 2c05b8683d Fix dialog display centering 2022-06-07 23:41:24 +03:00
Alexander Batalov f67841d3b9 Fix strupr 2022-06-07 23:31:38 +03:00
Alexander Batalov a49970ac3f Decompile editor options window 2022-06-07 23:18:59 +03:00
Jan Šimek e6dfce21c9
Properly destroy SDL window (#34) 2022-06-05 23:21:28 +03:00
Alexander Batalov a3390819d1 Reconcile with reference edition 2022-06-05 01:01:49 +03:00
Wipe 2991877b13
Add SFall Misc->SkipOpeningMovies (#30) 2022-06-04 13:22:40 +03:00
Wipe dd20063a2e
Fix dialog caps not rendered after exiting barter (#31) 2022-06-04 13:14:53 +03:00
Alexander Batalov 0819937e56 Fix timeGetTime on Linux 2022-06-02 21:11:23 +03:00
k3tamina 2e7070a942
ISO C++ forbids converting a string constant to char* (#26) 2022-06-02 11:44:12 +03:00
Jan Šimek 571c0db190
Fix linux build (#25)
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-06-02 11:31:03 +03:00
Alexander Batalov 501ae1161d Wrap sound stuff
See #17, #24
2022-05-30 00:40:09 +03:00
Alexander Batalov e7f6bbf867 Wrap mmx probe 2022-05-30 00:29:58 +03:00
Alexander Batalov c7397826cc Add missing includes
See #17
2022-05-30 00:29:05 +03:00
Alexander Batalov 3571db7f40 Remove unnecessary io.h 2022-05-29 22:11:00 +03:00
Alexander Batalov 0472ac9a22 Wrap windows api
See #17, #24
2022-05-29 22:08:13 +03:00
Alexander Batalov 24fdfc065f Add missing includes 2022-05-29 22:00:50 +03:00
Alexander Batalov 45d266a290 Replace rotl 2022-05-29 21:57:35 +03:00
Alexander Batalov ca68373e74 Wrap DirectSound
See #17, #24
2022-05-29 20:07:43 +03:00
Alexander Batalov 6dd55e4ee9 Improve protoGetDataMember
Reduces number of cast complaints in macOS/x64.

See #24
2022-05-29 18:25:34 +03:00
Alexander Batalov 3d6019d2ec Provide timeGetTime compatibility layer
See #17, #24
2022-05-29 18:15:48 +03:00
Alexander Batalov 3d477ed235 Provide mkdir compatibility layer
See #17, #24
2022-05-29 18:08:55 +03:00
Jan Šimek 14aa86c4b7
Reorganize variables scope for goto (#23)
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-05-29 16:40:49 +03:00
Alexander Batalov 6929e054a9 Reorganize variables scope for goto
Fixes AppleClang complaints.

See #17
2022-05-29 00:32:50 +03:00
Jan Šimek 86c0585efc
Provide filepath compatibility layer (#22)
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-05-29 00:22:40 +03:00
Alexander Batalov 442e0a17ab Provide splitpath/makepath compatibility layer
See #17
2022-05-28 23:17:48 +03:00
Alexander Batalov 5ce83bc29d Reorganize includes 2022-05-28 21:46:58 +03:00
Alexander Batalov 220fb1a196 Decompile interface font byte swap functions
See #17
2022-05-28 21:39:47 +03:00
Alexander Batalov 14ce3994ce Replace min/max macro
See #17
2022-05-28 14:45:48 +03:00
Alexander Batalov 17dc61b782 Make randomGetSeed cross-platform
See #17
2022-05-28 14:08:00 +03:00
Alexander Batalov 6ae1afc57c Make file find utils cross-platform
See #17
2022-05-28 14:01:52 +03:00
Alexander Batalov 451e73293b Add missing include 2022-05-28 12:49:55 +03:00
Alexander Batalov bf9b865efd Add missing include 2022-05-28 12:48:26 +03:00
Alexander Batalov b1216967c0 Replace MAX_PATH with COMPAT_MAX_PATH 2022-05-28 12:34:49 +03:00
Alexander Batalov 4bac829739 Add string functions compatibility layer
See #17
2022-05-28 11:57:32 +03:00
Alexander Batalov e1cf71eac7 Add overwrite param (#20) 2022-05-28 11:29:45 +03:00
Jan Šimek 23c0d3b873
Replace CopyFileA with a cross-platform function (#20)
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-05-28 10:38:16 +03:00
Alexander Batalov 6714aebbad Replace GetTickCount with SDL_GetTicks 2022-05-28 09:32:36 +03:00
Alexander Batalov 7174cc703d Reorganize fpattern config 2022-05-28 08:35:23 +03:00
Alexander Batalov 119cfe8212 Remove static assertions
They were aid to decompilation, now they are source of complaints when compiling for x64.
2022-05-28 07:34:29 +03:00
Alexander Batalov 7a1119bac0 Use C++ noreturn attribute 2022-05-28 07:26:08 +03:00
Jan Šimek 49f0d833ab
Fix help and end game window positions (#21) 2022-05-28 06:57:53 +03:00
Jan Šimek ad1fb7765b
Remove the use of stdbool (#19)
It should not be needed anymore after the migration to C++
2022-05-28 06:55:42 +03:00
Alexander Batalov b467198f16 Introduce sfall config 2022-05-26 00:16:20 +03:00
Alexander Batalov bc8db9e8c2 Get rid of command line args
With new `main` it's no longer needed to collect argc/argv from cmdline.
2022-05-25 23:05:51 +03:00
Jan Šimek 0672161a47
Replace WinMain with the main function (#16)
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-05-25 22:41:11 +03:00
Jan Šimek da1808961b
Add StartingMap configuration option from Sfall (#15)
Closes #14
2022-05-25 22:15:04 +03:00
Alexander Batalov a2698b220c Get rid of DirectDraw 2022-05-24 23:19:36 +03:00
Alexander Batalov 2446621719 Rename tile stuff 2022-05-24 01:37:46 +03:00
Alexander Batalov 21101ef355 Fix window surface cache
Closes #1
2022-05-24 00:18:41 +03:00
Alexander Batalov 2d54e41fdb Fix tile border calculation
See #9
2022-05-23 22:41:54 +03:00
Jan Šimek 03b5771e8f
Fix mouse clicking around interface if IFACE_BAR_MODE is enabled (#12)
See #3
2022-05-23 22:24:05 +03:00
Alexander Batalov c634499a87 Get rid of DirectInput
See #1
2022-05-23 11:44:49 +03:00
Alexander Batalov 99ddcd3d0e Fix save game preview
See #3
2022-05-23 11:16:04 +03:00
JordanCpp 1f8a62f2b6
Add fps limit (#10) 2022-05-23 11:13:28 +03:00
Jan Šimek 0c61f74ba9
Fix indicator bar position (#7)
Closes #6
2022-05-22 13:55:49 +03:00
Alexander Batalov be81049ff5 Fix inventory window position
See #3
2022-05-22 13:33:41 +03:00
Alexander Batalov 1267b8ddfb Fix movie positioning
See #3
2022-05-21 23:04:08 +03:00
Jan Šimek 86d8a92ce0
Add IFACE_BAR_MODE configuration option from HRP (#5)
See #3
2022-05-21 21:30:25 +03:00
Alexander Batalov 6725edcf5f Fix main menu underlay window position
See #3
2022-05-21 21:06:13 +03:00
Alexander Batalov c0b9290e73 Fix load/save game window position
See #3
2022-05-21 21:03:48 +03:00
Alexander Batalov e177b11d0d Fix death window position
See #3
2022-05-21 20:42:14 +03:00
Alexander Batalov e6808d30aa Fix main menu position
See #3
2022-05-21 20:35:18 +03:00
Alexander Batalov cffd0321f6 Fix splash position
See #3
2022-05-21 20:29:02 +03:00
Alexander Batalov 2148d52cca Fix gender selector position 2022-05-21 20:08:20 +03:00
Alexander Batalov 44ae520284 Remove flexible array member 2022-05-21 20:05:34 +03:00
Alexander Batalov 98c6acbf11 Convert to C++ 2022-05-21 18:22:03 +03:00
Alexander Batalov 2d5cb4061d Fix game dialog window position
See #3
2022-05-21 14:04:50 +03:00
Jan Šimek feaa8f639b
Fix credits window position (#4)
* Rename variables and match coding style
* Fix character selection position
* Fix credits position

See #3
2022-05-21 14:00:30 +03:00
Alexander Batalov 44a72c6b2b Fix character editor window position
See #3
2022-05-21 13:17:51 +03:00
Alexander Batalov 17cca452bb Fix pause window position
See #3
2022-05-21 11:40:54 +03:00
Alexander Batalov 4f20671d82 Fix preferences window position
See #3
2022-05-21 11:34:11 +03:00
Alexander Batalov 1431a1951b Fix dialog box position
See #3
2022-05-21 11:23:43 +03:00
Alexander Batalov 78e8adbecb Maintain skilldex window relative position 2022-05-21 11:02:34 +03:00
Alexander Batalov e907e3d729 Fix mouseHitTestInWindow declaration 2022-05-21 03:27:41 +03:00
Alexander Batalov f60b8eecfd Fix worldmap window position
See #3
2022-05-21 03:25:03 +03:00
Alexander Batalov 9d53098427 Fix skilldex window position
See #3
2022-05-21 03:10:45 +03:00
Alexander Batalov 227bd81fda Fix called shot window position
See #3
2022-05-21 03:05:43 +03:00
Alexander Batalov f556b7ba2d Fix elevator window position 2022-05-21 02:43:06 +03:00
Alexander Batalov ac3f8dacaa Fix options position
See #3
2022-05-21 02:35:18 +03:00
Alexander Batalov 73d624a46c Fix pipboy position
See #3
2022-05-21 02:29:59 +03:00
Alexander Batalov 6c4927b129 Fix automap position
See #3
2022-05-21 01:56:07 +03:00
Alexander Batalov 0893467f08 Fix indicator bar position
See #3
2022-05-21 01:50:14 +03:00
Jan Šimek 7495659fc0
Fix interface bar position when using custom resolution (#2)
See #3
2022-05-21 01:37:05 +03:00
Alexander Batalov 4e7489e105 Fix to prevent corpses from blocking line of fire 2022-05-20 11:10:56 +03:00
Alexander Batalov d336a84e20 Fix party member equipped item after level up 2022-05-20 11:06:19 +03:00
Alexander Batalov 01561a76b2 Fix death screen speech playback 2022-05-20 11:02:31 +03:00
Alexander Batalov 4779422285 Fix music volume when entering dialog 2022-05-20 10:58:35 +03:00
Alexander Batalov 9b40ef4675 Fix dangling player name in dialog review 2022-05-20 10:56:04 +03:00
Alexander Batalov 7db7a9afe2 Fix execution of scripts when playing movies 2022-05-20 10:43:35 +03:00
Alexander Batalov 8fd7a540e3 Limit knockdown distance 2022-05-20 10:39:55 +03:00
Alexander Batalov 6e4f7e6c8c Fix obstacle flags for ranged attacks 2022-05-20 10:38:01 +03:00
Alexander Batalov 7b98bc76e2 Fix potential crash in opCreateObject 2022-05-20 10:31:24 +03:00
Alexander Batalov ac9293c3d5 Fix adding items on critters with barter flag 2022-05-20 10:30:04 +03:00
Alexander Batalov cdafe0c654 Fix music in loading screen 2022-05-20 10:27:35 +03:00
Alexander Batalov 5e82f600af Fix text objects limit 2022-05-20 10:18:50 +03:00
Alexander Batalov 8565a55540 Convert low-level rendering to SDL 2022-05-19 14:01:17 +03:00
Alexander Batalov 55661742a2 Initial commit 2022-05-19 11:51:26 +03:00