Commit Graph

42 Commits

Author SHA1 Message Date
iProgramInCpp
919e4d8625 * Move client/common/ and client/network/ into common/ and network/ respectively. 2023-08-19 10:05:48 +03:00
iProgramInCpp
a08478d527 * Slight refactor to the resize code. 2023-08-17 11:44:24 +03:00
iProgramInCpp
2da5c2e2fe * Add clouds! (optional feature) 2023-08-13 20:38:52 +03:00
iProgramInCpp
34fc30f08a * Outline all the Mouse and Keyboard code. 2023-08-11 11:19:26 +03:00
iProgramInCpp
d1de430d14 * Add optional 3d panorama background 2023-08-11 00:13:06 +03:00
f
ac4369f5b2 Fix memory leak in SoundSystemWindows (#47)
* Fix memory leak in SoundSystemWindows

Add functionality to release LPDIRECTSOUND3DBUFFER8 when sound finished playing.

* Update minecraftcpp.vcxproj

same mistake again
2023-08-10 10:05:13 +03:00
iProgramInCpp
c445c255a3 * Fix bad soundbuffer release check in the SoundSystemWindows 2023-08-09 23:12:07 +03:00
iProgramInCpp
df47842c5e * Add PatchManager - Allows you to patch terrain.png and items.png on the fly.
This can be used for modding, since you don't need to share copyrighted Mojang assets alongside your texture patches.
2023-08-09 22:13:04 +03:00
iProgramInCpp
a7f56c5581 * Change options.txt separator from '|' to ':'.
* Move FireTexture.cpp into the correct filter.
2023-08-09 18:44:49 +03:00
Brent
a0f71c7b27 C++03 Support & Partial Xbox 360 Support (#37)
* WIP C++03 + Xbox 360 Support

* math.h & _USE_MATH_DEFINES on Level.hpp
Updated Xenon vcxproj file for new file structure.

* * Fix bad GUI scale setup.

* * Gui: Use ratios instead of hardcoded sub-1 floating point values, to make the mechanism more clear.

* Add Direct Connect Button and Screen (#30)

* Add Direct Connect Button and Screen

* Remove accidental extra build directories for wasm

* Add DirectConnectScreen.cpp to the CMake

* Use Hungarian coding style notation

* * Fix errors caused by #30

* * Improve the Chat Screen

* * Improve the DirectConnectScreen, among other things.

* * Update the game title once again.

* * Add build-wasm.bat.

* * Add info about compiling for wasm

* * Fix send to specific GUID actually broadcasting to everyone

* * Add command manager.

* * Add writeable configuration.

* * Allow dynamic screen size change on windows

* * Allow the same thing on the emscripten version.

* WIP C++03 + Xbox 360 Support

* Fixed a possible merging issue that broke RakNet?

* Additional Xbox 360 compatability fixes

---------

Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
Co-authored-by: ts <124226059+uniformization@users.noreply.github.com>
2023-08-07 15:48:52 +03:00
iProgramInCpp
88d68cf21e * Allow dynamic screen size change on windows 2023-08-06 22:45:15 +03:00
iProgramInCpp
9ef72164bb * Add writeable configuration. 2023-08-06 22:21:18 +03:00
iProgramInCpp
e7a520ba34 * Update the game title once again. 2023-08-06 14:03:33 +03:00
iProgramInCpp
554c971c05 x 2023-08-05 22:17:24 +03:00
f
eaa90a6f95 * SoundSystemWindows: Fix low volume on 3D Sounds, remove useless calloc. (#27)
* SoundSystemWindows: Fix low volume on 3D Sounds, remove useless calloc.

Mojang made the volume on 3D sounds very quiet so i multiplied it by 5 and it seems to match better to the 2D sounds now. The calloc crap was not needed i dont know what i was thinking there

* Update minecraftcpp.vcxproj -- undoes an accidental change
2023-08-05 18:49:09 +03:00
iProgramInCpp
0ceef907c0 * Allow handling of WM_CHAR in the case of Windows. 2023-08-05 16:13:11 +03:00
iProgramInCpp
bfdd5beb75 * Fix include paths. Now it builds properly. 2023-08-05 15:34:07 +03:00
iProgramInCpp
3f8f7d7e00 * Make the game not run if a texture couldn't be loaded. 2023-08-02 23:18:46 +03:00
iProgramInCpp
cd777c1bb9 * Update game title. 2023-08-02 23:18:46 +03:00
iProgramInCpp
ec73b28e92 Merge branch 'master' into master 2023-08-02 14:05:02 +03:00
iProgramInCpp
b485071d00 * Unblock sound playback 2023-08-02 14:03:57 +03:00
iProgramInCpp
450cb190b6 * Finish level saving. 2023-08-02 13:15:25 +03:00
f
9bfec799e2 Improve and fix crash in SoundSystemWindows
Add 3D Sound Listener, Fix crash when DirectSound fails to initialize. Add second argument to setListenerAngle. Implement setListenerAngle and setListenerPos in Minecraft.cpp (Is this a good place to put it?)
2023-08-01 22:02:24 +02:00
iProgramInCpp
0cdc8e07fb Revert "Use DwmFlush to VSync instead of OpenGL VSync on supported OS" 2023-08-01 13:19:25 +03:00
Kleadron
79b4185324 Forgot to add WIN32_LEAN_AND_MEAN 2023-08-01 02:51:18 -07:00
Kleadron
10a2c09080 Merge remote-tracking branch 'upstream/master' into dwm-vsync 2023-08-01 02:46:30 -07:00
Kleadron
5535ef004c already did the todo 2023-08-01 02:37:11 -07:00
Kleadron
b4a685eba0 Add DWM VSync Code 2023-08-01 02:36:29 -07:00
iProgramInCpp
27b054a668 Merge pull request #11 from Kleadron/dsound-attenuation
DirectSound Attenuation
2023-08-01 12:15:40 +03:00
iProgramInCpp
7fd8c67f13 * Fix some more bugs. 2023-08-01 12:05:24 +03:00
iProgramInCpp
af11c5281c * Improve mouse grabbing.
This fixes a bug where the mouse would be restricted to the window after the level is loaded even if the window isn't focused.
2023-08-01 11:08:56 +03:00
Kleadron
40e54c2be8 Add 0-1 clamp and remove useless operations 2023-07-31 17:41:13 -07:00
Kleadron
63cd6a32f2 Add volume attenuation to SoundSystem_windows 2023-07-31 17:41:13 -07:00
iProgramInCpp
65406ef97e Fix sky rendering. 2023-07-31 22:25:58 +03:00
iProgramInCpp
47f9b45ac4 * Add support for an options file on Windows. 2023-07-31 18:28:10 +03:00
Parker Hawke
444bc4ae2e Add enhancement to support scroll wheel for inventory 2023-07-31 10:20:16 -04:00
iProgramInCpp
d757217844 Merge pull request #4 from Vruk11/master
Create screenshots folder if it doesn't exist
2023-07-31 15:54:35 +03:00
Vruk
cf6d27f123 Create screenshots folder if it doesn't exist
When taking a screenshot the windows implementation will now check for a folder to save to and create it if it does not exist

g_pApp->field_D58 is now g_pApp->m_externalStorageDir
2023-07-31 05:50:26 -07:00
iProgramInCpp
ea16d96a4c * Fix bad names in the PCM sound header. Audio now works well :) 2023-07-31 15:15:20 +03:00
f
311ab75ee4 Make windows soundsystem use GetHWND
made invisible window before, was not needed
2023-07-31 12:58:45 +02:00
f
ace9069077 Add windows soundsystem
Add Basic functionality to the playAt method only can play sounds in 2D.
2023-07-31 12:17:52 +02:00
iProgramInCpp
97dd5ff8e9 Move the Windows AppPlatform into its own folder. 2023-07-31 09:48:12 +03:00