1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-05 05:36:17 +00:00
Commit Graph

137 Commits

Author SHA1 Message Date
Zeno Rogue
d6c1f58adb texture:: textures were scrolled incorrectly after loading -> fixed 2018-08-04 11:15:48 +02:00
Zeno Rogue
958c5e5a4b no HUD when texture saving 2018-08-03 10:48:40 +02:00
Zeno Rogue
50d4378af4 texture configs based on polygonal tilings now load correctly 2018-08-03 10:47:47 +02:00
Zeno Rogue
7c16a9a32a texture aura option 2018-08-03 10:47:20 +02:00
Zeno Rogue
7e1344a863 singletype patterns now can be remapped to irregular grids 2018-08-02 22:26:07 +02:00
Zeno Rogue
bd59b4e23a fixed singletype texture patterns 2018-08-02 22:25:08 +02:00
Zeno Rogue
4ae3733659 fix a potential crash bug 2018-07-27 22:14:46 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
f699f73f1a texture:: undo clears pixels_to_draw; the number of pixels_to_draw displayed in the editor 2018-06-17 12:06:01 +02:00
Zeno Rogue
3881a7dd97 more cleanup with uniformizing the keys for 'back' and 'help' 2018-06-13 00:00:01 +02:00
Zeno Rogue
56baba800b moved more includes to sysconfig.h 2018-06-12 23:10:20 +02:00
Zeno Rogue
a40d64a8f6 namespaces conform to an older standard 2018-06-11 18:00:40 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
d3662a935d fix compiler warnings: catch(out_of_range&) 2018-06-07 13:58:00 +02:00
Zeno Rogue
530c689c98 RogueViz fixes 2018-05-18 17:34:12 +02:00
Zeno Rogue
6a7a150028 CAP_TEXTURE without CAP_EDIT, CAP_CONFIG and CAP_PNG (still seems not correct, though) 2018-05-15 23:29:09 +02:00
Zeno Rogue
666ddb007e MAJOR REWRITE of floor patterns 2018-05-07 20:13:56 +02:00
Zeno Rogue
c721851db1 general non-special-floor cleanup; standard and full floors are now perfect in gp 2018-05-04 02:46:44 +02:00
Zeno Rogue
09adfbdc45 texture:: fixed some problems with saving 2018-05-03 12:43:05 +02:00
Zeno Rogue
920a3a91fd fixed the 'cancel texture' option 2018-05-03 12:15:58 +02:00
Zeno Rogue
43a22ca135 texture:: fixed some situations where texture where not remapped after changing parameters 2018-05-03 12:15:48 +02:00
Zeno Rogue
02ae1b442a spherical textures in cylindrical projections are now read in a better way 2018-04-18 20:57:25 +02:00
Zeno Rogue
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05:23 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
1da55d2175 whirl:: textures:: fixed inner spherical models 2018-04-06 12:47:35 +02:00
Zeno Rogue
e26f3f77b1 'cancel texture' actually cancels now 2018-04-06 12:20:52 +02:00
Zeno Rogue
587619ad42 whirl:: texture:: remapping (currently by commandline only) 2018-04-06 00:40:53 +02:00
Zeno Rogue
a3479ae830 texture:: commandline remapping option -txremap 2018-04-06 00:39:02 +02:00
Zeno Rogue
925a3af3ad texture:: correct cell-matrices after remapping -- helps when going back to overlay 2018-04-06 00:38:37 +02:00
Zeno Rogue
26e2927ed2 texture:: fixed the slavecolor hotkey clash 2018-04-06 00:34:33 +02:00
Zeno Rogue
951e00531b fixed texture remapping (was buggy -- texture_map_orig did not know tvertices 2018-04-06 00:34:09 +02:00
Zeno Rogue
d3c9bfdd92 improved the quality of 3D models from conformal menu 2018-03-24 15:15:30 +01:00
Zeno Rogue
2c09c5ee56 structurized textures.cpp 2018-03-17 21:12:46 +01:00
Zeno Rogue
09b6bdf148 fixed the hotkey clash in texture adjustment menu 2018-02-26 13:20:03 +01:00
Zeno Rogue
882c837f00 fixed case fallthroughs in texture adjustment 2018-02-26 13:19:50 +01:00
Zeno Rogue
920e295c3c fixed texture load-on-save 2018-02-20 22:12:54 +01:00
Zeno Rogue
c8d655184b when loading textures in the texture mode, you can now tune individual triangles 2018-02-13 23:25:44 +01:00
Zeno Rogue
f0bb13e17c magic texture adjustment: fixed the algorithm 2018-02-12 13:38:03 +01:00
Zeno Rogue
1b3de574a9 magic texture adjustment: fixed the names of parameters; added texture position X/Y 2018-02-12 13:37:38 +01:00
Zeno Rogue
cab8a0a38f Works online now! 2018-02-11 19:08:17 +01:00
Zeno Rogue
120797d7ce uniformizing vertex attribute arrays 2018-02-09 01:46:14 +01:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
4966bde3d4 started work on shaders.cpp 2018-02-09 00:29:20 +01:00
Zeno Rogue
b3f047ea6a reworked 3D vision 2018-02-03 13:41:49 +01:00
Zeno Rogue
33ebed2cf3 changed the way of marking the master triangles 2018-02-01 14:31:17 +01:00
Zeno Rogue
8ce3e6f703 refactored texture mapping -- can change the texture precision when already active now 2018-02-01 13:45:08 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
86f1a4dead More porting. 2018-01-05 19:05:41 +01:00
Zeno Rogue
0dd5ed1505 made the code compile with C++11 (not requiring C++14) 2018-01-05 17:18:37 +01:00
Zeno Rogue
6479ddb73d Texts written/translated for 10.3 2018-01-04 20:05:34 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
3412a50b3d line/circle tools added to the texture editor; grid color changing in texture editor 2018-01-04 12:25:02 +01:00
Zeno Rogue
e0d4932c7a polished texture loading a bit; fixed PNG colors; added some help 2018-01-03 01:58:44 +01:00
Zeno Rogue
6745867dd2 saving viewcenter in texture config 2018-01-03 01:21:38 +01:00
Zeno Rogue
46f8ce200b enhancement to magic adjustment 2018-01-03 01:05:03 +01:00
Zeno Rogue
44b26d7de0 more responsible texture drawing 2017-12-30 17:01:53 +01:00
Zeno Rogue
11569c693d big change: more configuration for the torus (and also Klein bottle) 2017-12-28 16:46:10 +01:00
Zeno Rogue
ae70662495 moving the screen center 2017-12-25 10:26:50 +01:00
Zeno Rogue
3604fa9a73 add model, yshift and camera to texture saveconfig 2017-12-22 22:52:13 +01:00
Zeno Rogue
dd108cde6b symmetric texture editing 2017-12-22 21:57:55 +01:00
Zeno Rogue
8a97571cb4 renamed ZZ to qpixel_pixel_outside 2017-12-22 21:24:08 +01:00
Zeno Rogue
4bee0c85a7 undo in texture editor 2017-12-22 20:59:04 +01:00
Zeno Rogue
94487a9ae4 default coloralpha 128; changed some texts; fixed changing slave color 2017-12-22 01:24:53 +01:00
Zeno Rogue
4287355c11 fixed the rendering of textured spheres 2017-12-21 14:59:16 +01:00
Zeno Rogue
f7b5a1b44f save full texture images 2017-12-21 14:05:07 +01:00
Zeno Rogue
977d35bc8d added texture/ to default dirs in textures.cpp 2017-12-21 13:04:35 +01:00
Zeno Rogue
789fbdb8b9 Saving raw textures 2017-12-21 12:58:36 +01:00
Zeno Rogue
16ea486992 renamed text 2017-12-21 12:02:15 +01:00
Zeno Rogue
62f927b69a removed debug from texture remapping 2017-12-21 12:01:47 +01:00
Zeno Rogue
91adb393b3 reads images using libpng now (SDL_image available as optional compilation flag) 2017-12-21 12:00:34 +01:00
Zeno Rogue
57a5337b9f CAP_TEXTURE can be off; right-size textures loaded without scaling; SPF_FULLSYM 2017-12-21 11:36:07 +01:00
Zeno Rogue
d0a925a8ca translating textures to a more general type 2017-12-19 16:40:24 +01:00
Zeno Rogue
49bd1a0b2b a menu for changing pattern geometries 2017-12-19 14:35:34 +01:00
Zeno Rogue
168d35cb17 drawing textures without OpenGL 2017-12-19 00:39:11 +01:00
Zeno Rogue
e5c22834fe texture editing improved 2017-12-18 23:42:08 +01:00
Zeno Rogue
3e0f751a2c texture editing 2017-12-18 00:24:56 +01:00
Zeno Rogue
e50ee323e8 default texture name 2017-12-16 15:59:31 +01:00
Zeno Rogue
bf24550e82 magic adjustment of textures 2017-12-16 09:03:50 +01:00
Zeno Rogue
e2080cd91e more intuitive file dialogs; texture config saving 2017-12-14 12:10:40 +01:00
Zeno Rogue
6c4538df69 further work on textures 2017-12-14 02:53:29 +01:00
Zeno Rogue
29d6624d32 fixed textures on the sphere 2017-12-09 20:01:50 +01:00
Zeno Rogue
9933f373d2 improvements to patterns; codenumbers also display directions 2017-12-09 08:06:41 +01:00
Zeno Rogue
4fa764c175 filedialog and infix moved from mapeditor.cpp to dialogs.cpp 2017-12-09 04:01:56 +01:00
Zeno Rogue
635d1f911c Refactoring: moved all the remaining pattern code from mapeditor to pattern2 2017-12-09 03:48:30 +01:00
Zeno Rogue
4ce1c45e4e fixes 2017-12-09 03:28:57 +01:00
Zeno Rogue
ecf631976f texture mode -- first commit 2017-12-09 02:20:10 +01:00